cancel
Showing results for 
Search instead for 
Did you mean: 

Wanted to include separate json file based on API version

parveen_lrt
New Member

Wanted to include separate json file based on API version

Here is the case:

I have create 5 restfull API under the VI and its working with swagger UI


Now I need some new API and some update in existing 5 API so I created the V2. It help me to support the both API version.

I have create the API version switch in swagger UI based on that I change the API URL

e.g.
http://example.com/{API_VERION}/getUsers

What I want here is that when I switch to V1 it show me only 5 API which I created in V1 and for V2 it shows me those which created for V2

New Here?
Join us and watch the welcome video:
Top Kudoed Authors