Forum Discussion

parveen_lrt's avatar
parveen_lrt
New Member
3 years ago

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

No RepliesBe the first to reply