[
https://issues.apache.org/jira/browse/KAFKA-16881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chris Egerton reassigned KAFKA-16881:
-------------------------------------
Assignee: 黃竣陽
> InitialState type leaks into the Connect REST API OpenAPI spec
> --------------------------------------------------------------
>
> Key: KAFKA-16881
> URL: https://issues.apache.org/jira/browse/KAFKA-16881
> Project: Kafka
> Issue Type: Task
> Components: connect
> Affects Versions: 3.7.0
> Reporter: Mickael Maison
> Assignee: 黃竣陽
> Priority: Major
>
> In our [OpenAPI spec
> file|https://kafka.apache.org/37/generated/connect_rest.yaml] we have the
> following:
> {noformat}
> CreateConnectorRequest:
> type: object
> properties:
> config:
> type: object
> additionalProperties:
> type: string
> initialState:
> type: string
> enum:
> - RUNNING
> - PAUSED
> - STOPPED
> initial_state:
> type: string
> enum:
> - RUNNING
> - PAUSED
> - STOPPED
> writeOnly: true
> name:
> type: string{noformat}
> Only initial_state is a valid field, InitialState should not be present.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)