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
However I prefer using path as it say more about what the param is describing. This becomes more important if you have more attributes on the annotation. The path value is also easier to read during code reviews or when showing the code to other people that might not have that much experience with spring.
Spring's
RequestMapping
anntoation has an alias forvalue
calledpath
that don't get picked up by the documentation generator.But it will be shown correctly if I use the
value
attribute for the mapping.However I prefer using
path
as it say more about what the param is describing. This becomes more important if you have more attributes on the annotation. Thepath
value is also easier to read during code reviews or when showing the code to other people that might not have that much experience with spring.I use
PS: Thanks for your nice tool + work.
The text was updated successfully, but these errors were encountered: