Before we get started with this chapter, we will walk through the Swagger development from Chapter 3, Designing RESTful APIs with OpenAPI and Swagger, and understand what we are going to implement.
As you may remember, the case study for Swagger is based on a simple order system, which contains two main resources called User and Order, both of which have their own operations, as shown in the following screenshot:
order-api resources and operations
If you don't remember the Swagger definition, go back to Chapter 3, Designing RESTful APIs with OpenAPI and Swagger, to go over it in detail.
The order API is a simple case study that was created to guide you throughout this book, and so there are a lot of more complex business rules when there is an order system.
The following sections will cover route and resource creation with TypeScript 3, where we will...