fn gen_response(gen: &mut OpenApiGenerator, title: &str, body: &str) -> Response
Expand description

Generates an OpenAPI 3 response object, given a title and a body. This function also expects that the response content is always in JSON format.