1
0
Fork 0
mirror of https://gitlab.com/msrd0/gotham-restful.git synced 2025-04-20 14:57:01 +00:00

start adding openapi support

This commit is contained in:
Dominic 2019-09-29 21:15:22 +02:00
parent 3626e5360c
commit df1d11e42d
Signed by: msrd0
GPG key ID: DCC8C247452E98F9
5 changed files with 313 additions and 0 deletions

View file

@ -21,7 +21,9 @@ futures = "0.1"
gotham = "0.4"
gotham_derive = "0.4"
hyper = "0.12"
indexmap = { version = "1.0", optional = true }
mime = "0.3"
openapiv3 = { version = "0.3", optional = true }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
@ -29,3 +31,7 @@ serde_json = "1"
fake = "2.2"
log = "0.4"
log4rs = { version = "0.8", features = ["console_appender"], default-features = false }
[features]
default = ["openapi"]
openapi = ["indexmap", "openapiv3"]