[−][src]Function rocket_okapi::util::add_schema_response
pub fn add_schema_response(
responses: &mut Responses,
status: u16,
content_type: impl ToString,
schema: SchemaObject
) -> Result<()>
Adds a Response
to a Responses
object with the given status code, Content-Type and SchemaObject
.