From 8c6b2d5804f2631b58f0ef1ef45b5b375800793a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Fri, 30 Aug 2019 16:48:53 -0500 Subject: [PATCH] :memo: Update release notes --- docs/release-notes.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/release-notes.md b/docs/release-notes.md index 990c20968..f3a7560d5 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).