Skip to content

Commit

Permalink
chore(openapi): update kafka-mgmt/v1 OpenAPI document (#207)
Browse files Browse the repository at this point in the history
Co-authored-by: app-services-ci <app-services-ci@users.noreply.github.com>
  • Loading branch information
app-services-ci and app-services-ci authored Nov 5, 2021
1 parent 76c0267 commit 08bc0f8
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions .openapi/kas-fleet-manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ openapi: 3.0.0 # need this as first line to allow some IDEs to know this is an o
# All endpoints defined here will be discoverable by all users. If there is a need to keep some endpoints "private", add them to the "managed-services-api-private.yaml" file
info:
title: Kafka Service Fleet Manager
version: 1.1.3
version: 1.2.0
description: Kafka Service Fleet Manager is a Rest API to manage Kafka instances.
servers:
- url: https://api.openshift.com
Expand Down Expand Up @@ -850,6 +850,9 @@ components:
allOf:
- $ref: "#/components/schemas/ObjectReference"
- type: object
required:
- reauthentication_enabled
- multi_az
properties:
status:
description: "Values: [accepted, preparing, provisioning, ready, failed, deprovision, deleting] "
Expand Down Expand Up @@ -880,6 +883,8 @@ components:
type: string
instance_type:
type: string
reauthentication_enabled:
type: boolean
example:
$ref: "#/components/examples/KafkaRequestExample"
KafkaRequestList:
Expand Down Expand Up @@ -951,6 +956,10 @@ components:
region:
description: The region where the Kafka cluster will be created in
type: string
reauthentication_enabled:
description: Whether connection reauthentication is enabled or not. If set to true, connection reauthentication on the Kafka instance will be required every 5 minutes. The default value is true
type: boolean
nullable: true
CloudProviderList:
allOf:
- $ref: "#/components/schemas/List"
Expand Down Expand Up @@ -1183,13 +1192,16 @@ components:
required:
- value
KafkaUpdateRequest:
required:
- owner
type: object
properties:
# for now owner is the only supported field for update
owner:
type: string
nullable: true
reauthentication_enabled:
description: Whether connection reauthentication is enabled or not. If set to true, connection reauthentication on the Kafka instance will be required every 5 minutes.
type: boolean
nullable: true

parameters:
id:
Expand Down Expand Up @@ -1353,6 +1365,7 @@ components:
updated_at: "2020-10-05T12:56:36.362208Z"
version: "2.6.0"
instance_type: standard
reauthentication_enabled: true
KafkaRequestFailedCreationStatusExample:
value:
id: "1iSY6RQ3JKI8Q0OTmjQFd3ocFRg"
Expand All @@ -1369,6 +1382,7 @@ components:
updated_at: "2020-10-05T12:56:36.362208Z"
failed_reason: "a reason the Kafka request creation failed"
instance_type: standard
reauthentication_enabled: true
CloudProviderExample:
value:
kind: "CloudProvider"
Expand Down

0 comments on commit 08bc0f8

Please sign in to comment.