mirror of
https://gitlab.com/msrd0/gotham-restful.git
synced 2025-04-20 14:57:01 +00:00
registration of openapi handler
This commit is contained in:
parent
df1d11e42d
commit
8b0d655ebb
2 changed files with 45 additions and 16 deletions
|
@ -22,6 +22,7 @@ gotham = "0.4"
|
|||
gotham_derive = "0.4"
|
||||
hyper = "0.12"
|
||||
indexmap = { version = "1.0", optional = true }
|
||||
log = { version = "0.4", optional = true }
|
||||
mime = "0.3"
|
||||
openapiv3 = { version = "0.3", optional = true }
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
|
@ -34,4 +35,4 @@ log4rs = { version = "0.8", features = ["console_appender"], default-features =
|
|||
|
||||
[features]
|
||||
default = ["openapi"]
|
||||
openapi = ["indexmap", "openapiv3"]
|
||||
openapi = ["indexmap", "log", "openapiv3"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue