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

Documentation of unused (directly in method) path variables #15

Merged
merged 3 commits into from
Jul 11, 2013

Conversation

dayman
Copy link
Contributor

@dayman dayman commented Jul 11, 2013

No description provided.

Andrey Antonov added 3 commits July 3, 2013 20:32
…oller, true by default.

Sometimes there are path variables which are not used in method directly.
For instance, we have /user/pets/{petId}, but method doesn't have @PathVariable petId because
it's used for MethodArgumentResolver in upper level, but we still need this fields
Such fields are not documented by Swagger by default.

Minor changes:
1. Utility methods moved to DocumentationUtils
2. Default Java version(1.5) added to pom.xml
Default description added for such variables, for "ownerName" description would be "Owner name"
wkennedy pushed a commit that referenced this pull request Jul 11, 2013
Documentation of unused (directly in method) path variables
@wkennedy wkennedy merged commit 7dd2733 into wkennedy:master Jul 11, 2013
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