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

[Java][Spring] fix incorrect @ApiResponse's response type. #4801

Merged
merged 1 commit into from
Aug 8, 2017
Merged

[Java][Spring] fix incorrect @ApiResponse's response type. #4801

merged 1 commit into from
Aug 8, 2017

Conversation

gcernier-amadeus
Copy link
Contributor

@gcernier-amadeus gcernier-amadeus commented Feb 15, 2017

@ApiResponse's 'response' property now refers to its relative 'baseType', if defined.

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

Fix of #3371, to have a correct @ApiResponse's response type.
@ApiResponse's 'response' property now refers to its relative 'baseType', if defined.

@ApiResponse's 'response' property now refers to its relative 'baseType', if defined.
@wing328 wing328 modified the milestones: v2.2.3, v2.3.0 Feb 22, 2017
@wing328 wing328 changed the base branch from 2.3.0 to master August 8, 2017 06:16
@wing328 wing328 merged commit 09e2bbe into swagger-api:master Aug 8, 2017
@wing328
Copy link
Contributor

wing328 commented Aug 8, 2017

@gcernier-amadeus PR merged into master. Thanks for your contribution.

@wing328 wing328 changed the title Fix of #3371, to have a correct @ApiResponse's response type. [Java][Spring] fix incorrect @ApiResponse's response type. Aug 8, 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.

None yet

2 participants