Expand description
Core implementation for the oxapi OpenAPI server stub generator.
Structs§
- Generator
- Main generator that coordinates all the pieces.
- Generator
Builder - Builder for configuring and creating a Generator.
- Method
Transformer - Transforms user-defined trait methods based on OpenAPI operations.
- Operation
- A parsed OpenAPI operation.
- Operation
Param - A parsed operation parameter.
- Parsed
Spec - Parsed OpenAPI specification.
- Response
Generator - Generator for response enums.
- Response
Suffixes - Configuration for response type suffixes and derives.
- Router
Generator - Generator for axum router code.
- Type
Generator - Type generator that wraps typify’s TypeSpace.
- Type
Override Key - Key for looking up type overrides.
- Type
Overrides - Collection of type overrides for generated types.
- Type
Space Patch - Contains a set of modifications that may be applied to an existing type.
- Type
Space Settings - Settings that alter type generation.
- Variant
Override - Variant override info: name, inner type name, and attributes to pass through.
Enums§
- Error
- Generated
Type Kind - Kind of generated type for an operation.
- Http
Method - HTTP methods supported by OpenAPI.
- Param
Location - Location of a parameter.
- Param
Role - Role of a parameter in a handler function.
- Type
Override - Override for a generated type - either rename or replace.