]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
:memo: Update release notes
authorSebastián Ramírez <tiangolo@gmail.com>
Fri, 30 Aug 2019 22:34:45 +0000 (17:34 -0500)
committerSebastián Ramírez <tiangolo@gmail.com>
Fri, 30 Aug 2019 22:34:45 +0000 (17:34 -0500)
docs/release-notes.md

index 37033a6d23f97119004ce78e3b51d08e2c83ee86..daee07c2485e42896fdd417c207805a374f776e7 100644 (file)
@@ -1,5 +1,6 @@
 ## Latest changes
 
+* Use the `media_type` parameter in `Body()` params to set the media type in OpenAPI for `requestBody`. PR [#439](https://github.com/tiangolo/fastapi/pull/439) by [@divums](https://github.com/divums).
 * Add article [Deploying a scikit-learn model with ONNX and FastAPI](https://medium.com/@nico.axtmann95/deploying-a-scikit-learn-model-with-onnx-und-fastapi-1af398268915) by [https://www.linkedin.com/in/nico-axtmann](Nico Axtmann). PR [#438](https://github.com/tiangolo/fastapi/pull/438) by [@naxty](https://github.com/naxty).
 * Allow setting custom `422` (validation error) response/schema in OpenAPI.
     * And use media type from response class instead of fixed `application/json` (the default).