Trait poem_openapi::ResponseContent
source · pub trait ResponseContent {
// Required method
fn media_types() -> Vec<MetaMediaType>;
// Provided method
fn register(registry: &mut Registry) { ... }
}
Expand description
Represents a OpenAPI response content object.
Required Methods§
sourcefn media_types() -> Vec<MetaMediaType>
fn media_types() -> Vec<MetaMediaType>
Returns the media types in this content.