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

Doesn't display enum with single value #284

Closed
Sorix opened this issue Jun 18, 2017 · 0 comments
Closed

Doesn't display enum with single value #284

Sorix opened this issue Jun 18, 2017 · 0 comments

Comments

@Sorix
Copy link

Sorix commented Jun 18, 2017

ReDoc doesn't display valid values if enum consists only from 1 value. It may be used for development or future release purposes (we will add values later).

Example

  /client/{os}:
    get:
      parameters:
      - name: os
        in: path
        description: client's operating system
        required: true
        type: string
        enum:
          - android

There will be no "Valid values" section, but if we add one more enum it will be shown.

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