Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-16881

InitialState type leaks into the Connect REST API OpenAPI spec

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.7.0
    • 3.8.0, 3.7.1
    • connect
    • None

    Description

      In our OpenAPI spec file we have the following:

      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

      Only initial_state is a valid field, InitialState should not be present.

       

      Attachments

        Issue Links

          Activity

            People

              m1a2st 黃竣陽
              mimaison Mickael Maison
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: