Swagger #8
Answered
by
EdgyEdgemond
dineshbvadhia
asked this question in
Q&A
-
|
Hi. Is Swagger support planned? |
Beta Was this translation helpful? Give feedback.
Answered by
EdgyEdgemond
May 19, 2025
Replies: 3 comments 4 replies
-
|
I don't believe starlette supports swagger out of the box does it? If there is a mechanism to plug it in, some of the helper functions from fastapi-problem could be backported to provide injection into an openapi.json to provide support. |
Beta Was this translation helpful? Give feedback.
3 replies
-
|
Nice, I'll have to have a play, but if it generates an openapi.json then an
approach similar to fastapi-problem can be used to modify and inject data
into that before returning it to the client
…On Sat, 17 May 2025, 16:25 Henry Thornton, ***@***.***> wrote:
https://www.starlette.io/schemas/
'Starlette supports generating API schemas, such as the widely used OpenAPI
specification <https://github.com/OAI/OpenAPI-Specification>. (Formerly
known as "Swagger".)'
Also, at bottom of page it suggests using
https://github.com/Woile/starlette-apispec
—
Reply to this email directly, view it on GitHub
<#8 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABIHQFAMQYJXXBLXHOSFGU3265BGPAVCNFSM6AAAAAB5KN5O2SVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTGMJXHE2DIOA>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
0 replies
-
|
@dineshbvadhia give v0.12.3 a shot |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
EdgyEdgemond
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@dineshbvadhia give v0.12.3 a shot
Documentation