1
0
Fork 0
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:
Dominic 2019-09-30 17:34:48 +02:00
parent df1d11e42d
commit 8b0d655ebb
Signed by: msrd0
GPG key ID: DCC8C247452E98F9
2 changed files with 45 additions and 16 deletions

View file

@ -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"]