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.

API implementation

API implementation - REST Tutorial

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

Start my 1-month free trial

API implementation

- [Instructor] Swagger can generate the server-side stub for a API however, we still need to code some of the API implementation. In this lesson, we will build out the remainder of the API implementation using Java and Spring. If you want to follow along, you must have a Java 8 JDK installed and Eclipse installed on your workstation. To get started, I'm going to navigate to our course workspace, where I have the hsports catalog server zip file. You may remember this from when we generated our server side stub for the hsports catalog API. We're going to go ahead and copy that zip file and then I'm going to paste it within my Eclipse workspace. I've placed my Eclipse workspace on my desktop. So inside the workspace, we just paste the zip file and then we go ahead and extract that zip file into the workspace. Once it's extracted, we can navigate back to Eclipse. And now we're going to import the project which was created using Maven. So just type existing Maven project and here you see…

Contents