Back to Scalar

Postman to OpenAPI Converter

packages/postman-to-openapi/README.md

latest1.2 KB
Original Source

Postman to OpenAPI Converter

Convert Postman collections to the open standard OpenAPI. Free the postman!

Installation

bash
npm install @scalar/postman-to-openapi

Usage

ts
import { convert } from '@scalar/postman-to-openapi'

// Free the postman!
const result = await convert(myPostmanCollection)

console.log(result)

Community

We are API nerds. You too? Let's chat on Discord: https://discord.gg/scalar

Thank you!

This package is based on the existing postman-to-openapi by @joolfe. We update the code and adapted it to our use case. You might consider our package the modern successor.