Skip to main content

Module analysis

Module analysis 

Source

Structs§

AnalyzedSchema
DependencyGraph
DetectedPatterns
EnumExtensions
Q2.6 — vendor extensions describing a string enum’s variant names and per-variant descriptions. Length must match the schema’s enum array; mismatched extensions are dropped at analysis time with a warning.
OperationInfo
Information about an OpenAPI operation
ParameterInfo
Information about an operation parameter
PropertyConstraints
Q2.4 — per-property OpenAPI constraint annotations (minimum/maximum/minLength/maxLength/pattern/etc.). Populated during analysis from SchemaDetails; consumed by the generator to emit doc comments and/or #[validate(...)] attrs.
PropertyInfo
SchemaAnalysis
SchemaAnalyzer
SchemaRef
UnionVariant

Enums§

ArrayItemType
Item type of a typed array query parameter. The two variants need different handling in codegen: scalars are already Rust type strings (possibly paths like rust_decimal::Decimal from [type_mappings]), while enum refs are raw schema names that must run through to_rust_type_name sanitization (cloudflare: resource-sharing_resource_type).
ObjectAdditionalProperties
How an Object handles additionalProperties. Q2.3 split the pre-existing bool into a three-way enum so the generator can emit a typed BTreeMap<String, T> when the spec provides a value-type schema instead of degrading to serde_json::Value.
QuerySerialization
How the client serializes an object- or array-schema query parameter onto the request URL. Consumed by ClientGenerator::generate_query_params and get_param_rust_type; server codegen and the registry deliberately keep the String fallback for now (openapi-generator-0jz).
RequestBodyContent
Content type and schema for a request body
SchemaType

Functions§

merge_schema_extensions
Merge schema extension files into the main OpenAPI specification Uses simple recursive JSON object merging