🍺 BREW Explorer

← all formulae

create-api

brew install create-api v0.2.0_1 MIT

Delightful code generator for OpenAPI specs

2
30-day installs · #12931
11
90-day · #11658
80
365-day · #9794
449
★ GitHub stars · updated 2y ago

GitHub topics

code-generation codegen openapi

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [],
  "categories": [],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Delightful code generator for OpenAPI specs",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:36:41+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "create-api",
  "github_default_branch": "main",
  "github_last_commit_at": "2024-08-14T23:46:03Z",
  "github_readme_excerpt": "\u003cimg width=\"80px\" src=\"https://user-images.githubusercontent.com/1567433/146774765-4671c989-62c3-4418-8bdb-2773d7a26067.png\"\u003e\n\n# Create API\n\nDelightful code generation for OpenAPI specs for Swift written in Swift.\n\n- **Fast**: processes specs with 100K lines of YAML in less than a second\n- **Smart**: generates Swift code that looks like it\u0027s carefully written by hand\n- **Reliable**: tested on 1KK lines of publicly available OpenAPI specs producing correct code every time\n- **Customizable**: offers a ton of customization options\n\n\u003e Powered by [OpenAPIKit](https://github.com/mattpolzin/OpenAPIKit)\n\n## Installation\n\n### [Mint](https://github.com/yonaskolb/Mint)\n\n```bash\n$ mint install CreateAPI/CreateAPI\n```\n\n### [Homebrew](https://formulae.brew.sh/formula/create-api)\n\n```bash\n$ brew install create-api\n```\n\n### Swift Package Plugins\n\n- [Creating a Swift Package Plugin](./Docs/SwiftPackagePlugins.md)\n\n### Make\n\n```bash\n$ git clone https://github.com/CreateAPI/CreateAPI.git\n$ cd CreateAPI\n$ make install\n```\n\n## Getting Started\n\nYou\u0027ll need an [OpenAPI schema](https://swagger.io/specification/) (using 3.0.x) for your API. If your schema has external references, you might also need to bundle it beforehand.\n\nIf you have never used CreateAPI before, be sure to check out our tutorial: [Generating an API with CreateAPI](./Docs/Tutorial.md)\n\nCreateAPI can generate complete Swift Package bundles but can also generate individual components to integrate into an existing project. Either way, you\u0027ll want to use the `generate` command:\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cb\u003e\u003ccode\u003e$ create-api generate --help\u003c/code\u003e\u003c/b\u003e\u003c/summary\u003e\n\n```\nUSAGE: create-api generate \u003cinput\u003e [--output \u003coutput\u003e] [--config \u003cconfig\u003e] [--config-option \u003cconfig-option\u003e ...] [--verbose] [--strict] [--allow-errors] [--clean] [--watch] [--single-threaded] [--measure]\n\nARGUMENTS:\n  \u003cinput\u003e                 The path to the OpenAPI spec in either JSON or YAML format\n\nOPTIONS:\n  --output \u003coutput\u003e       The directory where generated outp",
  "github_repo": "CreateAPI/CreateAPI",
  "github_stars": 449,
  "github_topics": [
    "code-generation",
    "codegen",
    "openapi"
  ],
  "homepage": "https://github.com/CreateAPI/CreateAPI",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 2,
  "installs_365d": 80,
  "installs_90d": 11,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "MIT",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "create-api",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 12931,
  "rank_365d": 9794,
  "rank_90d": 11658,
  "raw_hash": "52a6a1d6cc450d35",
  "recommended_dependencies": [],
  "revision": 1,
  "ruby_source_path": "Formula/c/create-api.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [
    "swift"
  ],
  "version_head": "HEAD",
  "version_stable": "0.2.0",
  "versioned_formulae": [],
  "why_use_this": null
}