Ross ROSS = Recommend OSS · open-source software intelligence for agents

apple/swift-openapi-generator

Generate Swift client and server code from an OpenAPI document. observed · 2026-08-28

github.com/apple/swift-openapi-generator · homepage · Swift · Apache-2.0 (permissive) observed · 2026-08-28

Health v2 · maintenance only

94/100

  • Activity 99
  • Release rhythm 92
  • Longevity 87
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: 27.0
  • age_days: 1231
  • days_rel: 58
  • days_push: 7
  • n_releases_24m: 21

Full methodology

Adoption not part of the score

1961 stars · 180 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A Swift package plugin that generates type-safe Swift client and server code from OpenAPI 3.x documents at build time. Generated code is decoupled from HTTP libraries via transport abstractions, supporting streaming bodies and multiple content types.

Use cases

  • generate a swift client from an openapi spec
  • build a type-safe swift http server from an openapi document
  • keep ios app api client code in sync with the backend spec
  • implement server stubs for a rest api in swift
  • avoid hand-writing boilerplate http request and response code

When to choose

  • you develop in Swift and have an OpenAPI document for your API
  • you want build-time code generation so client and server code always matches the spec
  • you need framework-agnostic generated code that works with URLSession, Vapor, or other transports

When to avoid

  • your API is not described by an OpenAPI document
  • you need runtime schema validation or dynamic clients rather than compile-time generated code
  • you work outside the Swift ecosystem

Facets

plugin · maturity active

api-framework http-client http-server serialization apis web-development developer-tools backend mobile-development cross-platform openapi swiftpm-plugin code-generation client-server type-safe-api codegen swift ios macos linux

1 source

Member repositories

RepositoryRoleHealth v2
apple/swift-openapi-generatormain94

For agents

markdown · JSON · MCP: product_card(name="apple/swift-openapi-generator")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem