diff --git a/CHANGELOG.md b/CHANGELOG.md index c8afcead..b5d6ed97 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ +# 3.5.1 + +Thanks to the contributions of the community โค๏ธ๐Ÿ’™๐Ÿ’›๐Ÿ’œ๐Ÿงก + +* [mrmstn](https://github.com/mrmstn) + +- Fix: Issues with complex types for phoenix endpoints (#161) +- Fix: In ExDoc-based operation spec (experimental), change key name used to define `requestBody` (#164) +- Fix: `oneOf` schema having object schemas (#167) + # 3.5.0 Thanks to the contributions of the community โค๏ธ๐Ÿ’™๐Ÿ’›๐Ÿ’œ๐Ÿงก diff --git a/README.md b/README.md index 5349da0c..a55ff022 100644 --- a/README.md +++ b/README.md @@ -443,7 +443,8 @@ defmodule MyAppWeb.UserController do """ @doc parameters: [ id: [in: :query, type: :string, required: true, description: "User ID"] - ] + ], + @doc request_body: {"Request body to update a User", "application/json", User, required: true} @doc responses: %{ 200 => {"User", "application/json", MyAppWeb.Schema.User} } diff --git a/mix.exs b/mix.exs index 6e71a54c..90816940 100644 --- a/mix.exs +++ b/mix.exs @@ -1,7 +1,7 @@ defmodule OpenApiSpex.Mixfile do use Mix.Project - @version "3.5.0" + @version "3.5.1" def project do [