Skip to content

Commit

Permalink
feat(sdk): automated oas update
Browse files Browse the repository at this point in the history
  • Loading branch information
kong-apiops committed Oct 22, 2024
1 parent ce35b81 commit bed30f3
Showing 1 changed file with 26 additions and 56 deletions.
82 changes: 26 additions & 56 deletions api-specs/Konnect/v2/yaml/control-planes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -525,60 +525,6 @@ components:
additionalProperties: false
title: UpdateControlPlaneRequest
ControlPlane:
allOf:
- $ref: '#/components/schemas/ControlPlaneSummary'
- type: object
properties:
labels:
$ref: '#/components/schemas/Labels'
config:
description: CP configuration object for related access endpoints.
type: object
properties:
control_plane_endpoint:
description: Control Plane Endpoint.
type: string
format: url
example: 'https://acfe5f253f.cp0.konghq.com'
readOnly: true
telemetry_endpoint:
description: Telemetry Endpoint.
type: string
format: url
example: 'https://acfe5f253f.tp0.konghq.com'
readOnly: true
created_at:
description: An ISO-8604 timestamp representation of control plane creation date.
type: string
format: date-time
example: '2022-11-04T20:10:06.927Z'
readOnly: true
updated_at:
description: An ISO-8604 timestamp representation of control plane update date.
type: string
format: date-time
example: '2022-11-04T20:10:06.927Z'
readOnly: true
x-examples:
Example 1:
id: 7f9fd312-a987-4628-b4c5-bb4f4fddd5f7
name: Test Control Plane
description: A test control plane for exploration.
labels:
env: test
config:
control_plane_endpoint: 'https://acfe5f253f.cp0.konghq.com'
telemetry_endpoint: 'https://acfe5f253f.tp0.konghq.com'
cluster_type: CLUSTER_TYPE_CONTROL_PLANE
auth_type: pinned_client_certs
cloud_gateway: false
proxy_urls:
- host: example.com
port: 443
protocol: https
created_at: '2022-11-04T20:10:06.927Z'
updated_at: '2022-11-04T20:10:06.927Z'
ControlPlaneSummary:
description: The control plane object contains information about a Kong control plane.
type: object
properties:
Expand Down Expand Up @@ -647,13 +593,37 @@ components:
- auth_type
- cloud_gateway
created_at:
description: An ISO-8604 timestamp representation of control plane creation date.
type: string
format: date-time
example: '2022-11-04T20:10:06.927Z'
readOnly: true
updated_at:
description: An ISO-8604 timestamp representation of control plane update date.
type: string
format: date-time
example: '2022-11-04T20:10:06.927Z'
readOnly: true
additionalProperties: false
title: ControlPlaneSummary
x-examples:
Example 1:
id: 7f9fd312-a987-4628-b4c5-bb4f4fddd5f7
name: Test Control Plane
description: A test control plane for exploration.
labels:
env: test
config:
control_plane_endpoint: 'https://acfe5f253f.cp0.konghq.com'
telemetry_endpoint: 'https://acfe5f253f.tp0.konghq.com'
cluster_type: CLUSTER_TYPE_CONTROL_PLANE
auth_type: pinned_client_certs
cloud_gateway: false
proxy_urls:
- host: example.com
port: 443
protocol: https
created_at: '2022-11-04T20:10:06.927Z'
updated_at: '2022-11-04T20:10:06.927Z'
GroupStatus:
description: The Group Status object contains information about the status of a control plane group.
type: object
Expand Down Expand Up @@ -1551,7 +1521,7 @@ components:
description: Array of control planes summary who are a child to this control plane group.
type: array
items:
$ref: '#/components/schemas/ControlPlaneSummary'
$ref: '#/components/schemas/ControlPlane'
examples:
List Group Memberships Example:
$ref: '#/components/examples/ListGroupMembershipsExample'
Expand Down

0 comments on commit bed30f3

Please sign in to comment.