Swagger for the API

Following the preceding steps, the entire swagger.json file can be found at https://github.com/PacktPublishing/-Hands-On-Serverless-with-Kotlin/blob/master/swagger.json. Import swagger.json into your AWS project and you are good to proceed with the API development and integration.

To import the swagger, you need to have the AWS command-line interface set up on the machine and execute the following command:

/aws-api-import.sh --create <path-to-local-swagger-json>

Get Hands-On Serverless Applications with Kotlin now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.