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.

Solution: Publish the blog API

Solution: Publish the blog API - REST Tutorial

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

Start my 1-month free trial

Solution: Publish the blog API

(upbeat music) - [Instructor] Let's take a look at one way to complete the last challenge. To get started, I'm going to import the blog API definition into SwaggerHub. To do that, I just click on Create New, and then I can go to Import and Document API. Within the Import API dialogue, we can click on Browse. And from here, we can navigate into the Exercise Files to find our API definition. You'll notice the 03_14_begin file within the exercise files. If we click on that, we can then leave all of the defaults in place on the dialog and click on Upload File. The next dialog is going to ask us to provide a name for this API. I'm going to name this API h-plus-blog-api. With that name in place, I'll go ahead and click on the Import OpenAPI definition, and that's going to upload our YAML file into SwaggerHub. Once the API definition file has been imported, I'm just going to go ahead and resize a few of these windows so…

Contents