Skip to content

Commit e0d40f8

Browse files
fix(openapi): update kafka-mgmt/v1 OpenAPI document (#274)
Co-authored-by: app-services-ci <app-services-ci@users.noreply.github.com>
1 parent 5d8c3ac commit e0d40f8

1 file changed

Lines changed: 33 additions & 2 deletions

File tree

.openapi/kas-fleet-manager.yaml

Lines changed: 33 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ openapi: 3.0.0 # need this as first line to allow some IDEs to know this is an o
22
# 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
33
info:
44
title: Kafka Service Fleet Manager
5-
version: 1.5.0
5+
version: 1.6.0
66
description: Kafka Service Fleet Manager is a Rest API to manage Kafka instances.
77
servers:
88
- url: https://api.openshift.com
@@ -1114,6 +1114,9 @@ components:
11141114
id:
11151115
description: 'Unique identifier of this Kafka instance size.'
11161116
type: string
1117+
display_name:
1118+
description: 'Display name of this Kafka instance size.'
1119+
type: string
11171120
ingress_throughput_per_sec:
11181121
description: 'Maximum ingress throughput per second available to this Kafka instance size.'
11191122
type: object
@@ -1138,6 +1141,25 @@ components:
11381141
max_connection_attempts_per_sec:
11391142
description: 'Maximium connection attempts per second available to this Kafka instance size.'
11401143
type: integer
1144+
max_message_size:
1145+
description: 'Maximum message size available to this Kafka instance size.'
1146+
type: object
1147+
$ref: '#/components/schemas/SupportedKafkaSizeBytesValueItem'
1148+
min_in_sync_replicas:
1149+
description: "Minimum number of in-sync replicas."
1150+
type: integer
1151+
replication_factor:
1152+
description: "Replication factor available to this Kafka instance size."
1153+
type: integer
1154+
supported_az_modes:
1155+
description: 'List of Availability Zone modes that this Kafka instance size supports. The possible values are "single", "multi".'
1156+
type: array
1157+
items:
1158+
type: string
1159+
lifespan_seconds:
1160+
description: 'The limit lifespan of the kafka instance in seconds. If not specified then the instance never expires.'
1161+
type: integer
1162+
nullable: true
11411163
quota_consumed:
11421164
description: 'Quota consumed by this Kafka instance size.'
11431165
type: integer
@@ -1151,7 +1173,8 @@ components:
11511173
type: object
11521174
properties:
11531175
bytes:
1154-
type: number
1176+
type: integer
1177+
format: int64
11551178
CloudProviderList:
11561179
allOf:
11571180
- $ref: "#/components/schemas/List"
@@ -1675,6 +1698,7 @@ components:
16751698
[
16761699
{
16771700
id: x1,
1701+
display_name: "1",
16781702
ingress_throughput_per_sec: {"bytes": 31457280},
16791703
egress_throughput_per_sec: {"bytes": 31457280},
16801704
total_max_connections: 3000,
@@ -1685,6 +1709,13 @@ components:
16851709
quota_consumed: 1,
16861710
quota_type: "rhosak",
16871711
capacity_consumed: 1,
1712+
max_message_size: { "bytes": 1048576},
1713+
min_in_sync_replicas: 1,
1714+
replication_factor: 1,
1715+
supported_az_modes: [
1716+
"single",
1717+
"multi",
1718+
]
16881719
},
16891720
]
16901721
CloudProviderExample:

0 commit comments

Comments
 (0)