Replies: 2 comments 1 reply
-
The Header Object is used in responses when describing what headers can be returned as part of it (it's also used in the Encoding Object but that's not common). The Specification mentions all the places where you can use the Header Object. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Suggestions for Spring Doc should be directed to its maintainers. Since the spec question has been answered, I'm closing this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The
Components
object has:parameters
- collection ofParameter
objectsheaders
- collection ofHeader
objectsHowever, a
Parameter
can be a header (whenin == "header"
).This inherent ambiguity creates confusion when one tries to create a global/group customization.
Can the ambiguity be removed (maybe deprecating the
Header
object or the"header"
location ofParameter
)?If not, when should I declare a header as a
Parameter
and when should I declare it as aHeader
? The answer to this last question is direly needed in the documentation.Beta Was this translation helpful? Give feedback.
All reactions