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

Enum not showing a select field #256

Closed
DannyBen opened this issue Nov 21, 2014 · 3 comments
Closed

Enum not showing a select field #256

DannyBen opened this issue Nov 21, 2014 · 3 comments

Comments

@DannyBen
Copy link

I am not sure if I should post this duplicate issue or not. I also posted it as an issue on the swagger-ui repo.

It is my understanding that the code below should produce a select field of values to choose from. Right now it generates a text field.

paths:
  /users:
    get:
      parameters:
        - name: status
          in: query
          type: string
          enum:
            - online
            - offline
@mohsen1 mohsen1 added this to the 2.8.4 milestone Jan 27, 2015
@mohsen1 mohsen1 removed the p2 label Jan 27, 2015
@calfzhou
Copy link

+1 ~

@ethaizone
Copy link

+1

@mohsen1
Copy link
Contributor

mohsen1 commented Apr 22, 2015

Should get fixed by #384

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

No branches or pull requests

4 participants