Struct rocket_okapi_fork::settings::OpenApiSettings [−][src]
pub struct OpenApiSettings { pub schema_settings: SchemaSettings, pub json_path: String, }
Expand description
Settings which are used to customise the behaviour of the OpenApiGenerator
.
Fields
schema_settings: SchemaSettings
Settings to customise how JSON Schemas are generated.
json_path: String
The path to the json file that contains the API specification. Then default is
openapi.json
.
Implementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for OpenApiSettings
impl !Send for OpenApiSettings
impl !Sync for OpenApiSettings
impl Unpin for OpenApiSettings
impl !UnwindSafe for OpenApiSettings
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
Converts self
into a collection.