Cargo Features

salvo-oapi has no features set by default.

[dependencies]
salvo-oapi = { version = "0.74.1", features = ["full", "swagger-ui", "redoc", "chrono", "decimal", "decimal-float", "non-strict-integers", "url", "ulid", "uuid", "time", "smallvec", "indexmap", "yaml", "preserve-order", "preserve-path-order", "preserve-prop-order"] }
full = chrono, decimal, indexmap, non-strict-integers, rapidoc, redoc, scalar, smallvec, swagger-ui, time, ulid, url, uuid, yaml
swagger-ui full?

Enables rust-embed

scalar rapidoc redoc full?
chrono full?

Enables chrono of salvo-oapi-macros and chrono

Feature optional dependencies

decimal full?

Enables rust_decimal, decimal of salvo-oapi-macros

decimal-float

Enables rust_decimal, decimal-float of salvo-oapi-macros

non-strict-integers full?

Enables non-strict-integers of salvo-oapi-macros

url full?

Enables url, url of salvo-oapi-macros

ulid full?

Enables ulid, ulid of salvo-oapi-macros

uuid full?

Enables uuid, uuid of salvo-oapi-macros

time full?

Enables time, time of salvo-oapi-macros

smallvec full?

Enables smallvec, smallvec of salvo-oapi-macros

indexmap full?

Enables indexmap of salvo-oapi-macros

yaml full?

Enables serde_yaml

preserve-order = preserve-path-order, preserve-prop-order
preserve-path-order preserve-order?

Affects openapi::PathMap

preserve-prop-order preserve-order?

Affects openapi::PropMap