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
In our APIs, we have one header which is declared as required because it is automatically added by our API Management.
Since none of the request will be done directly to our endpoint (100% pass through API Management), we find this confusing for our clients to have this header as required in our Swagger.
We would like to add a description like:
added by API Management, do not care
Moreover, as we do not control anything on this header, it cannot be invalid:
should be hidden (or even not generated).
Thanks!
The text was updated successfully, but these errors were encountered:
Though this feature is not well documented (in my opinion 😄 ), you can add a description to pretty much everything, usually by using the more generic ' version, which allows to pass a Description:
In our APIs, we have one header which is declared as required because it is automatically added by our API Management.
Since none of the request will be done directly to our endpoint (100% pass through API Management), we find this confusing for our clients to have this header as
required
in our Swagger.We would like to add a description like:
Moreover, as we do not control anything on this header, it cannot be
invalid
:Thanks!
The text was updated successfully, but these errors were encountered: