v30 library

A comprehensive library for working with OpenAPI 3.0 (Swagger) documents.

Classes

Contact
Represents the contact information for the API.
Discriminator
The Discriminator Object gives a hint about the expected schema of the document when request bodies or response payloads may be one of a number of different schemas.
ExternalDocs
Represents external documentation for the API.
Describes a single header for HTTP responses and multipart parts.
Info
Represents the metadata about the API.
License
Represents the license information for the API.
MediaType
Describes a single media type object, such as 'application/json' or 'image/png'.
OAuthFlow
Represents the configuration details for a supported OAuth Flow.
OAuthFlows
Allows configuration of the supported OAuth Flows.
OpenAPI
The root document object of the OpenAPI 3.0 specification.
OpenAPIParser
Utility class to parse OpenAPI specs
Operation
Describes a single API operation on a path.
PathItem
Describes the operations available on a single path.
RequestBody
Describes a single request body.
Response
Describes a single API response.
Schema
The Schema Object allows the definition of input and output data types for OpenAPI 2.0.
SecurityRequirement
Represents a Security Requirement Object in OpenAPI/Swagger 2.0.
SecurityScheme
Defines a security scheme that can be used by the operations.
Server
An object representing a Server.
Tag
Represents a tag used for grouping API operations.
Xml
Describes the XML representation of an object.

Extensions

ContactPatterns on Contact
Adds pattern-matching-related methods to Contact.
DiscriminatorPatterns on Discriminator
Adds pattern-matching-related methods to Discriminator.
ExternalDocsPatterns on ExternalDocs
Adds pattern-matching-related methods to ExternalDocs.
HeaderPatterns on Header
Adds pattern-matching-related methods to Header.
InfoPatterns on Info
Adds pattern-matching-related methods to Info.
LicensePatterns on License
Adds pattern-matching-related methods to License.
MediaTypePatterns on MediaType
Adds pattern-matching-related methods to MediaType.
OAuthFlowPatterns on OAuthFlow
Adds pattern-matching-related methods to OAuthFlow.
OAuthFlowsPatterns on OAuthFlows
Adds pattern-matching-related methods to OAuthFlows.
OpenAPIPatterns on OpenAPI
Adds pattern-matching-related methods to OpenAPI.
OperationPatterns on Operation
Adds pattern-matching-related methods to Operation.
PathItemPatterns on PathItem
Adds pattern-matching-related methods to PathItem.
RequestBodyPatterns on RequestBody
Adds pattern-matching-related methods to RequestBody.
ResponsePatterns on Response
Adds pattern-matching-related methods to Response.
SchemaPatterns on Schema
Adds pattern-matching-related methods to Schema.
SecuritySchemePatterns on SecurityScheme
Adds pattern-matching-related methods to SecurityScheme.
ServerPatterns on Server
Adds pattern-matching-related methods to Server.
TagPatterns on Tag
Adds pattern-matching-related methods to Tag.
XmlPatterns on Xml
Adds pattern-matching-related methods to Xml.