© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
2 replies
バリウム

❔ Import Swagger APIs into Postman

Hello,

I need help generating a valid JSON OpenAI Swagger with .NET (Microsofts Minimal API with Dapper and EF Core as ORM Mapper) that works on Postman. I'm currently having trouble importing Swagger APIs through a json into Postman. Could you please a guide on how to do this? Thank you. What I am struggling with is actually is having postman accept my json, maybe I need to configure it first?

The error I am getting on postman is this:
Error while importing: format not recognized

I am using openapi: "3.0.1"

I have found this but this is for Java
https://www.baeldung.com/swagger-apis-in-postman

From this stackoverflow post:
https://stackoverflow.com/questions/39072216/how-to-import-swagger-apis-into-postman

With .Net Core it is now very easy:

You go and find JSON URL on your swagger page:
enter image description here

Click that link and copy the URL
Now go to Postman and click Import:
enter image description here

Something that I have also noticed is I must select a definition, and I have a json for each definition rather than a generic one

Yeah, but using it I get issues, why might be that?

Stack: .NET + Microsofts Minimal API with Dapper and EF Core as ORM Mapper
Baeldung
Import Swagger APIs into Postman | Baeldung
A quick and practical guide how to import Swagger APIs to Postman.
Import Swagger APIs into Postman | Baeldung
Stack Overflow
How to import Swagger APIs into Postman?
Recently I wrote restful APIs with SpringMvc and swagger-ui(v2). I noticed the Import function in Postman:
So my question is how to create the file which Postman needed?

I am not familiar with Sw...
How to import Swagger APIs into Postman?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

Getting 403 Forbidden in swagger and postman after restarting project.
C#CC# / help
3y ago
✅ Image Postman
C#CC# / help
12mo ago
✅ Postman / SignalR
C#CC# / help
3y ago
❔ Where can i learn about APIs and how to use Postman properly ?
C#CC# / help
4y ago