Expand description
Axum router building from OpenAPI specifications
This module handles the creation of Axum routers from OpenAPI specifications, including route registration and middleware integration.
Structs§
- Router
Builder - Router builder for creating complex routing configurations
Functions§
- build_
router_ from_ spec - Build an Axum router from an OpenAPI specification
- build_
router_ from_ spec_ with_ options - Build an Axum router from an OpenAPI specification with custom options
- create_
route_ handler - Helper function to create route handlers
- create_
router_ with_ error_ handling - Create a router with error handling middleware
- create_
router_ with_ logging - Create a router with logging middleware
- create_
router_ with_ validation - Create a router with validation middleware
- error_
handler - Middleware function to handle errors and panics
- merge_
routers - Merge multiple routers into a single router
- request_
logger - Middleware function to log incoming requests
- validate_
request - Middleware function to validate requests against OpenAPI spec