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
is there a way to remove the host from final swagger file?
I read other issues and I know that is possible to set it to empty string or null, but it is not good for OPEN API specification and consequentially validation - https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md .
I have to achieve this If host is not specified, it is assumed to be the same host where the API documentation is being served. .
and the only way to achieve that and be valid for API specification I have to remove completely the host key.
Any suggestions?
The text was updated successfully, but these errors were encountered:
Hi all,
is there a way to remove the host from final swagger file?
I read other issues and I know that is possible to set it to empty string or null, but it is not good for OPEN API specification and consequentially validation - https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md .
I have to achieve this
If host is not specified, it is assumed to be the same host where the API documentation is being served.
.and the only way to achieve that and be valid for API specification I have to remove completely the host key.
Any suggestions?
The text was updated successfully, but these errors were encountered: