Hi how can I access the swagger documentation for ...
# ask-the-community
a
Hi how can I access the swagger documentation for flyte rest APIs. I started the sandbox and tried to look at localhost:30081/openapi but could not access
n
@Yee @jeev has the route to the swagger docs changed? This docs page might need an update
j
hmm this isn’t currently exposed in the flyte-binary chart or flyte-sandbox. this route was missed: https://github.com/flyteorg/flyte/blob/d60c9af85a59ebb4c2265f76cb082b992078a309/charts/flyte-core/templates/common/ingress.yaml#L268
we can add
n
@Aswanth Krishnan would you mind making an issue for this? 👇 [flyte-bug]
a
Sure will do!
have raised an issue here (https://github.com/flyteorg/flyte/issues/3350#issue-1587585956). Meanwhile can you let me know how can i manually start the redoc container and access the doc UI
n
hi @Aswanth Krishnan, not sure if you saw the comment here, but you should be able to access swagger docs at
<http://localhost:30080/api/v1/openapi>
a
This is fantastic! Thanks a lot for all the help :)
n
@Yee quick PR to update docs link to swagger API: https://github.com/flyteorg/flyte/pull/3376
176 Views