Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Swagger OAS lanza error #175

Closed
Tracked by #130
dirodriguezm opened this issue Sep 11, 2023 · 1 comment
Closed
Tracked by #130

[BUG] Swagger OAS lanza error #175

dirodriguezm opened this issue Sep 11, 2023 · 1 comment
Assignees

Comments

@dirodriguezm
Copy link
Contributor

dirodriguezm commented Sep 11, 2023

Image

@pgallardor
Copy link
Contributor

pgallardor commented Sep 12, 2023

Solucion propuesta:

app = FastAPI(openapi_url="{PREFIX}/openapi.json")

...

@app.get("/openapi.json")
def custom_swagger_route():
    return app.openapi()

@pgallardor pgallardor moved this from 🆕 New to 👀 In review in ALeRCE Project Sep 12, 2023
@dirodriguezm dirodriguezm moved this from 👀 In review to 🏗 In progress in ALeRCE Project Sep 20, 2023
@github-project-automation github-project-automation bot moved this from 🏗 In progress to 👀 In review in ALeRCE Project Sep 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants