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 - REST Tutorial
From the course: Building APIs with Swagger and the OpenAPI Specification
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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
Building APIs within SwaggerHub2m 39s
-
Getting started with SwaggerHub3m 49s
-
Building API definitions from templates5m 27s
-
Versioning APIs in SwaggerHub5m 10s
-
Importing API definitions3m 28s
-
Security schemes5m 16s
-
Domains5m 3s
-
Nesting schemas in domains7m 22s
-
Enforcing API standards2m 56s
-
Auto Mocking APIs5m 2s
-
Adding organization members3m 15s
-
Inviting individual collaborators1m 42s
-
Challenge: Publish the blog API58s
-
Solution: Publish the blog API4m 43s
-
-
-