Removing schema and put it on requestBody (openapi) #10028
-
First Check
Commit to Help
Example Codeasync def validator(api_key: str = Form(...)):
pass
@bypass.post('/ouo')
async def ouo(request: Request, url: str = Form(...), validate: dict = Depends(validator)) -> JSONResponse:
passDescriptionWell... while using swagger docs i found out that the Hopefully anyone can help me with this. Operating SystemWindows Operating System DetailsNo response FastAPI Version0.100.1 Pydantic Version1.10.4 Python VersionPython 3.9.10 Additional ContextNo response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
@X-Gorn , see #10023. I have similar issue as well. However I'm suggesting to fix that another way (wrap all |
Beta Was this translation helpful? Give feedback.
-
|
I think it's possible to adapt the approach from this response to achieve what you need: #11859 (comment) |
Beta Was this translation helpful? Give feedback.
I think it's possible to adapt the approach from this response to achieve what you need: #11859 (comment)