Skip to content

SpringMVC template is ignoring the required attribute in swagger definition when generating RequestHeader annotation #723

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

Merged

Conversation

swinz
Copy link
Contributor

@swinz swinz commented May 6, 2015

For SpringMVC, RequestHeader annotations are not setting the required attribute, even when required is false (RequestHeader uses default of true). This change always sets the required param

Closes #719
Replaces PR #718

… attribute, even when required is false (RequestHeader uses default of true). This change always sets the required param
fehguy added a commit that referenced this pull request May 21, 2015
…ired

SpringMVC template is ignoring the required attribute in swagger definition when generating RequestHeader annotation
@fehguy fehguy merged commit 5a4d331 into swagger-api:develop_2.0 May 21, 2015
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

Successfully merging this pull request may close these issues.

2 participants