You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to support multiple versions of an API ?
For example, I have in v0 group of handlers (firstHandler, secondHandler, thirdHandler)
And in v1 group of handlers I have an updated group: (secondHandler, thirdHandler, fourthHandler)
For v0 I want to show only first, second and third.
For v1 I want to show only second, third and fourth.
Also, given the grouping is done by the tags,
I would have in both v0 and v1 swagger docs groups from both generations of the API.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Is there a way to support multiple versions of an API ?
For example, I have in v0 group of handlers (firstHandler, secondHandler, thirdHandler)
And in v1 group of handlers I have an updated group: (secondHandler, thirdHandler, fourthHandler)
For v0 I want to show only first, second and third.
For v1 I want to show only second, third and fourth.
Also, given the grouping is done by the tags,
I would have in both v0 and v1 swagger docs groups from both generations of the API.
Beta Was this translation helpful? Give feedback.
All reactions