From 38d522bce7d19ab3e33219080862ec7406ac2e13 Mon Sep 17 00:00:00 2001 From: Sam Gunaratne Date: Fri, 22 Aug 2025 11:57:57 -0600 Subject: [PATCH 1/2] More wiretap improvements --- .../cf/latest/components/schemas/ServiceBrokerCreate.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/apis/cf/latest/components/schemas/ServiceBrokerCreate.yaml b/apis/cf/latest/components/schemas/ServiceBrokerCreate.yaml index 6159892..e67ec6a 100644 --- a/apis/cf/latest/components/schemas/ServiceBrokerCreate.yaml +++ b/apis/cf/latest/components/schemas/ServiceBrokerCreate.yaml @@ -1,5 +1,13 @@ type: object properties: + metadata: + $ref: './Metadata.yaml' + relationships: + type: object + properties: + space: + $ref: './RelationshipToOne.yaml' + description: Relationships for the service broker name: type: string description: Name of the service broker From 24e74a4f5760569e42bde6da97dd4a87350bdf51 Mon Sep 17 00:00:00 2001 From: Sam Gunaratne Date: Fri, 22 Aug 2025 13:15:45 -0600 Subject: [PATCH 2/2] Move create/update schemas under requestBodies --- .../DropletCreateRequestBody.yaml | 2 + .../ManagedServiceInstanceUpdate.yaml | 25 ++++++++ .../requestBodies/RouteCreateRequestBody.yaml | 2 + .../requestBodies/ServiceBrokerCreate.yaml | 45 +++++++++++++ .../requestBodies/SidecarCreate.yaml | 21 +++++++ .../components/requestBodies/SpaceCreate.yaml | 20 ++++++ .../requestBodies/SpaceQuotaCreate.yaml | 63 +++++++++++++++++++ .../requestBodies/SpaceQuotaUpdate.yaml | 53 ++++++++++++++++ .../components/requestBodies/UserCreate.yaml | 14 ++++- .../UserProvidedServiceInstanceUpdate.yaml | 27 ++++++++ .../components/requestBodies/UserUpdate.yaml | 20 +++++- .../schemas/ManagedServiceInstanceUpdate.yaml | 22 ------- .../schemas/ServiceBrokerCreate.yaml | 30 --------- .../components/schemas/SidecarCreate.yaml | 16 ----- .../components/schemas/SpaceCreate.yaml | 16 ----- .../components/schemas/SpaceQuotaCreate.yaml | 59 ----------------- .../components/schemas/SpaceQuotaUpdate.yaml | 49 --------------- .../latest/components/schemas/UserCreate.yaml | 32 ---------- .../UserProvidedServiceInstanceUpdate.yaml | 24 ------- .../latest/components/schemas/UserUpdate.yaml | 19 ------ apis/cf/latest/openapi.yaml | 16 +++-- apis/cf/latest/paths/ServiceBrokers.yaml | 5 +- apis/cf/latest/paths/Sidecars.yaml | 5 +- apis/cf/latest/paths/SpaceQuotas.yaml | 10 +-- 24 files changed, 306 insertions(+), 289 deletions(-) create mode 100644 apis/cf/latest/components/requestBodies/ManagedServiceInstanceUpdate.yaml create mode 100644 apis/cf/latest/components/requestBodies/ServiceBrokerCreate.yaml create mode 100644 apis/cf/latest/components/requestBodies/SidecarCreate.yaml create mode 100644 apis/cf/latest/components/requestBodies/SpaceCreate.yaml create mode 100644 apis/cf/latest/components/requestBodies/SpaceQuotaCreate.yaml create mode 100644 apis/cf/latest/components/requestBodies/SpaceQuotaUpdate.yaml create mode 100644 apis/cf/latest/components/requestBodies/UserProvidedServiceInstanceUpdate.yaml delete mode 100644 apis/cf/latest/components/schemas/ManagedServiceInstanceUpdate.yaml delete mode 100644 apis/cf/latest/components/schemas/ServiceBrokerCreate.yaml delete mode 100644 apis/cf/latest/components/schemas/SidecarCreate.yaml delete mode 100644 apis/cf/latest/components/schemas/SpaceCreate.yaml delete mode 100644 apis/cf/latest/components/schemas/SpaceQuotaCreate.yaml delete mode 100644 apis/cf/latest/components/schemas/SpaceQuotaUpdate.yaml delete mode 100644 apis/cf/latest/components/schemas/UserCreate.yaml delete mode 100644 apis/cf/latest/components/schemas/UserProvidedServiceInstanceUpdate.yaml delete mode 100644 apis/cf/latest/components/schemas/UserUpdate.yaml diff --git a/apis/cf/latest/components/requestBodies/DropletCreateRequestBody.yaml b/apis/cf/latest/components/requestBodies/DropletCreateRequestBody.yaml index a1dfbae..8113534 100644 --- a/apis/cf/latest/components/requestBodies/DropletCreateRequestBody.yaml +++ b/apis/cf/latest/components/requestBodies/DropletCreateRequestBody.yaml @@ -16,6 +16,8 @@ content: process_types: type: object description: Process names and start commands for the droplet + metadata: + $ref: '../schemas/Metadata.yaml' required: - relationships description: Request schema for creating a droplet diff --git a/apis/cf/latest/components/requestBodies/ManagedServiceInstanceUpdate.yaml b/apis/cf/latest/components/requestBodies/ManagedServiceInstanceUpdate.yaml new file mode 100644 index 0000000..f781183 --- /dev/null +++ b/apis/cf/latest/components/requestBodies/ManagedServiceInstanceUpdate.yaml @@ -0,0 +1,25 @@ +description: Managed service instance to update +content: + application/json: + schema: + type: object + properties: + name: + type: string + description: Name of the service instance + tags: + type: array + items: + type: string + description: Tags for the service instance + parameters: + type: object + description: Parameters for the service instance + relationships: + type: object + properties: + service_plan: + $ref: '../schemas/RelationshipToOne.yaml' + description: Relationships for the service instance + metadata: + $ref: '../schemas/Metadata.yaml' diff --git a/apis/cf/latest/components/requestBodies/RouteCreateRequestBody.yaml b/apis/cf/latest/components/requestBodies/RouteCreateRequestBody.yaml index 0abb124..61a60fb 100644 --- a/apis/cf/latest/components/requestBodies/RouteCreateRequestBody.yaml +++ b/apis/cf/latest/components/requestBodies/RouteCreateRequestBody.yaml @@ -22,5 +22,7 @@ content: space: $ref: '../schemas/RelationshipToOne.yaml' description: A relationship to the space containing the route; routes can only be mapped to destinations in that space + metadata: + $ref: '../schemas/Metadata.yaml' required: - relationships diff --git a/apis/cf/latest/components/requestBodies/ServiceBrokerCreate.yaml b/apis/cf/latest/components/requestBodies/ServiceBrokerCreate.yaml new file mode 100644 index 0000000..64e1c2c --- /dev/null +++ b/apis/cf/latest/components/requestBodies/ServiceBrokerCreate.yaml @@ -0,0 +1,45 @@ +description: Service broker to create +content: + application/json: + schema: + type: object + properties: + name: + type: string + description: Name of the service broker + url: + type: string + format: uri + description: URL of the service broker + authentication: + type: object + properties: + type: + type: string + enum: [basic] + description: Type of authentication + credentials: + type: object + properties: + username: + type: string + password: + type: string + required: + - username + - password + required: + - type + - credentials + description: Authentication details for the service broker + relationships: + type: object + properties: + space: + $ref: '../schemas/RelationshipToOne.yaml' + description: Relationships for the service broker + metadata: + $ref: '../schemas/Metadata.yaml' + required: + - name + - url diff --git a/apis/cf/latest/components/requestBodies/SidecarCreate.yaml b/apis/cf/latest/components/requestBodies/SidecarCreate.yaml new file mode 100644 index 0000000..82ac7c4 --- /dev/null +++ b/apis/cf/latest/components/requestBodies/SidecarCreate.yaml @@ -0,0 +1,21 @@ +description: Sidecar to create +content: + application/json: + schema: + type: object + properties: + name: + type: string + description: Name of the sidecar + command: + type: string + description: Command to run for the sidecar + process_types: + type: array + items: + type: string + description: Process types that the sidecar applies to + memory_in_mb: + type: integer + description: Memory limit for the sidecar in MB + diff --git a/apis/cf/latest/components/requestBodies/SpaceCreate.yaml b/apis/cf/latest/components/requestBodies/SpaceCreate.yaml new file mode 100644 index 0000000..25e92a5 --- /dev/null +++ b/apis/cf/latest/components/requestBodies/SpaceCreate.yaml @@ -0,0 +1,20 @@ +description: Space to create +content: + application/json: + schema: + type: object + properties: + name: + type: string + description: Name of the space + relationships: + type: object + properties: + organization: + $ref: '../schemas/RelationshipToOne.yaml' + description: The organization that the space belongs to + metadata: + $ref: '../schemas/Metadata.yaml' + required: + - name + - relationships diff --git a/apis/cf/latest/components/requestBodies/SpaceQuotaCreate.yaml b/apis/cf/latest/components/requestBodies/SpaceQuotaCreate.yaml new file mode 100644 index 0000000..5f82546 --- /dev/null +++ b/apis/cf/latest/components/requestBodies/SpaceQuotaCreate.yaml @@ -0,0 +1,63 @@ +description: Space quota to create +content: + application/json: + schema: + type: object + properties: + name: + type: string + description: Name of the space quota + apps: + type: object + properties: + total_memory_in_mb: + type: integer + description: Total memory allowed for all apps in MB + per_process_memory_in_mb: + type: integer + description: Maximum memory per process in MB + log_rate_limit_in_bytes_per_second: + type: integer + description: Log rate limit in bytes per second + total_instances: + type: integer + description: Total number of app instances allowed + per_app_tasks: + type: integer + description: Maximum number of tasks per app + description: App limits for the space quota + services: + type: object + properties: + paid_services_allowed: + type: boolean + description: Whether paid services are allowed + total_service_instances: + type: integer + description: Total number of service instances allowed + total_service_keys: + type: integer + description: Total number of service keys allowed + description: Service limits for the space quota + routes: + type: object + properties: + total_routes: + type: integer + description: Total number of routes allowed + total_reserved_ports: + type: integer + description: Total number of reserved ports allowed + description: Route limits for the space quota + relationships: + type: object + properties: + organization: + $ref: '../schemas/RelationshipToOne.yaml' + spaces: + $ref: '../schemas/RelationshipToMany.yaml' + description: Relationships for the space quota + metadata: + $ref: '../schemas/Metadata.yaml' + required: + - name diff --git a/apis/cf/latest/components/requestBodies/SpaceQuotaUpdate.yaml b/apis/cf/latest/components/requestBodies/SpaceQuotaUpdate.yaml new file mode 100644 index 0000000..fcbd6a3 --- /dev/null +++ b/apis/cf/latest/components/requestBodies/SpaceQuotaUpdate.yaml @@ -0,0 +1,53 @@ +description: Space quota to update +content: + application/json: + schema: + type: object + properties: + name: + type: string + description: Name of the space quota + apps: + type: object + properties: + total_memory_in_mb: + type: integer + description: Total memory allowed for all apps in MB + per_process_memory_in_mb: + type: integer + description: Maximum memory per process in MB + log_rate_limit_in_bytes_per_second: + type: integer + description: Log rate limit in bytes per second + total_instances: + type: integer + description: Total number of app instances allowed + per_app_tasks: + type: integer + description: Maximum number of tasks per app + description: App limits for the space quota + services: + type: object + properties: + paid_services_allowed: + type: boolean + description: Whether paid services are allowed + total_service_instances: + type: integer + description: Total number of service instances allowed + total_service_keys: + type: integer + description: Total number of service keys allowed + description: Service limits for the space quota + routes: + type: object + properties: + total_routes: + type: integer + description: Total number of routes allowed + total_reserved_ports: + type: integer + description: Total number of reserved ports allowed + description: Route limits for the space quota + metadata: + $ref: '../schemas/Metadata.yaml' \ No newline at end of file diff --git a/apis/cf/latest/components/requestBodies/UserCreate.yaml b/apis/cf/latest/components/requestBodies/UserCreate.yaml index 23e3737..80d962b 100644 --- a/apis/cf/latest/components/requestBodies/UserCreate.yaml +++ b/apis/cf/latest/components/requestBodies/UserCreate.yaml @@ -2,4 +2,16 @@ description: User to create content: application/json: schema: - $ref: '../schemas/UserCreate.yaml' + type: object + properties: + guid: + type: string + description: Unique identifier for the user + username: + type: string + description: Username of the user to be created. This can only be provided together with origin + origin: + type: string + description: Origin of the user to be created. This can only be provided together with username and cannot be uaa + metadata: + $ref: '../schemas/Metadata.yaml' diff --git a/apis/cf/latest/components/requestBodies/UserProvidedServiceInstanceUpdate.yaml b/apis/cf/latest/components/requestBodies/UserProvidedServiceInstanceUpdate.yaml new file mode 100644 index 0000000..9d5fa5c --- /dev/null +++ b/apis/cf/latest/components/requestBodies/UserProvidedServiceInstanceUpdate.yaml @@ -0,0 +1,27 @@ +description: User provided service instance to update +content: + application/json: + schema: + type: object + properties: + name: + type: string + description: Name of the service instance + tags: + type: array + items: + type: string + description: Tags for the service instance + credentials: + type: object + description: Service credentials + syslog_drain_url: + type: string + format: uri + description: URL for syslog drain + route_service_url: + type: string + format: uri + description: URL for route service + metadata: + $ref: '../schemas/Metadata.yaml' diff --git a/apis/cf/latest/components/requestBodies/UserUpdate.yaml b/apis/cf/latest/components/requestBodies/UserUpdate.yaml index 5696353..b3164e2 100644 --- a/apis/cf/latest/components/requestBodies/UserUpdate.yaml +++ b/apis/cf/latest/components/requestBodies/UserUpdate.yaml @@ -2,4 +2,22 @@ description: User to update content: application/json: schema: - $ref: '../schemas/UserUpdate.yaml' + type: object + properties: + username: + type: string + description: The username of the user + presentation_name: + type: string + description: The presentation name of the user + origin: + type: string + description: The origin of the user + metadata: + $ref: '../schemas/Metadata.yaml' + links: + type: object + properties: + self: + $ref: '../schemas/Link.yaml' + description: The URL to get this user diff --git a/apis/cf/latest/components/schemas/ManagedServiceInstanceUpdate.yaml b/apis/cf/latest/components/schemas/ManagedServiceInstanceUpdate.yaml deleted file mode 100644 index ce70490..0000000 --- a/apis/cf/latest/components/schemas/ManagedServiceInstanceUpdate.yaml +++ /dev/null @@ -1,22 +0,0 @@ -type: object -properties: - name: - type: string - description: Name of the service instance - tags: - type: array - items: - type: string - description: Tags for the service instance - parameters: - type: object - description: Parameters for the service instance - relationships: - type: object - properties: - service_plan: - $ref: './RelationshipToOne.yaml' - description: Relationships for the service instance - metadata: - $ref: './Metadata.yaml' -description: Schema for updating a managed service instance diff --git a/apis/cf/latest/components/schemas/ServiceBrokerCreate.yaml b/apis/cf/latest/components/schemas/ServiceBrokerCreate.yaml deleted file mode 100644 index e67ec6a..0000000 --- a/apis/cf/latest/components/schemas/ServiceBrokerCreate.yaml +++ /dev/null @@ -1,30 +0,0 @@ -type: object -properties: - metadata: - $ref: './Metadata.yaml' - relationships: - type: object - properties: - space: - $ref: './RelationshipToOne.yaml' - description: Relationships for the service broker - name: - type: string - description: Name of the service broker - url: - type: string - format: uri - description: URL of the service broker - authentication: - type: object - properties: - type: - type: string - enum: [basic] - credentials: - type: object - properties: - username: - type: string - password: - type: string diff --git a/apis/cf/latest/components/schemas/SidecarCreate.yaml b/apis/cf/latest/components/schemas/SidecarCreate.yaml deleted file mode 100644 index b8d7f7f..0000000 --- a/apis/cf/latest/components/schemas/SidecarCreate.yaml +++ /dev/null @@ -1,16 +0,0 @@ -type: object -properties: - name: - type: string - description: Name of the sidecar - command: - type: string - description: Command to run for the sidecar - process_types: - type: array - items: - type: string - description: Process types that the sidecar applies to - memory_in_mb: - type: integer - description: Memory limit for the sidecar in MB diff --git a/apis/cf/latest/components/schemas/SpaceCreate.yaml b/apis/cf/latest/components/schemas/SpaceCreate.yaml deleted file mode 100644 index dbf006c..0000000 --- a/apis/cf/latest/components/schemas/SpaceCreate.yaml +++ /dev/null @@ -1,16 +0,0 @@ -type: object -properties: - name: - type: string - description: Name of the space - relationships: - type: object - properties: - organization: - $ref: './RelationshipToOne.yaml' - description: The organization that the space belongs to - metadata: - $ref: './Metadata.yaml' -required: - - name - - relationships diff --git a/apis/cf/latest/components/schemas/SpaceQuotaCreate.yaml b/apis/cf/latest/components/schemas/SpaceQuotaCreate.yaml deleted file mode 100644 index c797f90..0000000 --- a/apis/cf/latest/components/schemas/SpaceQuotaCreate.yaml +++ /dev/null @@ -1,59 +0,0 @@ -type: object -properties: - name: - type: string - description: Name of the space quota - apps: - type: object - properties: - total_memory_in_mb: - type: integer - description: Total memory allowed for all apps in MB - per_process_memory_in_mb: - type: integer - description: Maximum memory per process in MB - log_rate_limit_in_bytes_per_second: - type: integer - description: Log rate limit in bytes per second - total_instances: - type: integer - description: Total number of app instances allowed - per_app_tasks: - type: integer - description: Maximum number of tasks per app - description: App limits for the space quota - services: - type: object - properties: - paid_services_allowed: - type: boolean - description: Whether paid services are allowed - total_service_instances: - type: integer - description: Total number of service instances allowed - total_service_keys: - type: integer - description: Total number of service keys allowed - description: Service limits for the space quota - routes: - type: object - properties: - total_routes: - type: integer - description: Total number of routes allowed - total_reserved_ports: - type: integer - description: Total number of reserved ports allowed - description: Route limits for the space quota - relationships: - type: object - properties: - organization: - $ref: ./RelationshipToOne.yaml - spaces: - $ref: ./RelationshipToMany.yaml - description: Relationships for the space quota - metadata: - $ref: ./Metadata.yaml -required: - - name diff --git a/apis/cf/latest/components/schemas/SpaceQuotaUpdate.yaml b/apis/cf/latest/components/schemas/SpaceQuotaUpdate.yaml deleted file mode 100644 index e271e1d..0000000 --- a/apis/cf/latest/components/schemas/SpaceQuotaUpdate.yaml +++ /dev/null @@ -1,49 +0,0 @@ -type: object -properties: - name: - type: string - description: Name of the space quota - apps: - type: object - properties: - total_memory_in_mb: - type: integer - description: Total memory allowed for all apps in MB - per_process_memory_in_mb: - type: integer - description: Maximum memory per process in MB - log_rate_limit_in_bytes_per_second: - type: integer - description: Log rate limit in bytes per second - total_instances: - type: integer - description: Total number of app instances allowed - per_app_tasks: - type: integer - description: Maximum number of tasks per app - description: App limits for the space quota - services: - type: object - properties: - paid_services_allowed: - type: boolean - description: Whether paid services are allowed - total_service_instances: - type: integer - description: Total number of service instances allowed - total_service_keys: - type: integer - description: Total number of service keys allowed - description: Service limits for the space quota - routes: - type: object - properties: - total_routes: - type: integer - description: Total number of routes allowed - total_reserved_ports: - type: integer - description: Total number of reserved ports allowed - description: Route limits for the space quota - metadata: - $ref: ./Metadata.yaml diff --git a/apis/cf/latest/components/schemas/UserCreate.yaml b/apis/cf/latest/components/schemas/UserCreate.yaml deleted file mode 100644 index 99b0a90..0000000 --- a/apis/cf/latest/components/schemas/UserCreate.yaml +++ /dev/null @@ -1,32 +0,0 @@ -type: object -properties: - guid: - type: string - description: Unique identifier for the user - created_at: - type: string - format: date-time - description: The time with zone when the object was created - updated_at: - type: string - format: date-time - description: The time with zone when the object was last updated - username: - type: string - description: The username of the user - presentation_name: - type: string - description: The presentation name of the user - origin: - type: string - description: The origin of the user - metadata: - $ref: './Metadata.yaml' - links: - type: object - properties: - self: - $ref: './Link.yaml' - description: The URL to get this user -required: - - guid diff --git a/apis/cf/latest/components/schemas/UserProvidedServiceInstanceUpdate.yaml b/apis/cf/latest/components/schemas/UserProvidedServiceInstanceUpdate.yaml deleted file mode 100644 index 274fde5..0000000 --- a/apis/cf/latest/components/schemas/UserProvidedServiceInstanceUpdate.yaml +++ /dev/null @@ -1,24 +0,0 @@ -type: object -properties: - name: - type: string - description: Name of the service instance - tags: - type: array - items: - type: string - description: Tags for the service instance - credentials: - type: object - description: Service credentials - syslog_drain_url: - type: string - format: uri - description: URL for syslog drain - route_service_url: - type: string - format: uri - description: URL for route service - metadata: - $ref: './Metadata.yaml' -description: Schema for updating a user-provided service instance diff --git a/apis/cf/latest/components/schemas/UserUpdate.yaml b/apis/cf/latest/components/schemas/UserUpdate.yaml deleted file mode 100644 index 6a64453..0000000 --- a/apis/cf/latest/components/schemas/UserUpdate.yaml +++ /dev/null @@ -1,19 +0,0 @@ -type: object -properties: - username: - type: string - description: The username of the user - presentation_name: - type: string - description: The presentation name of the user - origin: - type: string - description: The origin of the user - metadata: - $ref: './Metadata.yaml' - links: - type: object - properties: - self: - $ref: './Link.yaml' - description: The URL to get this user diff --git a/apis/cf/latest/openapi.yaml b/apis/cf/latest/openapi.yaml index 0c68c1f..4334b69 100644 --- a/apis/cf/latest/openapi.yaml +++ b/apis/cf/latest/openapi.yaml @@ -210,10 +210,6 @@ components: $ref: './components/schemas/ManagedServiceInstance.yaml' UserProvidedServiceInstance: $ref: './components/schemas/UserProvidedServiceInstance.yaml' - ManagedServiceInstanceUpdate: - $ref: './components/schemas/ManagedServiceInstanceUpdate.yaml' - UserProvidedServiceInstanceUpdate: - $ref: './components/schemas/UserProvidedServiceInstanceUpdate.yaml' ServicePlanVisibility: $ref: './components/schemas/ServicePlanVisibility.yaml' ServiceRouteBinding: @@ -348,6 +344,18 @@ components: $ref: './components/requestBodies/UserCreate.yaml' UserUpdate: $ref: './components/requestBodies/UserUpdate.yaml' + ServiceBrokerCreate: + $ref: './components/requestBodies/ServiceBrokerCreate.yaml' + SpaceQuotaCreate: + $ref: './components/requestBodies/SpaceQuotaCreate.yaml' + SpaceQuotaUpdate: + $ref: './components/requestBodies/SpaceQuotaUpdate.yaml' + UserProvidedServiceInstanceUpdate: + $ref: './components/requestBodies/UserProvidedServiceInstanceUpdate.yaml' + ManagedServiceInstanceUpdate: + $ref: './components/requestBodies/ManagedServiceInstanceUpdate.yaml' + SidecarCreate: + $ref: './components/requestBodies/SidecarCreate.yaml' paths: /: $ref: './paths/Root.yaml#/' diff --git a/apis/cf/latest/paths/ServiceBrokers.yaml b/apis/cf/latest/paths/ServiceBrokers.yaml index f23b6c9..5bee9a2 100644 --- a/apis/cf/latest/paths/ServiceBrokers.yaml +++ b/apis/cf/latest/paths/ServiceBrokers.yaml @@ -43,10 +43,7 @@ tags: - Service Brokers requestBody: - content: - application/json: - schema: - $ref: '../components/schemas/ServiceBrokerCreate.yaml' + $ref: '../components/requestBodies/ServiceBrokerCreate.yaml' responses: '202': description: Accepted diff --git a/apis/cf/latest/paths/Sidecars.yaml b/apis/cf/latest/paths/Sidecars.yaml index 5041fd9..6050bb8 100644 --- a/apis/cf/latest/paths/Sidecars.yaml +++ b/apis/cf/latest/paths/Sidecars.yaml @@ -100,10 +100,7 @@ parameters: - $ref: '../components/parameters/Guid.yaml' requestBody: - content: - application/json: - schema: - $ref: '../components/schemas/SidecarCreate.yaml' + $ref: '../components/requestBodies/SidecarCreate.yaml' responses: '201': description: Created diff --git a/apis/cf/latest/paths/SpaceQuotas.yaml b/apis/cf/latest/paths/SpaceQuotas.yaml index fccc550..e56db71 100644 --- a/apis/cf/latest/paths/SpaceQuotas.yaml +++ b/apis/cf/latest/paths/SpaceQuotas.yaml @@ -55,10 +55,7 @@ tags: - Space Quotas requestBody: - content: - application/json: - schema: - $ref: ../components/schemas/SpaceQuotaCreate.yaml + $ref: ../components/requestBodies/SpaceQuotaCreate.yaml responses: '201': description: Created @@ -111,10 +108,7 @@ parameters: - $ref: ../components/parameters/Guid.yaml requestBody: - content: - application/json: - schema: - $ref: ../components/schemas/SpaceQuotaUpdate.yaml + $ref: ../components/requestBodies/SpaceQuotaUpdate.yaml responses: '200': description: OK