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 your feature request related to a problem? Please describe.
In our piplines we want to fail if one tries to update a published api version
Describe the solution you'd like
One solution would be to add the command api:ispublished swaggerhub api:ispublished OWNER/API_NAME/[VERSION]
Describe alternatives you've considered
Another solution would to add an argument to api:update to fail if the given api version is published swaggerhub api:update OWNER/API_NAME/[VERSION] --fail-if-published
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
In our piplines we want to fail if one tries to update a published api version
Describe the solution you'd like
One solution would be to add the command api:ispublished
swaggerhub api:ispublished OWNER/API_NAME/[VERSION]
Describe alternatives you've considered
Another solution would to add an argument to api:update to fail if the given api version is published
swaggerhub api:update OWNER/API_NAME/[VERSION] --fail-if-published
The text was updated successfully, but these errors were encountered: