Skip to content

It's an UI based AWS API Gateway's API documentation website, Its an single serverless function which is deploying multiple AWS services and creating a website with auth by AWS Cognito

Notifications You must be signed in to change notification settings

RajaSardar/serverless-swagger-ui

Repository files navigation

Serverless Swagger UI for API Gateway

Example of automatically built and deployed Swagger UI website with interactive documentation for the API Gateway, protected with Cognito user authentication.

See the article with full description: Serverless Swagger UI for API Gateway

Development

Install dependencies:

yarn install

Before deployment change the project and/or service name in serverless.yml file to have unique baseName, that is used as a Cognito auth domain.

Deploy:

yarn run deploy --region REGION

Run Swagger UI locally (for Swagger UI website development):

yarn run start

It will start the development server at http://localhost:8080.

The service must be deployed first to run Swagger UI locally because the website connects to the deployed AWS services.

Remove deployed stack:

yarn run remove --region REGION

About

It's an UI based AWS API Gateway's API documentation website, Its an single serverless function which is deploying multiple AWS services and creating a website with auth by AWS Cognito

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published