cancel
Showing results for 
Search instead for 
Did you mean: 

Automatic Testing of Swagger Editor

SOLVED
Contributor

Automatic Testing of Swagger Editor

Hi All,

 

Is there would a tool that allows automatic or semi-automatic testing of the APIs that are documented with Swagger Editor?

 

Our group has, of course, people who test API functionality with Curl and other tools.  Swagger Editor is used to document the APIs but since so much of the document has live examples, there is a lot of manual API testing that is performed through Swagger Editor.   

 

It would be helpful if there were some way that an automatic test program could be run through the JSON or YAML so that any underlying changes to the APIs could be caught and the document updated accordingly.

 

Thanks!

Kevin 

 

3 ACCEPTED SOLUTIONS

Accepted Solutions
Moderator

Re: Automatic Testing of Swagger Editor

Hi Kevin,

 

SmartBear has API testing and monitoring tools with OpenAPI support:


Helen Kosova
SmartBear Technical Writer
________________________
Vote up helpful replies.
Accept this reply if you think it's the best solution to your question.

Join the September Hub-bub to show off, learn and win
Highlighted
Moderator

Re: Automatic Testing of Swagger Editor

There isn't such functionality built into Swagger Editor, or rather, Swagger UI. However, there are plenty of tools out there that are able to consume your API definitions and run tests on them. Within SmartBear, we have ReadyAPI for example, that can do that. Alternatively, you can also use Swagger Codegen to automatically create test code or test scripts.

 

**Edit: just noticed @HKosova replied as well, and her replies are always better 😃

Occasional Visitor

Re: Automatic Testing of Swagger Editor

Yeah Swagger UI would be a great option to deal with.,,It works quite smooth and fast...Also it is very much accurate..u can definetly go for it..Stay blessed

4 REPLIES 4
Moderator

Re: Automatic Testing of Swagger Editor

Hi Kevin,

 

SmartBear has API testing and monitoring tools with OpenAPI support:


Helen Kosova
SmartBear Technical Writer
________________________
Vote up helpful replies.
Accept this reply if you think it's the best solution to your question.

Join the September Hub-bub to show off, learn and win
Highlighted
Moderator

Re: Automatic Testing of Swagger Editor

There isn't such functionality built into Swagger Editor, or rather, Swagger UI. However, there are plenty of tools out there that are able to consume your API definitions and run tests on them. Within SmartBear, we have ReadyAPI for example, that can do that. Alternatively, you can also use Swagger Codegen to automatically create test code or test scripts.

 

**Edit: just noticed @HKosova replied as well, and her replies are always better 😃

Occasional Visitor

Re: Automatic Testing of Swagger Editor

Yeah Swagger UI would be a great option to deal with.,,It works quite smooth and fast...Also it is very much accurate..u can definetly go for it..Stay blessed

Contributor

Re: Automatic Testing of Swagger Editor

Thank you all for your help.  I will try to convince management that Ready API is a worthwhile investment.

New Here?
Join us and watch the welcome video:
Watch the New Interview
7Mistakes
Join our online event
SeptemberHubBub
Join the September Hub-bub to show off, learn and win