FakeRestApi looks good, but none of the endpoints have any authorisation, so you're out of luck if you want to write any test code for obtaining a JWT. In my experience, the request token generation is the most fiddly and intricate part of API test code and differs depending on the type of authorisation used. Answer from ArbyRendo on reddit.com
🌐
Swagger
swagger.io › solutions › api-testing
OpenAPI Testing Tool | SwaggerHub Explore
Swagger offers tools to validate that your API works as it should, explore new API capabilities, and allows for seamless integration with automated API testing tools like ReadyAPI.
🌐
Reddit
reddit.com › r/softwaretesting › any good open source - swagger api for practicing api testing?
r/softwaretesting on Reddit: Any good Open Source - Swagger API for practicing API testing?
October 21, 2021 -

As per the title, I have an upcoming project at my company to use Cypress.io for API testing. I'm working on a proof of concept & I'm looking for Open Source APIs in Swagger to test.

I was able to find Swagger Petstore, but I wonder if you guys have other recommendations. What do you usually use for practicing/POC API testing?

I also know about JSONPlaceholder, but I would rather use one API in Swagger. Tks in advance!

EDIT: I found FakeRESTApi & it seems to be exactly what I need. However, I'm still interested in your suggestions.

Discussions

rest - RESTful API Testbed with Swagger - Stack Overflow
Assertible is a tool where you can import your Swagger spec to automatically create tests and assertions for every endpoint and method. You can then set up monitoring, post deployment testing, and alerts. (Read the blog Testing an API using Swagger). It has a free plan with options to upgrade ... More on stackoverflow.com
🌐 stackoverflow.com
Any good Open Source - Swagger API for practicing API testing?
FakeRestApi looks good, but none of the endpoints have any authorisation, so you're out of luck if you want to write any test code for obtaining a JWT. In my experience, the request token generation is the most fiddly and intricate part of API test code and differs depending on the type of authorisation used. More on reddit.com
🌐 r/softwaretesting
6
14
October 21, 2021
Better workflow for API Testing with Swagger/Postman
we use the swagger web interface, build it to stag .. it's not great. interested in anyone else's solutions More on reddit.com
🌐 r/nestjs
2
7
March 4, 2024
What’s your API Testing/Design tool of choice?
We use Swagger for documentation and to autogenerate clients. We also use Postman for flows/e2e tests. More on reddit.com
🌐 r/webdev
19
6
December 5, 2022
People also ask

Can Workik AI automate API testing with Swagger OpenAPI specs?
Yes, Workik AI generates test cases from OpenAPI specs, automating endpoint validation, response schema checks, and error handling. You can integrate these tests into CI/CD pipelines, ensuring continuous testing for every code change.
🌐
workik.com
workik.com › swagger-openapi-generator
FREE AI-Powered Swagger/OpenAPI Code Generator – Simplify API ...
What is Swagger OpenAPI?
Swagger OpenAPI is an industry-standard specification used to describe and define RESTful APIs. It allows developers to create a structured, machine-readable format for API documentation, which can be used to generate code, test cases, and interactive API documentation. Swagger OpenAPI is widely used to streamline API development by enabling clear communication between backend services and front-end or third-party integrations.
🌐
workik.com
workik.com › swagger-openapi-generator
FREE AI-Powered Swagger/OpenAPI Code Generator – Simplify API ...
Can Workik improve API security with Swagger/OpenAPI specs?
Yes, Workik’s AI enhances security by identifying vulnerabilities in OpenAPI specs, such as missing OAuth 2.0 or token-based authentication. It can generate secure configurations, enforce HTTPS, validate input schemas, and suggest best practices for rate limiting and CORS.
🌐
workik.com
workik.com › swagger-openapi-generator
FREE AI-Powered Swagger/OpenAPI Code Generator – Simplify API ...
🌐
Azurewebsites
fakerestapi.azurewebsites.net › index.html
Swagger UI
We cannot provide a description for this page right now
FakeRestApi looks good, but none of the endpoints have any authorisation, so you're out of luck if you want to write any test code for obtaining a JWT. In my experience, the request token generation is the most fiddly and intricate part of API test code and differs depending on the type of authorisation used. Answer from ArbyRendo on reddit.com
🌐
Swagger
swagger.io › tools › swagger-ui
REST API Documentation Tool | Swagger UI
Swagger UI allows development team to visualize and interact with the API’s resources without having any of the implementation logic in place. Learn more.
🌐
Swagger
swagger.io
API Documentation & Design Tools for Teams | Swagger
Simplify API development for users, teams, and enterprises with our open source and professional toolset. Find out how Swagger can help you and get started today.
Find elsewhere
Top answer
1 of 5
24

As the other answers have mentioned, Swagger provides a way to define and document your API endpoints, methods, responses, errors, and more. It does not do any sort of automated testing out of the box.

There are a few tools that can read a Swagger definition to created automated tests, though:

  • Assertible is a tool where you can import your Swagger spec to automatically create tests and assertions for every endpoint and method. You can then set up monitoring, post deployment testing, and alerts. (Read the blog Testing an API using Swagger). It has a free plan with options to upgrade for more tests.
  • swagger-test is an NPM package, if you're looking for something to integrate with your code. I haven't personally used it, but it does look active and useful.
  • Dredd is another really cool open-source tool that will automate testing your Swagger spec against a live backend. This is also a CLI too, and it works with API Blueprint in addition to Swagger.

