# Install create-api with Homebrew

Delightful code generator for OpenAPI specs. Version 0.2.0 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:create-api
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install create-api
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:create-api
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/create-api>
- **Version:** 0.2.0
- **Source summary:** Delightful code generator for OpenAPI specs
- **Homepage:** <https://github.com/CreateAPI/CreateAPI>
- **Repository:** <https://github.com/CreateAPI/CreateAPI>
- **Upstream docs:** <https://github.com/CreateAPI/CreateAPI#readme>
- **License:** MIT
- **Source archive:** <https://github.com/CreateAPI/CreateAPI/archive/refs/tags/0.2.0.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- create-api (cli)
- create-api (alias)

## Uses from macOS

- swift

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.2.0
- Local data: ok
- Upstream repository: https://github.com/CreateAPI/CreateAPI
- Upstream latest detected: 0.2.0 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

Create API is a Swift command-line code generator that turns OpenAPI 3.0 specifications into Swift client code and Swift Package outputs.

### Project history

The CreateAPI/CreateAPI repository was created in late 2021 and shipped its initial pre-release in January 2022. The README describes the project as OpenAPI code generation for Swift, written in Swift, powered by OpenAPIKit.

The 0.1.0 release in August 2022 was a major maturation point: the changelog lists Homebrew publication, Swift Package Plugin support, expanded documentation and contribution guides, command-line config overrides, configurable generated package dependencies, custom data-type mappings, and parallel path generation.

### Adoption history

The official README documents installation through Mint, Homebrew, Swift Package Plugins, and make. It also lists open-source projects using Create API, including App Store Connect API, Swift SDK for Jellyfin, and Google Generative AI SDK.

### How it is used

Users run create-api generate against a JSON or YAML OpenAPI schema, optionally passing output and configuration options. The default configuration path is .create-api.yaml, and the tool can generate complete Swift packages or individual components for integration into an existing Swift project.

### Why package nerds care

Create API sits at the intersection of API schema packaging and Swift package generation. For package maintainers, its significance is that it can convert upstream OpenAPI descriptions into reproducible Swift source bundles suitable for normal SwiftPM workflows.

### Timeline

- 2021: CreateAPI/CreateAPI repository created.
- 2022: 0.0.1 initial pre-release published.
- 2022: 0.1.0 added Homebrew publication and Swift Package Plugin support.
- 2023: 0.2.0 release published.

### Related projects

- The README says Create API is powered by OpenAPIKit and lists downstream Swift SDKs generated or maintained with the tool.

### Sources

- <https://github.com/CreateAPI/CreateAPI>
- <https://github.com/CreateAPI/CreateAPI#readme>
- <https://github.com/CreateAPI/CreateAPI/blob/main/CHANGELOG.md>
- <https://github.com/CreateAPI/CreateAPI/releases/tag/0.0.1>
- <https://github.com/CreateAPI/CreateAPI/releases/tag/0.1.0>
- <https://github.com/CreateAPI/CreateAPI/releases/tag/0.2.0>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: .create-api.yaml, .create-api.json
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** create-api
- **Version Scheme:** 0
- **Revision:** 1
- **Head Version:** HEAD
- **Requirements:** xcode
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [swagger-codegen](https://www.automicvault.com/pkg/brew/swagger-codegen/) - Shares av.db curated category or tags: api-client, cli, code-generation, developer-tools, openapi.
- [configen](https://www.automicvault.com/pkg/brew/configen/) - Shares av.db curated category or tags: cli, code-generation, developer-tools, swift.
- [mockolo](https://www.automicvault.com/pkg/brew/mockolo/) - Shares av.db curated category or tags: cli, code-generation, developer-tools, swift.
- [mogenerator](https://www.automicvault.com/pkg/brew/mogenerator/) - Shares av.db curated category or tags: cli, code-generation, developer-tools, swift.
- [openapi-generator](https://www.automicvault.com/pkg/brew/openapi-generator/) - Shares av.db curated category or tags: cli, code-generation, developer-tools, openapi.
- [rswift](https://www.automicvault.com/pkg/brew/rswift/) - Shares av.db curated category or tags: cli, code-generation, developer-tools, swift.
- [sourcery](https://www.automicvault.com/pkg/brew/sourcery/) - Shares av.db curated category or tags: cli, code-generation, developer-tools, swift.
- [swiftgen](https://www.automicvault.com/pkg/brew/swiftgen/) - Shares av.db curated category or tags: cli, code-generation, developer-tools, swift.

## Combined YAML source

View the package source record on GitHub. [combined/create-api.yml](https://github.com/automic-vault/db/blob/main/combined/create-api.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
