Contributions
Re: Reference to a SecurityScheme
Thanks for your response. Swagger is giving me an error saying it can not resolve the reference. I triple checked the path. I even tried adding a reference from the same file as the securitySchemes that I am using and that is not resolving for the securitySchemes. Any other tips?925Views0likes2CommentsReference to a SecurityScheme
Is there a way to reference the component securityScheme from a common swagger definitions so I do not need to duplicate it in each of my swagger definitions? Like $ref http://somurl.com/component/securityScheme/oauthSample. If so what is the syntax to add this globally and per path? security: - oauthSample: - read - write security: - oAuthSample: [write]944Views0likes4Comments