Importing Swagger files

  • App

A swagger API definition usually lives as a single file, so we only support imports of single swagger files. If you have a lot of unrelated Swagger files in a folder, you can import those through the folder importer.

To save a Swagger file as a collection:

  1. Clone the repository containing the Swagger definition to your local machine. If you have it saved locally as file already, that’s fine of course.
  2. Open the Postman Import box and hit the File tab. If you have a lot of unrelated Swagger files in a folder, you can import those through the folder importer.

  3. Click on file and upload the Swagger file.
  4. You’re done! Postman will detect all the Swagger definitions and convert them internally to Postman and then show you an import success message.