Ask a Question

Number of endpoints in your OAS

george_nelson
New Member

Number of endpoints in your OAS

I have a legacy monolith API that has tons of endpoints. Is there a way in SwaggerHub that can report: there are X number of resources, /gets and /post?

 

Thank you!

George

1 REPLY 1
KJans
New Contributor

Re: Number of endpoints in your OAS

Swaggerhub itself doesn't report that - but if you are a scripting wizard you could export the yaml or json through the CLI or Registry API and do a count in your script.

 

https://app.swaggerhub.com/apis-docs/swagger-hub/registry-api/1.0.62#/APIs/getYamlDefinition

 

 

cancel
Showing results for 
Search instead for 
Did you mean: