# \#swagger

**URL:** https://community.postman.com/tag/swagger/147.md

[Latest](https://community.postman.com/latest.md) · [Categories](https://community.postman.com/categories.md) · [Tags](https://community.postman.com/tags.md)

---

## [Automatically sync OpenAPI/Swagger spec to collection](https://community.postman.com/t/automatically-sync-openapi-swagger-spec-to-collection/8551)

<div class="topic-metadata">

**Author:** [@obasekia](https://community.postman.com/u/obasekia)\
**Replies:** 24\
**Last updated:** [November 14, 2025, 12:47pm UTC](https://community.postman.com/t/automatically-sync-openapi-swagger-spec-to-collection/8551 "2025-11-14T12:47:16Z")

</div>

Hello, I’ve recently started exploring the use of Swagger documentation with our teams that currently use Postman for API test automation. The ability to import a spec and have it created as a collection in postman is g…

---

## [Postman to Swagger (OAS 2) Collection Not Accessible](https://community.postman.com/t/postman-to-swagger-oas-2-collection-not-accessible/86184)

<div class="topic-metadata">

**Author:** [@spacecraft-cosmonau7](https://community.postman.com/u/spacecraft-cosmonau7)\
**Replies:** 1\
**Last updated:** [October 23, 2025, 3:51pm UTC](https://community.postman.com/t/postman-to-swagger-oas-2-collection-not-accessible/86184 "2025-10-23T15:51:55Z")

</div>

I noticed that the “Postman to Swagger (OAS 2)” collection (ID: ijkf7ei) in the Postman public workspace is no longer accessible. When I try to open it, I get an error message saying that the collection cannot be found o…

---

## [Structure to support both OpenAPI and Postman format to upload as Collections](https://community.postman.com/t/structure-to-support-both-openapi-and-postman-format-to-upload-as-collections/76370)

<div class="topic-metadata">

**Author:** [@subeeshes](https://community.postman.com/u/subeeshes)\
**Replies:** 6\
**Last updated:** [March 10, 2025, 5:13pm UTC](https://community.postman.com/t/structure-to-support-both-openapi-and-postman-format-to-upload-as-collections/76370 "2025-03-10T17:13:16Z")

</div>

I have a new project. I am arranging the api format to use as openapi and postman. I would prefer to use the same file to upload both openapi supported tools like Readme and Postman without any manual editing or convers…

---

## [Generate swagger:Postman to Swagger (OAS 2)](https://community.postman.com/t/generate-swagger-postman-to-swagger-oas-2/73657)

<div class="topic-metadata">

**Author:** [@chandrikaharathi](https://community.postman.com/u/chandrikaharathi)\
**Replies:** 0\
**Last updated:** [January 10, 2025, 10:56pm UTC](https://community.postman.com/t/generate-swagger-postman-to-swagger-oas-2/73657 "2025-01-10T22:56:26Z")

</div>

I followed the instructions to generate swagger: Generate a Postman API key Fetch the ID of the Collection you wish to convert. This can be found by selecting the Collection in Postman, navigating to the right-hand…

---

## [Swagger Import with Tags Only Pulls APIs from First Tag](https://community.postman.com/t/swagger-import-with-tags-only-pulls-apis-from-first-tag/57483)

<div class="topic-metadata">

**Author:** [@kzm9krpt](https://community.postman.com/u/kzm9krpt)\
**Replies:** 2\
**Last updated:** [February 9, 2024, 6:43pm UTC](https://community.postman.com/t/swagger-import-with-tags-only-pulls-apis-from-first-tag/57483 "2024-02-09T18:43:08Z")

</div>

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. custom…

---

## [Getting 405 Method Not Allowed](https://community.postman.com/t/getting-405-method-not-allowed/49382)

<div class="topic-metadata">

**Author:** [@fatihblkbs](https://community.postman.com/u/fatihblkbs)\
**Replies:** 0\
**Last updated:** [July 10, 2023, 11:09am UTC](https://community.postman.com/t/getting-405-method-not-allowed/49382 "2023-07-10T11:09:20Z")

</div>

Hi, I am new in Postman and I was trying to implement Postman into my project. I am sure about using right method but still getting 405 Method Not Allowed. I know that its true because I am getting method from the Swagg…

---

## [How to validate requests against swagger (OpenAPI 2.0) schema](https://community.postman.com/t/how-to-validate-requests-against-swagger-openapi-2-0-schema/45985)

<div class="topic-metadata">

**Author:** [@candlerb](https://community.postman.com/u/candlerb)\
**Replies:** 6\
**Last updated:** [April 5, 2023, 9:58am UTC](https://community.postman.com/t/how-to-validate-requests-against-swagger-openapi-2-0-schema/45985 "2023-04-05T09:58:48Z")

</div>

I’m probably being dense here, but please bear with me. My question: I have created an API, by importing the following Swagger/OpenAPI 2.0 file: https://raw.githubusercontent.com/tmforum-apis/TMF641\_ServiceOrder/maste…

---

## [Does postman generates responses based on oneOf and discriminator usage in schema?](https://community.postman.com/t/does-postman-generates-responses-based-on-oneof-and-discriminator-usage-in-schema/40247)

<div class="topic-metadata">

**Author:** [@lu.you.bu.tu](https://community.postman.com/u/lu.you.bu.tu)\
**Replies:** 0\
**Last updated:** [October 19, 2022, 7:15pm UTC](https://community.postman.com/t/does-postman-generates-responses-based-on-oneof-and-discriminator-usage-in-schema/40247 "2022-10-19T19:15:10Z")

</div>

Does postman generates responses based on oneOf and discriminator usage in schema? I think it would make sense to generate the different responses just like it does with status codes, as it is clearly a way in which res…

---

## [Swagger import issue - Failed to create API](https://community.postman.com/t/swagger-import-issue-failed-to-create-api/32523)

<div class="topic-metadata">

**Author:** [@andrei](https://community.postman.com/u/andrei)\
**Replies:** 1\
**Last updated:** [February 12, 2022, 11:09am UTC](https://community.postman.com/t/swagger-import-issue-failed-to-create-api/32523 "2022-02-12T11:09:33Z")

</div>

My question: How can I find out what exactly is the issue with importing a collection from swagger? Details (like screenshots): I am trying to import the following swagger https://test.swappaccess.com/swagger/v0/swagg…

---

## [Cannot import swagger 2.0 file anymore (it was working before updating to 7.2.2)](https://community.postman.com/t/cannot-import-swagger-2-0-file-anymore-it-was-working-before-updating-to-7-2-2/6545)

<div class="topic-metadata">

**Author:** [@eric.krejci](https://community.postman.com/u/eric.krejci)\
**Replies:** 16\
**Last updated:** [October 29, 2020, 1:41pm UTC](https://community.postman.com/t/cannot-import-swagger-2-0-file-anymore-it-was-working-before-updating-to-7-2-2/6545 "2020-10-29T13:41:08Z")

</div>

Hello, I’m trying to import a swagger (yaml or json) file generate from my NSX-T manager. I was able to import it without any issue, but since I updated postman to 7.2.2 I cannot import it anymore. I have little info i…

---

## [Add collection level tests and pre-request scripts automatically](https://community.postman.com/t/add-collection-level-tests-and-pre-request-scripts-automatically/12363)

<div class="topic-metadata">

**Author:** [@egorbunov](https://community.postman.com/u/egorbunov)\
**Replies:** 0\
**Last updated:** [May 4, 2020, 3:17pm UTC](https://community.postman.com/t/add-collection-level-tests-and-pre-request-scripts-automatically/12363 "2020-05-04T15:17:48Z")

</div>

Hi! I am generating a new collection based on the swagger specification. Next, I want to automatically add collection level scripts and tests to this collection. Is there such an opportunity through NPM libraries? I…

---

## [APIs(Beta) generate collection from swagger 2.0 spec with examples](https://community.postman.com/t/apis-beta-generate-collection-from-swagger-2-0-spec-with-examples/8445)

<div class="topic-metadata">

**Author:** [@k.polyakov](https://community.postman.com/u/k.polyakov)\
**Replies:** 2\
**Last updated:** [October 21, 2019, 4:20pm UTC](https://community.postman.com/t/apis-beta-generate-collection-from-swagger-2-0-spec-with-examples/8445 "2019-10-21T16:20:00Z")

</div>

Hi! I’m trying to get a collection that will work right after generation so I’m using examples in swagger spec. But I got smth like that in collection: { "jsonrpc": "\<string\>", "id": "\<string\>", "method":…

---

## [Swagger to postman - Adds extra folder](https://community.postman.com/t/swagger-to-postman-adds-extra-folder/7270)

<div class="topic-metadata">

**Author:** [@gsptesting77](https://community.postman.com/u/gsptesting77)\
**Replies:** 0\
**Last updated:** [August 20, 2019, 5:06pm UTC](https://community.postman.com/t/swagger-to-postman-adds-extra-folder/7270 "2019-08-20T17:06:59Z")

</div>

When i try to import the Swagger Json/yaml to postman via raw text or file. I can see additional folders are getting added. To Reproduce Steps to reproduce the behavior: Go to ‘import’ Click on ‘raw text’ Paste the …

---

## [Can I import from swagger 3.0?](https://community.postman.com/t/can-i-import-from-swagger-3-0/4539)

<div class="topic-metadata">

**Author:** [@patent-atanaka](https://community.postman.com/u/patent-atanaka)\
**Replies:** 2\
**Last updated:** [March 14, 2019, 8:40am UTC](https://community.postman.com/t/can-i-import-from-swagger-3-0/4539 "2019-03-14T08:40:06Z")

</div>

Hi everyone, i’m newbie. I know that Postman can import from Swagger 2.0. https://learning.getpostman.com/docs/postman/collections/data\_formats/#importing-swagger So I want to know whether Postman can import from Swag…

---

## [Post body from swagger](https://community.postman.com/t/post-body-from-swagger/3141)

<div class="topic-metadata">

**Author:** [@g4borg](https://community.postman.com/u/g4borg)\
**Replies:** 0\
**Last updated:** [October 31, 2018, 11:33am UTC](https://community.postman.com/t/post-body-from-swagger/3141 "2018-10-31T11:33:00Z")

</div>

If I import a swagger file to postman, much is handled intelligently, except the post body, which is filled with the description only. It would be much more awesome, if similar to swagger-ui, postman would fill it with …

---

## [The Ultimate API Publisher's Guide](https://community.postman.com/t/the-ultimate-api-publishers-guide/2568)

<div class="topic-metadata">

**Author:** [@jetison](https://community.postman.com/u/jetison)\
**Replies:** 0\
**Last updated:** [August 30, 2018, 9:42pm UTC](https://community.postman.com/t/the-ultimate-api-publishers-guide/2568 "2018-08-30T21:42:45Z")

</div>

If your API is being used by others, then you’re an API publisher whether you’ve documented it or not. Learn how to build awareness, gain adoption, and maintain your API documentation.

---

## [Sync your specs 😎](https://community.postman.com/t/sync-your-specs/1109)

<div class="topic-metadata">

**Author:** [@jetison](https://community.postman.com/u/jetison)\
**Replies:** 0\
**Last updated:** [March 2, 2018, 1:21am UTC](https://community.postman.com/t/sync-your-specs/1109 "2018-03-02T01:21:20Z")

</div>

Want to automatically sync your Postman collection to your API specification? http://blog.getpostman.com/2018/03/02/sync-your-specs/
