mirror of
https://github.com/stoatchat/rust-okapi.git
synced 2026-06-30 21:57:54 -04:00
fix: correct crate versioning
This commit is contained in:
@@ -6,6 +6,6 @@ edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
rocket = { version = "0.5.0-rc.1", default-features = false, features = ["json"] }
|
||||
revolt_rocket_okapi = { version = "0.8.0-alpha-1", path = "../../rocket-okapi", features = ["swagger", "rapidoc"] }
|
||||
revolt_rocket_okapi = { version = "0.9.1", path = "../../rocket-okapi", features = ["swagger", "rapidoc"] }
|
||||
serde = "1.0"
|
||||
serde_json = "1.0"
|
||||
|
||||
@@ -6,5 +6,5 @@ edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
rocket = { version = "0.5.0-rc.1", default-features = false, features = ["json"] }
|
||||
revolt_rocket_okapi = { version = "0.8.0-alpha-1", path = "../../rocket-okapi", features = ["swagger", "rapidoc"] }
|
||||
revolt_rocket_okapi = { version = "0.9.1", path = "../../rocket-okapi", features = ["swagger", "rapidoc"] }
|
||||
serde = "1.0"
|
||||
|
||||
@@ -6,7 +6,7 @@ edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
rocket = { version = "0.5.0-rc.1", default-features = false, features = ["json", "secrets"] }
|
||||
revolt_rocket_okapi = { version = "0.8.0-alpha-1", path = "../../rocket-okapi", features = ["rapidoc", "swagger", "secrets"] }
|
||||
revolt_rocket_okapi = { version = "0.9.1", path = "../../rocket-okapi", features = ["rapidoc", "swagger", "secrets"] }
|
||||
serde = "1.0"
|
||||
tokio = "1.6"
|
||||
serde_json = "1.0"
|
||||
|
||||
@@ -6,5 +6,5 @@ edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
rocket = { version = "0.5.0-rc.1", default-features = false, features = ["json"] }
|
||||
revolt_rocket_okapi = { version = "0.8.0-alpha-1", path = "../../rocket-okapi", features = ["swagger", "rapidoc"] }
|
||||
revolt_rocket_okapi = { version = "0.9.1", path = "../../rocket-okapi", features = ["swagger", "rapidoc"] }
|
||||
serde = "1.0"
|
||||
|
||||
@@ -6,5 +6,5 @@ edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
rocket = { version = "0.5.0-rc.1", default-features = false, features = ["json"] }
|
||||
revolt_rocket_okapi = { version = "0.8.0-alpha-1", path = "../../rocket-okapi", features = ["swagger", "rapidoc"] }
|
||||
revolt_rocket_okapi = { version = "0.9.1", path = "../../rocket-okapi", features = ["swagger", "rapidoc"] }
|
||||
serde = "1.0"
|
||||
|
||||
@@ -11,6 +11,6 @@ edition = "2018"
|
||||
[dependencies]
|
||||
rocket = { version = "0.5.0-rc.1", default-features = false, features = ["json", "uuid"] }
|
||||
schemars = { version = "0.8", features = ["uuid"] }
|
||||
revolt_rocket_okapi = { version = "0.8.0-alpha-1", path = "../../rocket-okapi", features = ["swagger", "rapidoc", "uuid"] }
|
||||
revolt_rocket_okapi = { version = "0.9.1", path = "../../rocket-okapi", features = ["swagger", "rapidoc", "uuid"] }
|
||||
serde = "1.0"
|
||||
uuid = { version = "0.8.2", features = ["v4"] }
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
name = "revolt_okapi"
|
||||
description = "Structs for OpenAPI (AKA Swagger) documents"
|
||||
repository = "https://github.com/revoltchat/okapi"
|
||||
version = "0.9.0"
|
||||
version = "0.9.1"
|
||||
authors = ["Graham Esau <gesau@hotmail.co.uk>"]
|
||||
edition = "2018"
|
||||
license = "MIT"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
name = "revolt_rocket_okapi_codegen"
|
||||
description = "Macros supporting rocket_okapi"
|
||||
repository = "https://github.com/revoltchat/okapi"
|
||||
version = "0.9.0"
|
||||
version = "0.9.1"
|
||||
authors = ["Graham Esau <gesau@hotmail.co.uk>"]
|
||||
edition = "2018"
|
||||
license = "MIT"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
name = "revolt_rocket_okapi"
|
||||
description = "OpenAPI (AKA Swagger) document generation for Rocket applications"
|
||||
repository = "https://github.com/revoltchat/okapi"
|
||||
version = "0.9.0"
|
||||
version = "0.9.1"
|
||||
authors = ["Graham Esau <gesau@hotmail.co.uk>"]
|
||||
edition = "2018"
|
||||
license = "MIT"
|
||||
@@ -13,8 +13,8 @@ categories = ["web-programming"]
|
||||
[dependencies]
|
||||
rocket = { version = "0.5.0-rc.2", default-features = false, features = ["json"] }
|
||||
schemars = { version = "0.8" }
|
||||
revolt_okapi = { version = "0.7.0-rc.1", path = "../okapi" }
|
||||
revolt_rocket_okapi_codegen = { version = "=0.8.0-rc.1", path = "../rocket-okapi-codegen" }
|
||||
revolt_okapi = { version = "0.9.1", path = "../okapi" }
|
||||
revolt_rocket_okapi_codegen = { version = "=0.9.1", path = "../rocket-okapi-codegen" }
|
||||
serde = "1.0"
|
||||
serde_json = "1.0"
|
||||
log = "0.4"
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
//! rocket = { version = "0.5.0-rc.1", default-features = false, features = ["json"] }
|
||||
//! schemars = "0.8"
|
||||
//! okapi = { version = "0.6.0-alpha-1" }
|
||||
//! revolt_rocket_okapi = { version = "0.8.0-alpha-1", features = ["swagger"] }
|
||||
//! revolt_rocket_okapi = { version = "0.9.1", features = ["swagger"] }
|
||||
//! ```
|
||||
//! To add documentation to a set of endpoints, a couple of steps are required. The request and
|
||||
//! response types of the endpoint must implement `JsonSchema`. Secondly, the function must be
|
||||
|
||||
Reference in New Issue
Block a user