From the course: Building APIs with Swagger and the OpenAPI Specification

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Versioning APIs in SwaggerHub

Versioning APIs in SwaggerHub - REST Tutorial

From the course: Building APIs with Swagger and the OpenAPI Specification

Start my 1-month free trial

Versioning APIs in SwaggerHub

- [Instructor] The ability to manage multiple versions of an API definition is an important SwaggerHub feature because it prevents us from breaking systems that consume our APIs. SwaggerHub allows us to strategically version our API definitions to deprecate old versions To get started, let's publish the first version of the customer API. Publishing is performed when an API is deemed ready at the top of our editor screen If we click on that option, you'll see that we can select the visibility of the API. So you'll notice there's a standard that must be applied for this numbering convention. So we're going to use 2.0.0 and then we can specify whether or not we would like it to be visible to the public or whether we would like it to be private. Since we're just working on this, I'm going to set it to private so I'm going to set it to private so that it's not publicly exposed for external consumption. that it's not publicly exposed for external consumption. We can then go ahead and…

Contents