Skip to main content

Module openapi

Module openapi 

Source
Expand description

OpenAPI 3.0.3 code-first generation from rest: DSL AST blocks.

Spec §10: each operation maps to paths.<full_path>.<verb> with parameters from path templates, requestBody from request_schema, and responses from response metadata or weak stubs.

Structs§

OpenApiGenerationResult
Result of OpenAPI generation — the document plus any warnings.

Functions§

generate_openapi
Generate an OpenAPI 3.0.3 document from parsed rest: AST blocks.