Mickael Maison created KAFKA-16881: -------------------------------------- Summary: 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
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)