Swift OpenAPI Generator is a Swift Package plugin that reads an OpenAPI document (YAML/JSON) and emits strongly typed client and server code. It removes boilerplate around request/response wiring so you focus on business logic while keeping strict type safety. The generated code uses a separate runtime package with pluggable transports and middlewares, enabling you to swap HTTP stacks or add cross-cutting concerns without touching the API layer. Swift-idiomatic naming and code structure in outputs. The project tracks ergonomic details like Swift casing conventions for generated types and properties. Releases provide a predictable upgrade path as the generator/runtimes evolve. Together, the plugin and runtime form a standardized pipeline from OpenAPI to production-ready Swift code.
Features
- Typed client and server generation from OpenAPI specs
- Pluggable transports and middlewares in a shared runtime
- Swift-idiomatic naming and code structure in outputs
- Clear separation of schema, generator, and runtime concerns
- Works with Swift Package Manager and CI
- Incremental releases for stable integration paths