Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 20 additions & 1 deletion openapi/strimzi-admin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ paths:
content:
application/json:
schema:
$ref: "#/components/schemas/TopicSettings"
$ref: "#/components/schemas/UpdateTopicInput"
required: true
parameters:
- name: topicName
Expand Down Expand Up @@ -395,6 +395,8 @@ components:
Topic:
title: Root Type for NewTopicInput
description: Kafka Topic (A feed where records are stored and published)
required:
- numPartitions
type: object
properties:
name:
Expand Down Expand Up @@ -563,6 +565,7 @@ components:
description: Input object to create a new topic.
required:
- name
- settings
type: object
properties:
name:
Expand Down Expand Up @@ -717,3 +720,19 @@ components:
offset: 6
lag: 1
logEndOffset: 5
UpdateTopicInput:
title: Root Type for UpdateTopicInput
description: Kafka Topic (A feed where records are stored and published)
type: object
properties:
config:
description: Topic configuration entry.
type: array
items:
$ref: "#/components/schemas/ConfigEntry"
example:
config:
- key: min.insync.replicas
value: "1"
- key: max.message.bytes
value: "1050000"
2 changes: 2 additions & 0 deletions pkg/api/strimzi-admin/client/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ docs/Partition.md
docs/Topic.md
docs/TopicSettings.md
docs/TopicsList.md
docs/UpdateTopicInput.md
git_push.sh
model_config_entry.go
model_consumer.go
Expand All @@ -25,5 +26,6 @@ model_partition.go
model_topic.go
model_topic_settings.go
model_topics_list.go
model_update_topic_input.go
response.go
utils.go
1 change: 1 addition & 0 deletions pkg/api/strimzi-admin/client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ Class | Method | HTTP request | Description
- [Topic](docs/Topic.md)
- [TopicSettings](docs/TopicSettings.md)
- [TopicsList](docs/TopicsList.md)
- [UpdateTopicInput](docs/UpdateTopicInput.md)


## Documentation For Authorization
Expand Down
21 changes: 20 additions & 1 deletion pkg/api/strimzi-admin/client/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/TopicSettings'
$ref: '#/components/schemas/UpdateTopicInput'
required: true
responses:
"200":
Expand Down Expand Up @@ -453,6 +453,8 @@ components:
items:
$ref: '#/components/schemas/Partition'
type: array
required:
- numPartitions
title: Root Type for NewTopicInput
type: object
Partition:
Expand Down Expand Up @@ -599,6 +601,7 @@ components:
$ref: '#/components/schemas/TopicSettings'
required:
- name
- settings
type: object
ConsumerGroup:
description: A group of Kafka consumers
Expand Down Expand Up @@ -735,3 +738,19 @@ components:
- limit
- offset
type: object
UpdateTopicInput:
description: Kafka Topic (A feed where records are stored and published)
example:
config:
- key: min.insync.replicas
value: "1"
- key: max.message.bytes
value: "1050000"
properties:
config:
description: Topic configuration entry.
items:
$ref: '#/components/schemas/ConfigEntry'
type: array
title: Root Type for UpdateTopicInput
type: object
Loading