Ask a Question

Latest swaggerhub version

ann1234
Occasional Contributor

Latest swaggerhub version

Hi. how can i take latest api's version from swaggerhub?

3 REPLIES 3
chichepo
Champion Level 2

Hi @ann1234  

The API versionning, if not managed on GIT or whatever else source control, is "Manual" and depending on your project versionning convention.

chichepo_0-1694618782657.png

Are you looking for something more specific?

 

ann1234
Occasional Contributor

yes i want take default or lates swagger version .i should use it for diff local api and swaggerapi in my oasdiff script. oas diff -l localapi -b http://swagger....swagger.yaml
chichepo
Champion Level 2

@ann1234 

You can always try to download the given file from the SwaggerHub export menu.
First, I would suggest to check the "Created" and the "Last saved" dates to get the relevant one:

chichepo_0-1694700065644.png


Another way could be to use the API registry here to get the whole list of versions and the file you want to use.
By the way, you can use the swaggerHub-Cli to manipulate it (here)

Let us know

cancel
Showing results for 
Search instead for 
Did you mean: