Expand description
Client Generator Plugin Interface
This module defines the traits and types for plugins that generate framework-specific mock clients from OpenAPI specifications.
Modules§
- helpers
- Helper functions for client generation
Structs§
- ApiInfo
- API information
- Client
Generation Result - Result of client generation
- Client
Generator Config - Client generator configuration
- Client
Generator Plugin Config - Client generator plugin configuration
- Components
- Components (schemas, responses, etc.)
- Generated
File - Generated file
- Generation
Metadata - Generation metadata
- Header
- Response header
- Media
Type - Media type
- Open
ApiSpec - OpenAPI specification data structure
- Operation
- API operation
- Parameter
- Request parameter
- Path
Item - Path item containing operations Note: We use #[serde(flatten)] for operations to handle HTTP methods (get, post, etc.) as dynamic keys, while explicitly handling other OpenAPI PathItem fields
- Request
Body - Request body
- Response
- API response Can be either a full Response object or a $ref to a component
- Schema
- JSON Schema
- Server
- Server information
Traits§
- Client
Generator Plugin - Client generator plugin trait for generating framework-specific mock clients