Module minerva_rest::controller::response
source · [−]Expand description
This submodule contains structures and helper functions for creating responses for a request.
Enums
Enumeration containing many kinds of error responses to a REST request that
was received. All of these responses should contain an embedded JSON in
String format. These error responses are modelled after HTTP response codes.
Functions
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.
Type Definitions
Generic Result type for responses on REST routes.