Cargo Features

Okapi has no features set by default.

[dependencies]
okapi = { version = "0.7.0", features = ["impl_json_schema", "preserve_order"] }
impl_json_schema

Implements JsonSchema for Schemars and Okapi types themselves.

Enables impl_json_schema of schemars

preserve_order

Preserve the order of items in schema and other part of the OpenAPI documentation.

Enables preserve_order of schemars