# Install swagger2openapi with npm

Convert Swagger 2.0 definitions to OpenApi 3.0 and validate. Version 7.0.8 via npm; verified 2021-07-07.

## Install

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

Additional install commands:

### Portable and language managers

- npm (100%):

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

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:swagger2openapi
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/swagger2openapi>
- **Version:** 7.0.8
- **Source summary:** Convert Swagger 2.0 definitions to OpenApi 3.0 and validate
- **Homepage:** <https://github.com/Mermade/oas-kit#readme>
- **Repository:** <https://github.com/Mermade/oas-kit>
- **Upstream docs:** <https://github.com/Mermade/oas-kit#readme>
- **License:** BSD-3-Clause
- **Source archive:** <https://registry.npmjs.org/swagger2openapi/-/swagger2openapi-7.0.8.tgz>
- **Issue tracker:** <https://github.com/mermade/oas-kit/issues>
- **Published:** 2021-07-07T12:13:52.206Z
- **Last updated:** 2021-07-07T12:13:52.206Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- boast (cli)
- oas-validate (cli)
- swagger2openapi (cli)
- swagger2openapi (alias)

## Dependencies

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

## Install behavior

- Post-install hook: not defined
- Bottle: not available

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 7.0.8
- Package-manager updated: 2021-07-07
- Local data: ok
- Upstream repository: https://github.com/Mermade/oas-kit
- warning: The package-manager record has not been updated in over a year.
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for swagger2openapi. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **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


## Related links

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

## Sources

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