2 repository-uri
Automatically generates API path and query parameter definitions from native language structures.
Distinct from Struct-to-Argument Mapping: Existing candidates focus on GraphQL, database rows, or generic type conversion, not OpenAPI parameter derivation from structs.
Explore 2 awesome GitHub repositories matching web development · Struct-to-Parameter Mappings. Refine with filters or upvote what's useful.
go-swagger is a toolkit for working with Swagger/OpenAPI 2.0 specifications in Go. It generates server, client, and CLI code from a specification document, and can also produce a specification by scanning annotated Go source code. The project includes a static validation engine that checks documents against the schema and project-specific rules, and a specification transformation pipeline that resolves, flattens, and merges documents. The toolkit generates both client and server code from the same specification, ensuring consistency in request and response handling. It also produces a command
Marks struct fields with swagger:params to define path, query, or header parameters for an API operation.
utoipa is a Rust API documentation tool used to generate machine-readable OpenAPI specifications. It functions as a specification generator and schema mapper that converts Rust structs and enums into compliant OpenAPI schemas. The project distinguishes itself by using procedural macros and traits to automate metadata extraction from code. It supports complex data modeling, including generics, polymorphism, and recursive type resolution, while synchronizing field renaming and tagging from serialization attributes. It also enables the composition of modular specifications, allowing multiple sma
Generates path and query parameter definitions directly from Rust structs using documentation comments.