add_schema_response

Function add_schema_response 

Source
pub fn add_schema_response(
    responses: &mut Responses,
    status: u16,
    content_type: impl ToString,
    schema: SchemaObject,
) -> Result<()>
Expand description

Adds a Response to a Responses object with the given status code, Content-Type and SchemaObject.