[jira] [Commented] (KAFKA-16881) InitialState type leaks into the Connect REST API OpenAPI spec
[ https://issues.apache.org/jira/browse/KAFKA-16881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17851669#comment-17851669 ] Chris Egerton commented on KAFKA-16881: --- [~m1a2st] I've assigned the issue to you. Thanks for volunteering! > 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)
[jira] [Commented] (KAFKA-16881) InitialState type leaks into the Connect REST API OpenAPI spec
[ https://issues.apache.org/jira/browse/KAFKA-16881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17851628#comment-17851628 ] 黃竣陽 commented on KAFKA-16881: - I'm interesting in this issue, I can handle it. > 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 >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)