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

Remove duplicate values in enum displays (case insensitive) #1485

Closed
apixandru opened this issue Sep 12, 2016 · 0 comments · Fixed by #1486
Closed

Remove duplicate values in enum displays (case insensitive) #1485

apixandru opened this issue Sep 12, 2016 · 0 comments · Fixed by #1486
Labels
Milestone

Comments

@apixandru
Copy link
Contributor

One of the reasons why the generated api-docs doesn't work in the swagger editor is the HttpStatus enum.

status:
        type: "string"
        enum:
[...]
        - "300"
        - "301"
        - "302"
        - "302" <-- duplicate
        - "303"
[...]
        - "410"
        - "411"
        - "412"
        - "413"
        - "413" <-- duplicate
        - "414"
@dilipkrish dilipkrish added the bug label Sep 12, 2016
@dilipkrish dilipkrish added this to the 2.6.0 milestone Sep 12, 2016
dilipkrish added a commit that referenced this issue Sep 12, 2016
@dilipkrish dilipkrish changed the title ModelAndView status enum displays duplicate values Remove duplicate values in enum displays (case insensitive) Sep 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants