Skip to content

Commit 980700a

Browse files
chore(openapi): update kafka-admin/v1 OpenAPI document (#209)
Co-authored-by: app-services-ci <app-services-ci@users.noreply.github.com>
1 parent 51745fb commit 980700a

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.openapi/kafka-admin-rest.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -897,19 +897,23 @@ components:
897897
Partition:
898898
description: Kafka topic partition
899899
required:
900-
- id
900+
- partition
901901
type: object
902902
properties:
903+
partition:
904+
description: The partition id, unique among partitions of the same topic
905+
type: integer
903906
id:
904-
description: Uniquie id for the partition
907+
description: Unique id for the partition (deprecated, use `partition` instead)
905908
type: integer
909+
deprecated: true
906910
replicas:
907911
description: List of replicas for the partition
908912
type: array
909913
items:
910914
$ref: '#/components/schemas/Node'
911915
isr:
912-
description: List isync-replicas for this partition.
916+
description: List in-sync replicas for this partition.
913917
type: array
914918
items:
915919
$ref: '#/components/schemas/Node'

0 commit comments

Comments
 (0)