A Swift-based code generator that creates handcrafted-looking Swift code from OpenAPI specifications.
CreateAPI is a Swift tool that generates Swift code from OpenAPI specifications. It transforms API definitions into clean, idiomatic Swift code that integrates seamlessly into Swift projects, saving developers time and ensuring consistency.
Swift developers and teams who need to integrate with RESTful APIs defined by OpenAPI specifications, particularly those working on iOS, macOS, or other Swift-based applications.
Developers choose CreateAPI for its fast performance on large specs, smart generation of handcrafted-like code, and high customizability, offering a reliable and delightful alternative to manual API integration or less tailored code generators.
Delightful code generator for OpenAPI specs
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Processes large OpenAPI specs with 100K lines of YAML in under a second, as highlighted in the README, making it efficient for complex APIs.
Generates Swift code that looks carefully written by hand, ensuring natural integration and maintainability in Swift projects.
Tested on over 1 million lines of public OpenAPI specs, providing confidence in correctness and reducing manual validation efforts.
Offers extensive configuration options via .create-api.yaml and command-line overrides, allowing tailored code generation for specific project needs.
Only supports OpenAPI 3.0.x specifications, excluding older versions or alternative API description formats, which can be a barrier for legacy systems.
Requires managing a YAML configuration file for customization, which can be complex and time-consuming to set up correctly, especially for new users.
Generation errors can occur with poorly formatted or incomplete OpenAPI specs, necessitating manual fixes and adding overhead to the workflow.