Repository: netwo-io/apistos
Pull request #68 (2024-04-18 15:03:19)

Prepare v0.2.0 release


Patch:
diff --git a/Cargo.toml b/Cargo.toml
index c7f6199..c930653 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -20,7 +20,7 @@ documentation = "https://docs.rs/apistos/"
 license = "MIT OR Apache-2.0"
 rust-version = "1.71"
 publish = true
-version = "0.1.7"
+version = "0.2.0"
 
 [workspace.dependencies]
 actix-service = "2"
diff --git a/README.md b/README.md
index d4fc0f8..52df72f 100644
--- a/README.md
+++ b/README.md
@@ -54,7 +54,7 @@ carpenters, craftsmen, metallurgy ... which can also be considered by some as th
 #schemars = "0.8"
 # sadly we currently rely on a fork to fix multiple flatten for enums, related PR can be found here: https://github.com/GREsau/schemars/pull/264
 schemars = { package = "apistos-schemars", version = "0.8" }
-apistos = "0.1"
+apistos = "0.2"
 ```
 
 ### Usage example
diff --git a/apistos-core/Cargo.toml b/apistos-core/Cargo.toml
index 3117d27..a01bea1 100644
--- a/apistos-core/Cargo.toml
+++ b/apistos-core/Cargo.toml
@@ -28,7 +28,7 @@ serde_qs = { workspace = true, features = ["actix4"], optional = true }
 uuid = { workspace = true, optional = true }
 url = { workspace = true, optional = true }
 
-apistos-models = { path = "../apistos-models", version = "0.1.7", features = ["deserialize"] }
+apistos-models = { path = "../apistos-models", version = "0.2.0", features = ["deserialize"] }
 
 [dev-dependencies]
 assert-json-diff = { workspace = true }
diff --git a/apistos-models/README.md b/apistos-models/README.md
index 1578735..9f864ce 100644
--- a/apistos-models/README.md
+++ b/apistos-models/README.md
@@ -1,20 +1,24 @@
 # Apistos &emsp; [![Documentation]][docs.rs] [![Latest Version]][crates.io] [![Build Status]][build]
 
-
 [docs.rs]: https://docs.rs/apistos-models/
+
 [crates.io]: https://crates.io/crates/apistos-models
+
 [build]: https://github.com/netwo-io/apistos/actions/workflows/build.yaml?branch=main
+
 [Documentation]: https://img.shields.io/docsrs/apistos-models
+
 [Latest Version]: https://img.shields.io/crates/v/apistos-models.svg
+
 [Build Status]: https://github.com/netwo-io/apistos/actions/workflows/build.yaml/badge.svg?branch=main
 
 [OASv3.md]: https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md
 
-[OAS 3.0][OASv3.md] models over [schemars](https://github.com/GREsau/schemars)'s [`Schema`](https://docs.rs/schemars/latest/schemars/schema/enum.Schema.html).
+[OAS 3.0][OASv3.md] models over [schemars](https://github.com/GREsau/schemars)'
+s [`Schema`](https://docs.rs/schemars/latest/schemars/schema/enum.Schema.html).
 
 These models are not linked to any web framework.
 
-
 ### Installation
 
 ```toml
@@ -22,15 +26,17 @@ These models are not linked to any web framework.
 #schemars = "0.8"
 # sadly we currently rely on a fork to fix multiple flatten for enums, related PR can be found here: https://github.com/GREsau/schemars/pull/264
 schemars = { package = "apistos-schemars", version = "0.8" }
