Swagger Import with Tags Only Pulls APIs from First Tag

My Swagger APIs use Swagger tags to group APIs. When I import these into Postman, only the APIs associated with the first tag are imported. Tags are unrelated to the API, they just make it more readable. E.g.
customer Calls pertaining to customer resources
GET /
POST/

accounts Calls pertaining to account resources
GET /
POST /

I only get the APIs associated with the first (Swagger tag/label/note). None of the other APIs are parsed over.

Is this a know bug in Postman? Is there a work around? I’ve tried several different import options. They all miss all APIs after the first tag.

Hey @kzm9krpt :wave:

Welcome to the Postman Community! :postman:

Can you give a visual example of what you are seeing here and how these tags are used in swagger.

Do you use any of the additional settings when importing or are these default?

A watered down version of the spec file showing the tag issue you’re seeing, would help us to replicate to scenario.

Thanks Danny. Turns out it was (my) user error. If you turn on “tags” in the import section (from path) it maps to how its laid out in Swagger. With 200+ REST interfaces, I was in organizational chaos.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.