]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commit
:bug: Fix "default" extra response with extra status codes (#489)
authorSebastián Ramírez <tiangolo@gmail.com>
Fri, 30 Aug 2019 21:34:47 +0000 (16:34 -0500)
committerGitHub <noreply@github.com>
Fri, 30 Aug 2019 21:34:47 +0000 (16:34 -0500)
commit55c4b5fb0bd260765b6eedbf8c200caa3cdc670e
tree8e29ade9500ef91f61a75ae90dfb7215fc3b40dc
parentc32e800c236d0f0d7f290fdc8ceaeb5fc3151a7a
:bug: Fix "default" extra response with extra status codes (#489)

* :bug: Fix lowercase "default" extra response

* :bug: Fix model for responses, to allow "default" plus status codes

* :white_check_mark: Add test for "default" extra response
fastapi/openapi/models.py
fastapi/openapi/utils.py
tests/test_additional_responses_router.py