https://github.com/gcatanese/openapi-postman
From OpenAPI to Postman collections
https://github.com/gcatanese/openapi-postman
openapi postman
Last synced: 18 days ago
JSON representation
From OpenAPI to Postman collections
- Host: GitHub
- URL: https://github.com/gcatanese/openapi-postman
- Owner: gcatanese
- License: unlicense
- Created: 2023-04-16T20:41:26.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2026-01-12T14:26:17.000Z (23 days ago)
- Last Synced: 2026-01-12T21:05:56.597Z (22 days ago)
- Topics: openapi, postman
- Language: Java
- Homepage:
- Size: 468 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# OpenAPI to Postman
Convert an OpenAPI file into a Postman collection [v2.1](https://schema.postman.com/collection/json/v2.1.0/draft-07/collection.json).
[](https://gitpod.io/#https://github.com/gcatanese/openapi-postman/tree/main)
Web application that generates a Postman collection (in JSON format) from an OpenAPI file.
You can paste the content of the OpenAPI file or enter the URL.
Made with ❤️, [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) and [Vaadin](https://vaadin.com/).

## Run locally
```
git clone https://github.com/gcatanese/openapi-postman.git
cd openapi-postman
./mvnw spring-boot:run
```
## Why
Importing OpenAPI files is supported by Postman but this is a lot better because:
* convert path variables into Postman variables
* convert placeholders (i.e. `{{MY_VAR}}`) into Postman variables
* create a Postman request for each OpenAPI (request) example: multiple examples generates different requests for the same endpoint
* define the authorisation method (basic auth, API key)
* create a Postman variable for the API key
## Contribute
Try it out and let me know if it works for you. Contributions, questions and feedback are welcome.