-apistos-models = "0.1"
+apistos-models = "0.2"
 ```
 
 ### About us
 
 apistos is provided by [Netwo](https://www.netwo.io).
 
-We use this crate for our internal needs and therefore are committed to its maintenance, however we cannot provide any additional guaranty. Use it at your own risks.
+We use this crate for our internal needs and therefore are committed to its maintenance, however we cannot provide any
+additional guaranty. Use it at your own risks.
 
 While we won't invest in any feature we don't need, we are open to accept any pull request you might propose.
 
-We are a France based full-remote company operating in the telecom industry. If you are interested in learning more, feel free to visit [our career page](https://www.netwo.io/carriere).
+We are a France based full-remote company operating in the telecom industry. If you are interested in learning more,
+feel free to visit [our career page](https://www.netwo.io/carriere).
diff --git a/apistos-rapidoc/Cargo.toml b/apistos-rapidoc/Cargo.toml
index d384d88..962e2dd 100644
--- a/apistos-rapidoc/Cargo.toml
+++ b/apistos-rapidoc/Cargo.toml
@@ -14,7 +14,7 @@ rust-version.workspace = true
 license.workspace = true
 
 [dependencies]
-apistos-plugins = { path = "../apistos-plugins", version = "0.1.7" }
+apistos-plugins = { path = "../apistos-plugins", version = "0.2.0" }
 
 [lints]
 workspace = true
diff --git a/apistos-rapidoc/README.md b/apistos-rapidoc/README.md
index d1f9a94..507c851 100644
--- a/apistos-rapidoc/README.md
+++ b/apistos-rapidoc/README.md
@@ -23,7 +23,7 @@ This crate is exposed through Apistos `rapidoc` feature.
 #schemars = "0.8"
 # sadly we currently rely on a fork to fix multiple flatten for enums, related PR can be found here: https://github.com/GREsau/schemars/pull/264
 schemars = { package = "apistos-schemars", version = "0.8" }
-apistos = { version = "0.1", feature = ["rapidoc"] }
+apistos = { version = "0.2", feature = ["rapidoc"] }
 ```
 
 ### About us
diff --git a/apistos-redoc/Cargo.toml b/apistos-redoc/Cargo.toml
index bee32d6..4a2db28 100644
--- a/apistos-redoc/Cargo.toml
+++ b/apistos-redoc/Cargo.toml
@@ -14,7 +14,7 @@ rust-version.workspace = true
 license.workspace = true
 
 [dependencies]
-apistos-plugins = { path = "../apistos-plugins", version = "0.1.7" }
+apistos-plugins = { path = "../apistos-plugins", version = "0.2.0" }
 
 [lints]
 workspace = true
diff --git a/apistos-redoc/README.md b/apistos-redoc/README.md
index 3b603f3..c4742d7 100644
--- a/apistos-redoc/README.md
+++ b/apistos-redoc/README.md
@@ -23,7 +23,7 @@ This crate is exposed through Apistos `redoc` feature.
 #schemars = "0.8"
 # sadly we currently rely on a fork to fix multiple flatten for enums, related PR can be found here: https://github.com/GREsau/schemars/pull/264
 schemars = { package = "apistos-schemars", version = "0.8" }
-apistos = { version = "0.1", feature = ["redoc"] }
+apistos = { version = "0.2", feature = ["redoc"] }
 ```
 
 ### About us
diff --git a/apistos-swagger-ui/Cargo.toml b/apistos-swagger-ui/Cargo.toml
index 2955416..04a423a 100644
--- a/apistos-swagger-ui/Cargo.toml
+++ b/apistos-swagger-ui/Cargo.toml
@@ -14,7 +14,7 @@ rust-version.workspace = true
 license.workspace = true
 
 [dependencies]
-apistos-plugins = { path = "../apistos-plugins", version = "0.1.7" }
+apistos-plugins = { path = "../apistos-plugins", version = "0.2.0" }
 
 [lints]
 workspace = true
diff --git a/apistos-swagger-ui/README.md b/apistos-swagger-ui/README.md
index f37623a..1031bc6 100644
--- a/apistos-swagger-ui/README.md
+++ b/apistos-swagger-ui/README.md
@@ -23,7 +23,7 @@ This crate is exposed through Apistos `swagger-ui` feature.
 #schemars = "0.8"
 # sadly we currently rely on a fork to fix multiple flatten for enums, related PR can be found here: https://github.com/GREsau/schemars/pull/264
 schemars = { package = "apistos-schemars", version = "0.8" }
-apistos = { version = "0.1", feature = ["swagger-ui"] }
+apistos = { version = "0.2", feature = ["swagger-ui"] }
 ```
 
 ### About us
