# 使用 npm 安装 swagger2openapi

查看 swagger2openapi 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install npm:swagger2openapi
```

其他安装命令:

### 便携式和语言管理器

- npm (100%):

```sh
npm install -g swagger2openapi
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:swagger2openapi
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/swagger2openapi>
- **版本:** 7.0.8
- **来源摘要:** Convert Swagger 2.0 definitions to OpenApi 3.0 and validate
- **主页:** <https://github.com/Mermade/oas-kit#readme>
- **仓库:** <https://github.com/Mermade/oas-kit>
- **上游文档:** <https://github.com/Mermade/oas-kit#readme>
- **许可证:** BSD-3-Clause
- **源码归档:** <https://registry.npmjs.org/swagger2openapi/-/swagger2openapi-7.0.8.tgz>
- **问题跟踪器:** <https://github.com/mermade/oas-kit/issues>
- **发布时间:** 2021-07-07T12:13:52.206Z
- **最后更新:** 2021-07-07T12:13:52.206Z
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- boast (cli)
- oas-validate (cli)
- swagger2openapi (cli)
- swagger2openapi (别名)

## 依赖

- call-me-maybe
- node-fetch
- node-fetch-h2
- node-readfiles
- oas-kit-common
- oas-resolver
- oas-schema-walker
- oas-validator
- reftools
- yaml
- yargs

## 安装行为

- post-install 钩子: 未定义
- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 7.0.8
- 管理器更新时间: 2021-07-07
- 本地数据: OK
- 上游仓库: https://github.com/Mermade/oas-kit
- 警告: The package-manager record has not been updated in over a year.
- 信息: No cached GitHub release or tag data was available.

## 安全说明

没有找到 swagger2openapi 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Beta: 2.12.0-5, Latest: 7.0.8
- **Version Count:** 156
- **Maintainers:** mermade
- **Author:** Mike Ralphson
- **Publisher:** mermade
- **Funding:** <https://github.com/Mermade/oas-kit?sponsor=1>
- **Integrity:** sha512-upi/0ZGkYgEcLeGieoz8gT74oWHA0E7JivX7aN9mAf+Tc7BQoRBvnIGHoPDw+f9TXTW4s6kGYCZJtauP6OYp7g==
- **Shasum:** 12c88d5de776cb1cbba758994930f40ad0afac59
- **Unpacked Size:** 104,695
- **File Count:** 0
- **Created At:** 2016-12-19T23:57:27.966Z
- **Latest Published At:** 2021-07-07T12:13:52.206Z
- **Modified At:** 2022-06-27T02:48:49.776Z


## 相关链接

- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched curated package taxonomy and local package facts.
- [widdershins](https://www.automicvault.com/zh-hans/pkg/npm/widdershins/) - Both packages touch the same language runtime or ecosystem. Shared terms: fetch, node, node-fetch, oas, oas-resolver.
- [oas-resolver](https://www.automicvault.com/zh-hans/pkg/npm/oas-resolver/) - Both packages touch the same language runtime or ecosystem. Shared terms: common, definitions, fetch, kit, node.
- [oas-resolver-browser](https://www.automicvault.com/zh-hans/pkg/npm/oas-resolver-browser/) - Both packages touch the same language runtime or ecosystem. Shared terms: common, definitions, fetch, kit, node.

## 来源

- Nucleus package database
- package-page enrichment
- package version freshness
- package relationship graph
- cross-ecosystem install command graph
