[][src]Trait openapi_utils::ResponseExt

pub trait ResponseExt {
    fn json_schema(&self) -> Option<&Schema>;
}

Extension methods for Response

Required methods

fn json_schema(&self) -> Option<&Schema>

Returns the Schema for this response if it responds with application/json

Loading content...

Implementations on Foreign Types

impl ResponseExt for Response[src]

fn json_schema(&self) -> Option<&Schema>[src]

Gets the response for a status code in the operation

Loading content...

Implementors

Loading content...