Skip to content

Commit

Permalink
chore(openapi): update kafka-mgmt/v1 OpenAPI document (#576)
Browse files Browse the repository at this point in the history
Co-authored-by: app-services-ci <[email protected]>
  • Loading branch information
app-services-ci and app-services-ci authored Oct 30, 2022
1 parent eefe85b commit 1c65e71
Showing 1 changed file with 20 additions and 17 deletions.
37 changes: 20 additions & 17 deletions .openapi/kas-fleet-manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1066,22 +1066,25 @@ components:
- $ref: "#/components/schemas/KafkaRequest"
VersionMetadata:
allOf:
- $ref: "#/components/schemas/ObjectReference"
- type: object
example:
kind: "APIVersion"
id: "v1"
href: "/api/kafkas_mgmt/v1"
collections:
- id: "kafkas"
href: "/api/kafkas_mgmt/v1/kafkas"
kind: "KafkaList"
properties:
collections:
type: array
items:
allOf:
- $ref: "#/components/schemas/ObjectReference"
- $ref: "#/components/schemas/ObjectReference"
- type: object
example:
kind: "APIVersion"
id: "v1"
href: "/api/kafkas_mgmt/v1"
server_version: "24a263e8631d713b3104c1a70c143644ab91de6f"
collections:
- id: "kafkas"
href: "/api/kafkas_mgmt/v1/kafkas"
kind: "KafkaList"
properties:
server_version:
type: string
collections:
type: array
items:
allOf:
- $ref: "#/components/schemas/ObjectReference"
KafkaRequestPayload:
description: Schema for the request body sent to /kafkas POST
required:
Expand Down Expand Up @@ -1966,4 +1969,4 @@ components:
for cluster id: 1g5d88q0lrcdv4g7alb7slfgnj3dhbsj%!(EXTRA *errors.Error=identifier
is '404', code is 'CLUSTERS-MGMT-404' and operation identifier is '1g5or50viu07oealuehrkc26dgftj1ac':
Cluster '1g5d88q0lrcdv4g7alb7slfgnj3dhbsj' not found)"
operation_id: "1iYTsWry6nsqb2sNmFj5bXpD7Ca"
operation_id: "1iYTsWry6nsqb2sNmFj5bXpD7Ca"

0 comments on commit 1c65e71

Please sign in to comment.