diff --git a/apistos/Cargo.toml b/apistos/Cargo.toml
index 1fcf0be..a2a88d9 100644
--- a/apistos/Cargo.toml
+++ b/apistos/Cargo.toml
@@ -25,17 +25,17 @@ schemars = { workspace = true }
 serde = { workspace = true }
 serde_json = { workspace = true }
 
-apistos-core = { path = "../apistos-core", version = "0.1.7" }
-apistos-gen = { path = "../apistos-gen", version = "0.1.7" }
-apistos-models = { path = "../apistos-models", version = "0.1.7" }
-apistos-plugins = { path = "../apistos-plugins", version = "0.1.7" }
-apistos-rapidoc = { path = "../apistos-rapidoc", version = "0.1.7", optional = true }
-apistos-redoc = { path = "../apistos-redoc", version = "0.1.7", optional = true }
-apistos-swagger-ui = { path = "../apistos-swagger-ui", version = "0.1.7", optional = true }
+apistos-core = { path = "../apistos-core", version = "0.2.0" }
+apistos-gen = { path = "../apistos-gen", version = "0.2.0" }
+apistos-models = { path = "../apistos-models", version = "0.2.0" }
+apistos-plugins = { path = "../apistos-plugins", version = "0.2.0" }
+apistos-rapidoc = { path = "../apistos-rapidoc", version = "0.2.0", optional = true }
+apistos-redoc = { path = "../apistos-redoc", version = "0.2.0", optional = true }
+apistos-swagger-ui = { path = "../apistos-swagger-ui", version = "0.2.0", optional = true }
 
 
 [dev-dependencies]
-apistos-models = { path = "../apistos-models", version = "0.1.7", features = ["deserialize"] }
+apistos-models = { path = "../apistos-models", version = "0.2.0", features = ["deserialize"] }
 
 [lints]
 workspace = true
diff --git a/apistos/README.md b/apistos/README.md
index fc4e10a..e624696 100644
--- a/apistos/README.md
+++ b/apistos/README.md
@@ -1,18 +1,21 @@
 # Apistos &emsp; [![Documentation]][docs.rs] [![Latest Version]][crates.io] [![Build Status]][build]
 
-
 [docs.rs]: https://docs.rs/apistos/
+
 [crates.io]: https://crates.io/crates/apistos
+
 [build]: https://github.com/netwo-io/apistos/actions/workflows/build.yaml?branch=main
+
 [Documentation]: https://img.shields.io/docsrs/apistos
+
 [Latest Version]: https://img.shields.io/crates/v/apistos.svg
+
 [Build Status]: https://github.com/netwo-io/apistos/actions/workflows/build.yaml/badge.svg?branch=main
 
 [OASv3.md]: https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md
 
