mirror of https://github.com/tiangolo/fastapi.git
🔖 Release 0.12.0, add additional responses
This commit is contained in:
parent
907e613ff2
commit
e68a68c97c
|
|
@ -1,5 +1,7 @@
|
||||||
## Next release
|
## Next release
|
||||||
|
|
||||||
|
## 0.12.0
|
||||||
|
|
||||||
* Add additional `responses` parameter to *path operation decorators* to extend responses in OpenAPI (and API docs).
|
* Add additional `responses` parameter to *path operation decorators* to extend responses in OpenAPI (and API docs).
|
||||||
* It also allows extending existing responses generated from `response_model`, declare other media types (like images), etc.
|
* It also allows extending existing responses generated from `response_model`, declare other media types (like images), etc.
|
||||||
* The new documentation is here: <a href="https://fastapi.tiangolo.com/tutorial/additional-responses/" target="_blank">Additional Responses</a>.
|
* The new documentation is here: <a href="https://fastapi.tiangolo.com/tutorial/additional-responses/" target="_blank">Additional Responses</a>.
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
"""FastAPI framework, high performance, easy to learn, fast to code, ready for production"""
|
"""FastAPI framework, high performance, easy to learn, fast to code, ready for production"""
|
||||||
|
|
||||||
__version__ = "0.11.0"
|
__version__ = "0.12.0"
|
||||||
|
|
||||||
from starlette.background import BackgroundTasks
|
from starlette.background import BackgroundTasks
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue