Import collection advanced options via postman open api

We are importing our open api v3 definitions using the endpoint:

https://api.getpostman.com/import/openapi

This works fine, except there are advanced settings that can be set in the UI e.g. Folder organization, Naming requests, Request parameter generation and so on we also would like to be able to set during import.

Is there any way to achieve this or plans to allow setting this via api? Thanks!

1 Like

I have the impression that this import api may be a legacy api, so I switched to apis/schemas etc and tried with the “Create collection from api” endpoint:

https://api.getpostman.com/apis/{{apiId}}/versions/{{apiVersionId}}/schemas/{{schemaId}}/collections?workspace={{workspaceId}}

But the collection created still misses the above features we need

It looks like the endpoint https://api.getpostman.com/import/openapi accepts the property options in the request body which can be set to configure advanced import settings.

Example : "options" : {"folderStrategy" : "Tags"}

https://github.com/postmanlabs/openapi-to-postman/blob/develop/OPTIONS.md