Skip to content

Conversation

@sonallux
Copy link
Contributor

PR checklist

  • Read the contribution guildelines.
  • Ran the shell/batch script under ./bin/ to update Petstore sample so that CIs can verify the change. (For instance, only need to run ./bin/{LANG}-petstore.sh and ./bin/security/{LANG}-petstore.sh if updating the {LANG} (e.g. php, ruby, python, etc) code generator or {LANG} client's mustache templates)
  • Filed the PR against the correct branch: master for non-breaking changes and 2.3.0 branch for breaking (non-backward compatible) changes.

Description of the PR

Fixes #1940 . The html2 generator now displays response header. As the petstore example does not use header values in responses, I have added a new test spec responseHeaderTest.yaml under modules/swagger-codegen/src/test/resources/2_0 to test the new feature.

@wing328
Copy link
Contributor

wing328 commented Feb 20, 2017

@jsone-studios thanks for the enhancement and new spec to test response headers. The change looks good to me.

@wing328 wing328 merged commit 6746632 into swagger-api:master Feb 20, 2017
@wing328 wing328 changed the title [HTML2] Fix for #1940 - Show response headers [html2] Fix for #1940 - Show response headers Feb 22, 2017
@wing328 wing328 changed the title [html2] Fix for #1940 - Show response headers [html2] Show response headers Feb 22, 2017
@sonallux sonallux deleted the issue-1940 branch February 24, 2017 12:02
davidgri pushed a commit to davidgri/swagger-codegen that referenced this pull request May 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants