Files
rust-okapi/examples/custom_schema/Cargo.toml
T
ralpha af52ba1c39 Retrieve and merge OpenApi objects
- Allow customization of OpenApi object.
- Allow merging of OpenApi objects.
- Retrieve OpenApi object after generating. (Closes: #28)
- Create `mount_endpoints_and_merged_docs` marco in order to streamline code structure for
bigger projects. (Closes: #30)
- Added new example for structuring bigger projects.
- Allowed changing path where OpenApi file is hosted.
- Added `log v0.4` as a dependency.
2021-09-07 23:01:53 +02:00

14 lines
493 B
TOML

[package]
name = "custom_schema"
version = "0.1.0"
authors = ["Ralph Bisschops <ralph.bisschops.dev@gmail.com>"]
edition = "2018"
[dependencies]
rocket = { version = "0.5.0-rc.1", default-features = false, features = ["json"] }
schemars = { version = "0.8", features = ["preserve_order"] }
okapi = { version = "0.6.0-alpha-1", path = "../../okapi" }
rocket_okapi = { version = "0.8.0-alpha-1", path = "../../rocket-okapi", features = ["swagger", "rapidoc"] }
serde = "1.0"
serde_json = "1.0"