From: Sebastián Ramírez Date: Fri, 30 Aug 2019 21:48:53 +0000 (-0500) Subject: :memo: Update release notes X-Git-Tag: 0.37.0~17 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8c6b2d5804f2631b58f0ef1ef45b5b375800793a;p=thirdparty%2Ffastapi%2Ffastapi.git :memo: Update release notes --- diff --git a/docs/release-notes.md b/docs/release-notes.md index 990c209682..f3a7560d50 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -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).