v31 library
A comprehensive library for working with OpenAPI 3.1 (Swagger) documents.
Classes
- Callback
- A map of possible out-of-band callbacks related to the parent operation.
- Components
- An object to hold reusable objects for the specification.
- 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.
- Example
- An object grouping an internal or external example value with basic summary and description metadata.
- ExternalDocs
- Represents external documentation for the API.
- Header
- Describes a single header for HTTP responses and multipart parts.
- Info
- Represents the metadata about the API.
- License
- License information for the exposed API.
- Link
- A Link Object represents a possible design-time link for a response.
- 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.1 specification.
- OpenAPIParser
- Utility class to parse OpenAPI specs
- Operation
- Describes a single API operation on a path.
- Parameter
- Describes a single operation parameter.
- 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 3.1.
- 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.
- ServerVariable
- An object representing a Server Variable for server URL template substitution.
- Tag
- Represents a tag used for grouping API operations.
- Xml
- Describes the XML representation of an object.
Extensions
- ComponentsPatterns on Components
- Adds pattern-matching-related methods to Components.
- ContactPatterns on Contact
- Adds pattern-matching-related methods to Contact.
- DiscriminatorPatterns on Discriminator
- Adds pattern-matching-related methods to Discriminator.
- ExamplePatterns on Example
- Adds pattern-matching-related methods to Example.
- 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.
- LinkPatterns on Link
- Adds pattern-matching-related methods to Link.
- 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.
- ParameterPatterns on Parameter
- Adds pattern-matching-related methods to Parameter.
- 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.
- ServerVariablePatterns on ServerVariable
- Adds pattern-matching-related methods to ServerVariable.
- TagPatterns on Tag
- Adds pattern-matching-related methods to Tag.
- XmlPatterns on Xml
- Adds pattern-matching-related methods to Xml.