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

index 990c209682e1ff3a058e515cbdb5e30ecbdd6d24..f3a7560d501f5e892d3e482d60b571e695849dcd 100644 (file)
@@ -1,5 +1,8 @@
 ## Latest changes
 
+* Allow setting custom `422` (validation error) response/schema in OpenAPI.
+    * And use media type from response class instead of fixed `application/json` (the default).
+    * PR [#437](https://github.com/tiangolo/fastapi/pull/437) by [@divums](https://github.com/divums).
 * Fix using `"default"` extra response with status codes at the same time. PR [#489](https://github.com/tiangolo/fastapi/pull/489).
 * Allow additional responses to use status code ranges (like `5XX` and `4XX`) and `"default"`. PR [#435](https://github.com/tiangolo/fastapi/pull/435) by [@divums](https://github.com/divums).