Skip to main content

Module ast

Module ast 

Source

Structs§

Api
A normalized, language-neutral description of an API.
Discriminator
Field
OAuthFlow
One named OAuth2 flow, including its token endpoints and advertised scopes.
Operation
OperationMediaType
A named representation carried by a request or response.
OperationParameter
A path, query, header, or cookie input accepted by an operation. location intentionally remains a string so the neutral AST can preserve future or vendor-defined OpenAPI locations instead of rejecting an otherwise valid source document.
OperationRequestBody
An operation request body, retaining the schemas for each media type.
OperationResponse
A response grouped by OpenAPI status code (or default).
Schema
A named reusable schema, normally an OpenAPI component schema.
SchemaValue
A recursively composable API type. This is deliberately target neutral: plugins decide whether (for example) String { format: uuid } becomes a branded TypeScript string, a Python UUID, or a Rust uuid::Uuid.
SecurityRequirement
One OpenAPI Security Requirement Object. Multiple values in Operation::security are alternatives; the map entries in one value are conjunctive scheme requirements.
SecurityScheme
A named OpenAPI component security scheme.
SecuritySchemeCatalog
Reusable security-scheme metadata from OpenAPI components.

Enums§

AdditionalProperties
OpenAPI’s additionalProperties has three semantically distinct states.
HttpMethod
SchemaKind
The structural part of a SchemaValue.
SecuritySchemeKind
The credential metadata a generator needs to materialize an OpenAPI security scheme. Unsupported/future scheme kinds are retained as Other rather than discarded at the sidecar boundary.