Skip to content

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

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

Closed
wants to merge 1 commit into from

Conversation

swinz
Copy link
Contributor

@swinz swinz commented May 4, 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

… attribute, even when required is false (RequestHeader uses default of true). This change always sets the required param
@webron
Copy link
Contributor

webron commented May 5, 2015

@swinz - thanks, but PRs need to be made against the develop_2.0 branch. Can you please resubmit against it?

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