You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears that JSONDoc is ignoring the name attribute of the RequestParam annotation. The value attribute works as expected, despite the former being an alias for the latter.
Steps to reproduce
Attempt to generate documentation for a method like the following
The three query parameters ("username", "password", "source") are present in the resulting documentation.
Actual outcome
"source" is not present in the resulting documentation, instead the parameter is shown with no name, and the following error is present in a notice above the parameter descriptions: "- Missing documentation data: query parameter name"
Suggested resolution
Treat value and name as synonyms, since that is what Spring does.
The text was updated successfully, but these errors were encountered:
Description
It appears that JSONDoc is ignoring the
name
attribute of theRequestParam
annotation. Thevalue
attribute works as expected, despite the former being an alias for the latter.Steps to reproduce
Attempt to generate documentation for a method like the following
Expected outcome
The three query parameters ("username", "password", "source") are present in the resulting documentation.
Actual outcome
"source" is not present in the resulting documentation, instead the parameter is shown with no name, and the following error is present in a notice above the parameter descriptions: "- Missing documentation data: query parameter name"
Suggested resolution
Treat
value
andname
as synonyms, since that is what Spring does.The text was updated successfully, but these errors were encountered: