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

required single-value enum body parameters aren't modeled as constant #2689

Closed
olydis opened this issue Nov 3, 2017 · 0 comments · Fixed by Azure/autorest.modeler#26
Closed
Assignees
Labels

Comments

@olydis
Copy link
Contributor

olydis commented Nov 3, 2017

cause: Swagger 2.0 has the weird inconsistency of requiring a schema only for body parameters, so the enum is defined on a different nesting - and ignored by the modeler when doing the constant-ness-check

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.

1 participant