Yo I am generating collections from a Swagger json, stored in the “Define” tab in an API. I tested manually and via Postman-API:
POST Create collection from schema https://api.getpostman.com/apis/{{apiId}}/versions/{{apiVersionId}}/schemas/{{schemaId}}/collections?workspace={{workspaceId}}
Using the Postman-API, the collection is generated in the same way as doing it manually. More precisely: manually without advanced settings.
Is there a way to include advanced settings in the Postman-API call? I would like to use the “Folder organization = Tags” setting, which helps keeping a structure similar to the Swagger used.
Hello,
You can generate a new collection based on Swagger and… Click on “Generate Collection”, when the new screen is displayed click on “Show advanced settings” and look for “Folder organization”, beside it there is a select, next to clicking on the select will display the options “Schema” and “Tag”, once this is done, it generates the collection