Skip to content

Fixes #832 do not add definitions for excluded methods#852

Open
gdimitrov7 wants to merge 1 commit into
kongchen:masterfrom
gdimitrov7:fix-no-extra-defs
Open

Fixes #832 do not add definitions for excluded methods#852
gdimitrov7 wants to merge 1 commit into
kongchen:masterfrom
gdimitrov7:fix-no-extra-defs

Conversation

@gdimitrov7
Copy link
Copy Markdown

In some cases the method will be excluded from the swagger (because it
misses httpMethod or Api annotation), but the return type of the method
is added to the definitions as parseMethod() had side effect and
modified the swagger.model object.

Removed the side effect of parseMethod().

In some cases the method will be excluded from the swagger (because it
misses httpMethod or Api annotation), but the return type of the method
is added to the definitions as parseMethod() had side effect and
modified the swagger.model object.

Removed the side effect of parseMethod().
@gdimitrov7
Copy link
Copy Markdown
Author

@kongchen Is there any change this to be merged soon? We need it as it block the upgrade to newer swagger-maven-plugin. Thank you.

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.

1 participant