You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi All - a bit confused where to create this -- whether here or FastAPI. Please let me know where -- but I'll post here first :)
So I use the CRUD router to auto-generate the /items/{item_id} route which calls FastAPI's HTTPException 404 in case item_id is not found. When I try to copy out the generated openapi.json in swagger-editor, I get the following:
Structural error at paths./items/{item_id}.get.responses.404
should NOT have additional properties
additionalProperty: detail
I am unable to fix this - any help is appreciated, thanks in advance.
AVR
The text was updated successfully, but these errors were encountered:
Hi All - a bit confused where to create this -- whether here or FastAPI. Please let me know where -- but I'll post here first :)
So I use the CRUD router to auto-generate the /items/{item_id} route which calls FastAPI's HTTPException 404 in case item_id is not found. When I try to copy out the generated openapi.json in swagger-editor, I get the following:
I am unable to fix this - any help is appreciated, thanks in advance.
AVR
The text was updated successfully, but these errors were encountered: