2 repositorios
Tools that create language-specific type definitions and data structures from API schemas.
Distinct from Data Model Generation: Existing candidates focus on database model generation or programmatic class modeling, not OpenAPI-to-Go mapping.
Explore 2 awesome GitHub repositories matching programming languages & runtimes · API Model Generators. Refine with filters or upvote what's useful.
oapi-codegen is a suite of generators that converts OpenAPI 3 specifications into type-safe Go client libraries, server boilerplate, and data models. It provides tools for producing production-ready HTTP clients and server-side interfaces to ensure that Go implementations remain compliant with defined API contracts. The tool supports server generation across various web frameworks and allows for extensive customization via template overrides, specification overlays, and custom type definition mappings. It handles complex API requirements through external reference resolution to organize code
Creates type definitions and data structures based on the schemas defined in an OpenAPI specification.
OpenRewrite is an automated refactoring engine and source-to-source migration framework. It uses a lossless semantic tree parser to represent source code as type-aware trees that preserve original whitespace and formatting, enabling precise and deterministic modifications. The project utilizes a declarative refactoring pipeline where sequences of transformations are defined in YAML to resolve breaking changes and technical debt. It features type-aware pattern matching and cross-language model mapping to apply similar refactoring patterns across different programming languages. The framework
Creates a compressed map of public API elements to reduce dependency size during recipe development.