Skip to content

Commit

Permalink
Upgrade schemars to 1.0.0-alpha.14
Browse files Browse the repository at this point in the history
  • Loading branch information
rlebran committed Aug 30, 2024
1 parent 1cd24a5 commit f4ab9d7
Show file tree
Hide file tree
Showing 13 changed files with 12 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ proc-macro2 = "1.0"
proc-macro-error = "1.0"
quote = "1.0"
regex = ">=1.5.5"
schemars = { version = "1.0.0-alpha.11", features = ["chrono04", "uuid1", "url2", "rust_decimal1"] }
schemars = { version = "1.0.0-alpha.14", features = ["chrono04", "uuid1", "url2", "rust_decimal1"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
syn = "2.0"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ carpenters, craftsmen, metallurgy ... which can also be considered by some as th

```toml
[dependencies]
schemars = "1.0.0-alpha.11"
schemars = "1.0.0-alpha.14"
apistos = "1.0.0-pre-release.5"
```

Expand Down
1 change: 0 additions & 1 deletion apistos-gen/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,6 @@ pub fn derive_api_type(input: TokenStream) -> TokenStream {
/// #[derive(Debug, Clone, JsonSchema, ApiComponent, Validate)]
/// pub(crate) struct QueryTag {
/// #[garde(length(min = 2))]
/// #[schemars(length(min = 2))]
/// pub(crate) tags: Vec<String>,
/// }
/// ```
Expand Down
2 changes: 1 addition & 1 deletion apistos-models/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ These models are not linked to any web framework.

```toml
[dependencies]
schemars = "1.0.0-alpha.11"
schemars = "1.0.0-alpha.14"
apistos-models = "1.0.0-pre-release.5"
```

Expand Down
2 changes: 1 addition & 1 deletion apistos-rapidoc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ This crate is exposed through Apistos `rapidoc` feature.

```toml
[dependencies]
schemars = "1.0.0-alpha.11"
schemars = "1.0.0-alpha.14"
apistos = { version = "1.0.0-pre-release.5", feature = ["rapidoc"] }
```

Expand Down
2 changes: 1 addition & 1 deletion apistos-redoc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ This crate is exposed through Apistos `redoc` feature.

```toml
[dependencies]
schemars = "1.0.0-alpha.11"
schemars = "1.0.0-alpha.14"
apistos = { version = "1.0.0-pre-release.5", feature = ["redoc"] }
```

Expand Down
2 changes: 1 addition & 1 deletion apistos-scalar/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ This crate is exposed through Apistos `scalar` feature.

```toml
[dependencies]
schemars = "1.0.0-alpha.11"
schemars = "1.0.0-alpha.14"
apistos = { version = "1.0.0-pre-release.5", feature = ["scalar"] }
```

Expand Down
2 changes: 1 addition & 1 deletion apistos-shuttle/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ This crate allows you to run an actix-web server documented with Apistos on [Shu

```toml
[dependencies]
schemars = "1.0.0-alpha.11"
schemars = "1.0.0-alpha.14"
apistos = { version = "1.0.0-pre-release.5" }
apistos-shuttle = { version = "1.0.0-pre-release.5" }
```
Expand Down
2 changes: 1 addition & 1 deletion apistos-swagger-ui/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ This crate is exposed through Apistos `swagger-ui` feature.

```toml
[dependencies]
schemars = "1.0.0-alpha.11"
schemars = "1.0.0-alpha.14"
apistos = { version = "1.0.0-pre-release.5", feature = ["swagger-ui"] }
```

Expand Down
2 changes: 1 addition & 1 deletion apistos/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
//!
//! ```toml
//! [dependencies]
//! schemars = "1.0.0-alpha.11"
//! schemars = "1.0.0-alpha.14"
//! apistos = "1.0.0-pre-release.5"
//! ```
//!
Expand Down
2 changes: 1 addition & 1 deletion examples/petstore/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env_logger = "0.11"
futures = "0.3"
num-traits = "0.2"
rust_decimal = "1"
schemars = { version = "1.0.0-alpha.11", features = ["chrono04", "uuid1", "url2", "rust_decimal1"] }
schemars = { version = "1.0.0-alpha.14", features = ["chrono04", "uuid1", "url2", "rust_decimal1"] }
serde = { version = "1.0", features = ["derive"] }
serde_qs = { version = "0.13", features = ["actix4"] }
uuid = { version = "1", features = ["serde", "v4"] }
Expand Down
2 changes: 1 addition & 1 deletion examples/simple-shuttle-rs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ authors = ["Netwo <oss@netwo.com>"]
actix-web = "4"
apistos = { path = "../../apistos", features = ["extras", "qs_query", "rapidoc", "redoc", "swagger-ui"] }
apistos-shuttle = { path = "../../apistos-shuttle" }
schemars = { version = "1.0.0-alpha.11", features = ["chrono04", "uuid1", "url2", "rust_decimal1"] }
schemars = { version = "1.0.0-alpha.14", features = ["chrono04", "uuid1", "url2", "rust_decimal1"] }
serde = { version = "1.0", features = ["derive"] }
shuttle-runtime = { version = "0.47", default-features = false }
uuid = { version = "1", features = ["serde", "v4"] }
Expand Down
2 changes: 1 addition & 1 deletion examples/simple-todo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ authors = ["Netwo <oss@netwo.com>"]
[dependencies]
actix-web = "4"
apistos = { path = "../../apistos", features = ["extras", "qs_query", "rapidoc", "redoc", "scalar", "swagger-ui"] }
schemars = { version = "1.0.0-alpha.11", features = ["chrono04", "uuid1", "url2", "rust_decimal1"] }
schemars = { version = "1.0.0-alpha.14", features = ["chrono04", "uuid1", "url2", "rust_decimal1"] }
serde = { version = "1.0", features = ["derive"] }
uuid = { version = "1", features = ["serde", "v4"] }

Expand Down

0 comments on commit f4ab9d7

Please sign in to comment.