How to extract an API from a swagger YAML document?

  • by

If you have a lot of API endpoints in your API swagger it is difficult to extract one of the endpoint or API path from the swagger yaml file.

To make it possible I am planning to develop a tool which will look for a particular endpoint path, pick the API from the swagger file and also its relevant schema components.

The tool will take yaml file and endpoint path or API path from you as the inputs and check for the API and it read the request and response body schema. Based on that it will pick request and response body and its inner components.

The tool will take yaml file and endpoint path or API path from you as the inputs and check for the API and it read the request and response body schema. Based on that it will pick request and response body and its inner components.

This task will be difficult to do manually especially if you have lot of inner schema (a schema object having dependency at multiple levels).

I have to develop this tool and I have not yet done because developing this will require some time for me.

If I do not get people coming to this tool it will be a waste of time. So I decided to write this page to check if someone is coming and based on that I will prepare the swagger API extractor online tool.

If you think you need some other tool along with this you can leave a comment below.

How useful was this post?

Click on a star to rate it!

Average rating / 5. Vote count:

No votes so far! Be the first to rate this post.

We are sorry that this post was not useful for you!

Let us improve this post!

Leave a Reply

Welcome to CloudiKnow.com blog, a platform to share knowledge and solution experience related to public cloud is base design of this site.

You can start the cloud journey right from here!
Please bookmark this page by pressing simply CTRL+D.