Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can you configure enum parameters in the query? #81

Open
markusfrank78 opened this issue Sep 21, 2021 · 0 comments
Open

How can you configure enum parameters in the query? #81

markusfrank78 opened this issue Sep 21, 2021 · 0 comments

Comments

@markusfrank78
Copy link

In the Swagger-YAML you can configure call parameters as ENUM (selection list). How can this be transferred to the parameterization in the NODE-RED Swagger documentation?

As an example in YAML

  /pet/findByStatus:
    get:
      tags:
      - "pet"
      summary: "Finds Pets by status"
      description: "Multiple status values can be provided with comma separated strings"
      operationId: "findPetsByStatus"
      produces:
      - "application/xml"
      - "application/json"
      parameters:
      - name: "status"
        in: "query"
        description: "Status values that need to be considered for filter"
        required: true
        type: "array"
        items:
          type: "string"
          enum:
          - "available"
          - "pending"
          - "sold"
          default: "available"

image

In NODE-RED there is no selection for ENUM or default settings, right?

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant