fastapi/docs_src/app_testing/app_b_an_py310
Luke Okomilo f3c1a2d592
docs: fix inconsistent response code when item already exists
In https://github.com/tiangolo/fastapi/pull/4482, the response status code was changed to return 409 when the item already exists in non-Annotated examples, but left as 400 in the others. Seems like an oversight, unless this was done intentionally for a reason I'm not aware of.
2024-07-10 01:00:33 +01:00
..
__init__.py 📝 Update all docs to use `Annotated` as the main recommendation, with new examples and tests (#9268) 2023-03-18 13:29:59 +01:00
main.py docs: fix inconsistent response code when item already exists 2024-07-10 01:00:33 +01:00
test_main.py docs: fix inconsistent response code when item already exists 2024-07-10 01:00:33 +01:00