Skip to main content

set_openapi_config

Function set_openapi_config 

Source
pub fn set_openapi_config(
    config: Option<OpenAPIConfig>,
) -> Result<Option<&'static OpenAPIConfig>, Error>
Expand description

Set the OpenAPI configuration directly

§Errors

Will return Err if the configuration can’t be set