macOS
brew install autorestlocal Homebrew formula metadata
安装
brew install autorestlocal Homebrew formula metadata
概览
Swagger (OpenAPI) Specification code generator
历史
AutoRest is Microsoft's OpenAPI/Swagger code generation tool for producing client libraries and SDKs, especially around Azure. It turns OpenAPI descriptions plus configuration files into generated code for languages such as C#, Java, Python, TypeScript, Go, PowerShell, and others.
The Azure/autorest repository was created in February 2015. Official repository metadata describes it as an OpenAPI, formerly Swagger, specification code generator supporting multiple languages.
AutoRest evolved around a configuration-heavy model. The official docs emphasize command-line flags, YAML/JSON/Markdown configuration files, and literate readme.md files that combine human documentation with machine-readable generation settings.
AutoRest adoption is strongly tied to Azure SDK generation and the azure-rest-api-specs repository. The official generation docs reference Azure SDK language repositories and management-plane generation, showing that AutoRest became infrastructure for large-scale, multi-language SDK production rather than just a standalone end-user CLI.
The Homebrew input lists only a Homebrew package for this batch, but official GitHub metadata shows thousands of stars and hundreds of forks for Azure/autorest, consistent with a prominent role in Azure developer tooling.
Basic usage is autorest with an input OpenAPI file and a language flag, for example autorest --input-file=pets.json --python --output-folder=myFolder/. The preferred documented workflow moves those options into a configuration file and runs autorest readme.md.
AutoRest supports YAML, JSON, and Markdown configuration. Markdown literate configuration is especially important: docs say readme.md can serve as both project documentation and the storage for generation settings, using code blocks and the magic string that identifies AutoRest configuration.
AutoRest matters to package nerds because it is generator infrastructure at cloud-provider scale. It explains why SDK repositories can contain large generated surfaces, language-specific generator packages, pinned core versions, and readme.md files that are executable configuration rather than just documentation.
安全态势
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.
./readme.md./*.md./*.markdown<config-file>.md<config-file>.json<config-file>.yaml可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
autorest | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/Azure/autorest
安装元数据
| 软件包键 | brew:autorest |
|---|---|
| 版本 | 3.8.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/autorest |
| 主页 | https://github.com/Azure/autorest |
| 仓库 | https://github.com/Azure/autorest |
| 上游文档 | https://github.com/Azure/autorest#readme |
| 许可证 | MIT |
| 源码归档 | https://registry.npmjs.org/autorest/-/autorest-3.8.0.tgz |
| 依赖 | node |
| Bottle | 可用 (于 all) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | autorest |
| Version Scheme | 0 |
| Revision | 0 |
| 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.