tanz
5 months agoNew Contributor
How can we reference helm values in a static swagger file
i have tried
components:
securitySchemes:
oauth:
type: oauth2
description: This API uses OAuth 2 with the implicit grant flow. [More info](https://api.example.com/docs/auth)
flows:
authorizationCode:
authorizationUrl: ${AUTHORIZATION_URL}
tokenUrl: ${TOKEN_URL}
scopes: {}
and also
components:
securitySchemes:
oauth:
type: oauth2
description: This API uses OAuth 2 with the implicit grant flow. [More info](https://api.example.com/docs/auth)
flows:
authorizationCode:
authorizationUrl: {{env "AUTHORIZATION_URL" }
tokenUrl: {{ env "TOKEN_URL" }}
scopes: {}
I have container for swagger, both above doesnt seem to work any ideas would be helpful
Thanks