Convert an OpenAPI file into a Postman collection v2.1.
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 and Vaadin.
git clone https://github.com/gcatanese/openapi-postman.git
cd openapi-postman
./mvnw spring-boot:run
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
Try it out and let me know if it works for you. Contributions, questions and feedback are welcome.