Struct anicca::openapi::OpenAPI [−][src]
pub struct OpenAPI { pub openapi: String, pub info: Info, pub servers: Vec<Server>, pub paths: Paths, pub components: Option<Components>, pub security: Option<Vec<SecurityRequirement>>, pub tags: Vec<Tag>, pub external_docs: Option<ExternalDocumentation>, pub extensions: BTreeMap<String, Value>, }
Fields
openapi: String
REQUIRED. This string MUST be the semantic version number of the OpenAPI Specification version that the OpenAPI document uses. The openapi field SHOULD be used by tooling specifications and clients to interpret the OpenAPI document. This is not related to the API info.version string.
info: Info
servers: Vec<Server>
paths: Paths
components: Option<Components>
security: Option<Vec<SecurityRequirement>>
external_docs: Option<ExternalDocumentation>
extensions: BTreeMap<String, Value>
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for OpenAPI
impl UnwindSafe for OpenAPI
Blanket Implementations
Mutably borrows from an owned value. Read more