Postman聽vs聽Swagger Codegen

Need advice about which tool to choose?Ask the StackShare community!

Postman

62.1K
50.1K
+ 1
1.8K
Swagger Codegen

135
112
+ 1
1
Add tool

Postman vs Swagger Codegen: What are the differences?

Developers describe Postman as "Only complete API development environment". Postman is the only complete API development environment, used by nearly five million developers and more than 100,000 companies worldwide. On the other hand, Swagger Codegen is detailed as "*Generate API clients or server stubs for REST API *". It is an open source project which allows generation of API client libraries (SDK generation), server stubs, and documentation automatically from an OpenAPI Specification.

Postman and Swagger Codegen can be categorized as "API" tools.

Some of the features offered by Postman are:

  • Compact layout
  • HTTP requests with file upload support
  • Formatted API responses for JSON and XML

On the other hand, Swagger Codegen provides the following key features:

  • Generate client SDKs in over 40 different languages for end developers to easily integrate with your API
  • Always updated with the latest and greatest changes in the programming world
  • Remove tedious plumbing and configuration by generating boilerplate server code in over 20 different languages

Swagger Codegen is an open source tool with 10.1K GitHub stars and 4.75K GitHub forks. Here's a link to Swagger Codegen's open source repository on GitHub.

According to the StackShare community, Postman has a broader approval, being mentioned in 2483 company stacks & 12130 developers stacks; compared to Swagger Codegen, which is listed in 19 company stacks and 3 developer stacks.

Advice on Postman and Swagger Codegen
Needs advice
on
Postman
Apiary
and
Swagger UI

From a StackShare Community member: "I just started working for a start-up and we are in desperate need of better documentation for our API. Currently our API docs is in a README.md file. We are evaluating Postman and Swagger UI. Since there are many options and I was wondering what other StackSharers would recommend?"

See more
Replies (3)
Jagdeep Singh
Tech Lead at ucreate.it | 8 upvotes 路 161.9K views

I use Postman because of the ease of team-management, using workspaces and teams, runner, collections, environment variables, test-scripts (post execution), variable management (pre and post execution), folders (inside collections, for better management of APIs), newman, easy-ci-integration (and probably a few more things that I am not able to recall right now).

See more
Sadik Ay
Recommends
Postman

I recommend Postman because it's easy to use with history option. Also, it has very great features like runner, collections, test scripts runners, defining environment variables and simple exporting and importing data.

See more

I use Swagger UI because it's an easy tool for end-consumers to visualize and test our APIs. It focuses on that ! And it's directly embedded and delivered with the APIs. Postman's built-in tools aren't bad, but their main focus isn't the documentation and also, they are hosted outside the project.

See more
Decisions about Postman and Swagger Codegen
Stephen Fox
Artificial Intelligence Fellow | 1 upvote 路 145K views

Postman supports automation and organization in a way that Insomnia just doesn't. Admittedly, Insomnia makes it slightly easy to query the data that you get back (in a very MongoDB-esque query language) but Postman sets you up to develop the code that you would use in development/testing right in the editor.

See more
Get Advice from developers at your company using Private StackShare. Sign up for Private StackShare.
Learn More
Pros of Postman
Pros of Swagger Codegen
  • 484
    Easy to use
  • 369
    Great tool
  • 275
    Makes developing rest api's easy peasy
  • 155
    Easy setup, looks good
  • 143
    The best api workflow out there
  • 53
    It's the best
  • 53
    History feature
  • 44
    Adds real value to my workflow
  • 42
    Great interface that magically predicts your needs
  • 34
    The best in class app
  • 11
    Can save and share script
  • 9
    Fully featured without looking cluttered
  • 7
    Global/Environment Variables
  • 7
    Option to run scrips
  • 7
    Collections
  • 6
    Shareable Collections
  • 6
    Dead simple and useful. Excellent
  • 6
    Dark theme easy on the eyes
  • 5
    Awesome customer support
  • 5
    Great integration with newman
  • 4
    The test script is useful
  • 3
    Makes testing API's as easy as 1,2,3
  • 3
    Easy as pie
  • 3
    Saves responses
  • 3
    This has simplified my testing significantly
  • 3
    Simple
  • 3
    Documentation
  • 2
    Mocking API calls with predefined response
  • 2
    I'd recommend it to everyone who works with apis
  • 2
    API-network
  • 1
    Easy to setup, test and provides test storage
  • 1
    Continuous integration using newman
  • 1
    Graph
  • 1
    Pre-request Script and Test attributes are invaluable
  • 1
    Postman Runner CI Integration
  • 1
    Now supports GraphQL
  • 0
    <a href="http://fixbit.com/">useful tool</a>
  • 0
    Runner
  • 1
    SDK Generation

Sign up to add or upvote prosMake informed product decisions

Cons of Postman
Cons of Swagger Codegen
  • 9
    Stores credentials in HTTP
  • 7
    Poor GraphQL support
  • 7
    Bloated features and UI
  • 6
    Cumbersome to switch authentication tokens
  • 2
    Expensive
  • 1
    Support websocket
  • 1
    Import curl
  • 1
    Import swagger
  • 1
    Can't prompt for per-request variables
    Be the first to leave a con

    Sign up to add or upvote consMake informed product decisions

    - No public GitHub repository available -

    What is Postman?

    It is the only complete API development environment, used by nearly five million developers and more than 100,000 companies worldwide.

    What is Swagger Codegen?

    It is an open source project which allows generation of API client libraries (SDK generation), server stubs, and documentation automatically from an OpenAPI Specification.

    Need advice about which tool to choose?Ask the StackShare community!

    What companies use Postman?
    What companies use Swagger Codegen?
    See which teams inside your own company are using Postman or Swagger Codegen.
    Sign up for Private StackShareLearn More

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with Postman?
    What tools integrate with Swagger Codegen?

    Sign up to get full access to all the tool integrationsMake informed product decisions

    What are some alternatives to Postman and Swagger Codegen?
    Swagger UI
    Swagger UI is a dependency-free collection of HTML, Javascript, and CSS assets that dynamically generate beautiful documentation and sandbox from a Swagger-compliant API
    Insomnia REST Client
    Insomnia is a powerful REST API Client with cookie management, environment variables, code generation, and authentication for Mac, Window, and Linux.
    Paw
    Paw is a full-featured and beautifully designed Mac app that makes interaction with REST services delightful. Either you are an API maker or consumer, Paw helps you build HTTP requests, inspect the server's response and even generate client code.
    Apigee
    API management, design, analytics, and security are at the heart of modern digital architecture. The Apigee intelligent API platform is a complete solution for moving business to the digital world.
    cURL
    Used in command lines or scripts to transfer data. It is also used in cars, television sets, routers, printers, audio equipment, mobile phones, tablets, and is the internet transfer backbone for thousands of software applications affecting billions of humans daily.
    See all alternatives