There's others as well, because Swagger provides a good common language for API developers there's some great tools that are written on top of it.

Another answer mentioned to check out the Commercial Tools page on swagger.io, which has some more hosted services (free and paid).

Full disclosure - I'm one of the co-founders of Assertible and would love to hear your feedback if you get a chance to use it.

2 of 5
9

Swagger will let you nicely document your API, and will help you do manual, live tests with swagger-ui in that you can easily fill in arguments and see the responses through a web ui. Try the Swagger demo as an example of what I am referring to. http://petstore.swagger.io/

I have not tried this, but this might be of interest for more automated testing against Swagger definitions. https://github.com/Maks3w/SwaggerAssertions

🌐
Apidog
apidog.com › blog › what-is-swagger-ui
Swagger Tutorial: What is Swagger UI and How to Use Swagger
February 5, 2026 - Swagger UI generates documentation based on the Swagger specification and provides an interactive UI for testing APIs and experimenting with different parameters and options. Using these two tools together can improve API development efficiency.
🌐
Blazemeter
blazemeter.com › blog › swagger-api-testing
How to Get Started with Swagger API Testing | Perforce BlazeMeter
Start your BlazeMeter free trial to learn how >>Back to top · Swagger UI, a part of Swagger, is an open source tool that generates a web page that documents the APIs generated by the Swagger specification.
🌐
Workik
workik.com › swagger-openapi-generator
FREE AI-Powered Swagger/OpenAPI Code Generator – Simplify API Development
Popular use cases of Workik’s AI-powered Swagger OpenAPI generation include: * Generate client and server code from OpenAPI specs in languages like Python, Java, and Node.js. * Create mock APIs to test endpoints before deploying the backend.
🌐
Swagger
petstore.swagger.io
Swagger Petstore
We cannot provide a description for this page right now
🌐
42Crunch
42crunch.com › free-tools
Free API tools available in your IDEs and CI/CD pipelines.
Create and edit OpenAPI definition files using the free OpenAPI Swagger editor directly in your favorite IDE. Quick and easy navigation and enjoy features such as, Intellisense, Try it (test live endpoints) and Preview features and supports OpenAPI definition files in JSON or YAML format...
🌐
Opentext
developer.opentext.com › cloud-platform › tutorials › create-your-first-application › 5
Test the API using Swagger | Get started with Thrust Services
Sign in with my authenticator · We're sorry, but this browser version isn't supported. To view this experience, please use the latest version of Chrome, Firefox, Safari or Edge
🌐
Assertible
assertible.com › blog › testing-an-api-using-swagger
Testing an API using Swagger : Assertible
May 2, 2017 - Using Swagger in combination with Assertible is a pretty easy way to reduce the burden of creating many redundant tests. What does your API testing setup look like? Shoot us a message on Twitter and let us know! Check it out and sign up for a free Assertible account to start testing every single ...
🌐
Medium
dogangunemre.medium.com › swagger-ui-api-testing-with-rest-assured-9177e7d6b41b
Swagger UI Api Testing with Rest Assured | by Emre Dogangun | Medium
February 27, 2024 - Swagger UI Api Testing with Rest Assured RestAssured is a free library developed in Java specifically designed for testing and validating HTTP requests made using RESTful APIs. It is widely preferred …
🌐
Swagger
swagger.io › blog › api-development › how-to-perform-a-basic-api-test
OpenAPI Endpoint Testing - The Basics | Swagger Blog
February 7, 2018 - If you’re looking to make quick and easy API calls to validate that your API is responding as it should, you’ve come to the right place. API testing tools can be inefficient when all that is needed is a quick check of an API. Writing code may not be everyone’s specialty either, ...
🌐
Swagger
swagger.io › product › explore
Test API Endpoints | Verify API Responses | Swagger Explore
API exploration for designers · ... your API management with Swagger’s integrated solution. Manage design, testing, and documentation from one central hub. Start Free Trial 6bcf93e7051642ff8d1119ad80659323...
🌐
GeeksforGeeks
geeksforgeeks.org › python › testing-apis-with-swagger
Testing APIs with Swagger - GeeksforGeeks
July 23, 2025 - Swagger, now known as the OpenAPI Specification, provides a standardized way to document and define RESTful APIs. API testing in Swagger focuses on verifying that the API endpoints adhere to the specified OpenAPI documentation, ensuring correct ...
🌐
Swagger
swagger.io › tools › open-source
OpenAPI Design & Documentation Tools | Swagger
API developer tools for the OpenAPI Specification(OAS), enabling development across the entire API lifecycle, from design and documentation, to test and deployment. Join millions of other Swagger users today.
🌐
Swagger
swagger.io › tools › swagger-editor
API Editor - Download or Try it in the Cloud
Design, describe, & document your API on the first open source editor fully dedicated to OpenAPI-based APIs. Download it, try it in the cloud, or request a demo.
🌐
DZone
dzone.com › software design and architecture › integration › how to use swagger ui for api testing
How to Use Swagger UI for API Testing
April 19, 2018 - Hopefully, this article gave you clear steps to test APIs with Swagger UI. Alternatively, you can try out Blazemeter's new API Functional Testing (with 1000 free API calls for API functional testing).