Fastapi OpenAPI generation #707
Unanswered
Tomtommytomtom
asked this question in
Q&A
Replies: 2 comments 1 reply
|
Please, provide more details on your UseCase. You can combine Depends and FromDishka in one app. Use Depends for parsing parts of request and dishka only do providing dependencies (not data retrieved from request, but just objects containing logic/config parts) |
1 reply
|
Looks like you do not need to pass tenant to object constructor (init param), but instead pass it as an argument to execute method. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
When using dishka with the fastapi integration, i lose some of fastapis automatic openapi docs generation. Such as
fastapi.Headerandfastapi.Query. I can still access these through the Fastapi Provider andfastapi.Requestbut wiring these will not automatically generate docs for them.Do you have any idea or suggestions how to use dishka and fastapi together without losing that?
All reactions