Expand description
Responses.
siderite owns IntoResponse so response types document themselves for
OpenAPI through IntoResponse::describe (default: nothing). Handlers may
return impl IntoResponse.
Structs§
- Html
- HTML response body.
- Json
- JSON body (response) or JSON request extractor.
- Json
Dump - JSON response serialized with explicit
DumpOptions(FastAPIresponse_model_exclude_noneand friends). - NoContent
204 No Contentresponse.- Plain
Text text/plainresponse body.- With
Status - Overrides the status code of an inner response.
Constants§
- SUCCESS
- Status code under which handler return types document success.
Traits§
- Into
Response - Convert a value into an HTTP response.