-An actix-web wrapper similar to [paperclip](https://github.com/paperclip-rs/paperclip) to generate [OAS 3.0][OASv3.md] documentation.
-
-
+An actix-web wrapper similar to [paperclip](https://github.com/paperclip-rs/paperclip) to generate [OAS 3.0][OASv3.md]
+documentation.
 
 - [Installation](#installation)
 - [Usage example](#usage-example)
@@ -26,12 +29,12 @@ An actix-web wrapper similar to [paperclip](https://github.com/paperclip-rs/pape
 #schemars = "0.8"
 # sadly we currently rely on a fork to fix multiple flatten for enums, related PR can be found here: https://github.com/GREsau/schemars/pull/264
 schemars = { package = "apistos-schemars", version = "0.8" }
-apistos = "0.1"
+apistos = "0.2"
 ```
 
 ### Usage example
 
-Wrap your regular actix-web app using **apistos** types. 
+Wrap your regular actix-web app using **apistos** types.
 
 Most of these types are drop-in types for actix-web one's.
 
@@ -114,21 +117,23 @@ For a complete example, see [the sample petstore](https://github.com/netwo-io/ap
 
 ### Feature flags
 
-| name           | description                                                              | extra dependencies                                             |
-|----------------|--------------------------------------------------------------------------|----------------------------------------------------------------|
-| `chrono`       | Enables documenting types from `chrono`                                  | [`chrono`](https://crates.io/crates/chrono)                    |
-| `multipart`    | Enables documenting types from `actix-multipart`                         | [`actix-multipart`](https://crates.io/crates/actix-multipart)  |
-| `rust_decimal` | Enables documenting types from `rust_decimal`                            | [`rust_decimal`](https://crates.io/crates/rust-decimal) =      |
-| `uuid`         | Enables documenting types from `uuid`                                    | [`uuid`](https://crates.io/crates/uuid)                        |
-| `url`          | Enables documenting types from `url`                                     | [`url`](https://crates.io/crates/url)                          |
-| `extras`       | Enables `chrono`, `multipart`, `rust_decimal`, `uuid` and `url` features | All from previous features                                     |
+| name           | description                                                              | extra dependencies                                            |
+|----------------|--------------------------------------------------------------------------|---------------------------------------------------------------|
+| `chrono`       | Enables documenting types from `chrono`                                  | [`chrono`](https://crates.io/crates/chrono)                   |
+| `multipart`    | Enables documenting types from `actix-multipart`                         | [`actix-multipart`](https://crates.io/crates/actix-multipart) |
+| `rust_decimal` | Enables documenting types from `rust_decimal`                            | [`rust_decimal`](https://crates.io/crates/rust-decimal) =     |
+| `uuid`         | Enables documenting types from `uuid`                                    | [`uuid`](https://crates.io/crates/uuid)                       |
+| `url`          | Enables documenting types from `url`                                     | [`url`](https://crates.io/crates/url)                         |
+| `extras`       | Enables `chrono`, `multipart`, `rust_decimal`, `uuid` and `url` features | All from previous features                                    |
 
 ### About us
 
 apistos is provided by [Netwo](https://www.netwo.io).
 
-We use this crate for our internal needs and therefore are committed to its maintenance, however we cannot provide any additional guaranty. Use it at your own risks.
+We use this crate for our internal needs and therefore are committed to its maintenance, however we cannot provide any
+additional guaranty. Use it at your own risks.
 
 While we won't invest in any feature we don't need, we are open to accept any pull request you might propose.
 
-We are a France based full-remote company operating in the telecom industry. If you are interested in learning more, feel free to visit [our career page](https://www.netwo.io/carriere).
+We are a France based full-remote company operating in the telecom industry. If you are interested in learning more,
+feel free to visit [our career page](https://www.netwo.io/carriere).
diff --git a/apistos/src/lib.rs b/apistos/src/lib.rs
index 3928d82..b1b1ec1 100644
--- a/apistos/src/lib.rs
+++ b/apistos/src/lib.rs
@@ -11,7 +11,7 @@
 //! #schemars = "0.8"
 //! # sadly we currently rely on a fork to fix multiple flatten for enums, related PR can be found here: https://github.com/GREsau/schemars/pull/264
 //! schemars = { package = "apistos-schemars", version = "0.8" }
-//! apistos = "0.1"
+//! apistos = "0.2"
 //! ```
 //!
 //! # Usage example


Test patch:
diff --git a/apistos-gen-test/Cargo.toml b/apistos-gen-test/Cargo.toml
index caf48e1..e81223b 100644
--- a/apistos-gen-test/Cargo.toml
+++ b/apistos-gen-test/Cargo.toml
@@ -20,8 +20,8 @@ assert-json-diff = { workspace = true }
 chrono = { workspace = true, features = ["serde"] }
 futures-core = { workspace = true }
 apistos = { path = "../apistos", features = ["multipart", "uuid"] }
-apistos-core = { path = "../apistos-core", version = "0.1.7" }
-apistos-gen = { path = "../apistos-gen", version = "0.1.7" }
+apistos-core = { path = "../apistos-core", version = "0.2.0" }
+apistos-gen = { path = "../apistos-gen", version = "0.2.0" }
 schemars = { workspace = true }
 serde = { version = "1.0.188", features = ["derive"] }
 serde_json = { workspace = true }