Trait rocket_okapi_fork::response::OpenApiResponderInner[][src]

pub trait OpenApiResponderInner {
    fn responses(gen: &mut OpenApiGenerator) -> Result<Responses>;
}
Expand description

Implementing this trait means that any route returning the implementer can be marked with #[openapi], and that the route can be documented.

Required methods

Create the responses type, which is a list of responses that can be rendered in openapi.json format.

Implementations on Foreign Types

Implementors