https://flyte.org logo
#ask-the-community
Title
# ask-the-community
a

Aswanth Krishnan

02/15/2023, 1:21 PM
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

Niels Bantilan

02/15/2023, 4:19 PM
@Yee @jeev has the route to the swagger docs changed? This docs page might need an update
j

jeev

02/15/2023, 4:25 PM
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

Niels Bantilan

02/15/2023, 4:26 PM
@Aswanth Krishnan would you mind making an issue for this? 👇 [flyte-bug]
a

Aswanth Krishnan

02/15/2023, 5:09 PM
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

Niels Bantilan

02/27/2023, 4:59 PM
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

Aswanth Krishnan

02/27/2023, 4:59 PM
This is fantastic! Thanks a lot for all the help :)
n

Niels Bantilan

02/27/2023, 5:04 PM
@Yee quick PR to update docs link to swagger API: https://github.com/flyteorg/flyte/pull/3376
6 Views