macOS
brew install create-apilocal Homebrew formula metadata
安装
brew install create-apilocal Homebrew formula metadata
概览
Delightful code generator for OpenAPI specs
历史
Create API is a Swift command-line code generator that turns OpenAPI 3.0 specifications into Swift client code and Swift Package outputs.
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.
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.
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.
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
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.
Config paths the tool may read or write during local use.
.create-api.yaml.create-api.json可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
create-api | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/CreateAPI/CreateAPI
安装元数据
| 软件包键 | brew:create-api |
|---|---|
| 版本 | 0.2.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/create-api |
| 主页 | https://github.com/CreateAPI/CreateAPI |
| 仓库 | https://github.com/CreateAPI/CreateAPI |
| 上游文档 | https://github.com/CreateAPI/CreateAPI#readme |
| 许可证 | MIT |
| 源码归档 | https://github.com/CreateAPI/CreateAPI/archive/refs/tags/0.2.0.tar.gz |
| macOS 提供的库 | swift |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | create-api |
| Version Scheme | 0 |
| Revision | 1 |
| Head Version | HEAD |
| Requirements |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.