Browse Source

🔖 Release 0.12.0, add additional responses

pull/140/head 0.12.0
Sebastián Ramírez 6 years ago
parent
commit
e68a68c97c
  1. 2
      docs/release-notes.md
  2. 2
      fastapi/__init__.py

2
docs/release-notes.md

@ -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>.

2
fastapi/__init__.py

@ -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…
Cancel
Save