{"id":14070459,"url":"https://github.com/m-radzikowski/aws-swaggerui","last_synced_at":"2025-09-17T04:51:57.122Z","repository":{"id":52583816,"uuid":"302763624","full_name":"m-radzikowski/aws-swaggerui","owner":"m-radzikowski","description":"Serverless Swagger UI for API Gateway","archived":false,"fork":false,"pushed_at":"2022-11-20T10:22:38.000Z","size":243,"stargazers_count":51,"open_issues_count":0,"forks_count":21,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-04T12:41:09.979Z","etag":null,"topics":["api-gateway","cognito","serverless","serverless-framework","swagger","swagger-ui"],"latest_commit_sha":null,"homepage":"https://betterdev.blog/serverless-swagger-ui-for-api-gateway/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/m-radzikowski.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-10-09T22:12:08.000Z","updated_at":"2024-08-15T19:58:05.000Z","dependencies_parsed_at":"2023-01-23T14:00:58.811Z","dependency_job_id":null,"html_url":"https://github.com/m-radzikowski/aws-swaggerui","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/m-radzikowski/aws-swaggerui","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-radzikowski%2Faws-swaggerui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-radzikowski%2Faws-swaggerui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-radzikowski%2Faws-swaggerui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-radzikowski%2Faws-swaggerui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/m-radzikowski","download_url":"https://codeload.github.com/m-radzikowski/aws-swaggerui/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-radzikowski%2Faws-swaggerui/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275537148,"owners_count":25482345,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-17T02:00:09.119Z","response_time":84,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api-gateway","cognito","serverless","serverless-framework","swagger","swagger-ui"],"created_at":"2024-08-13T07:07:46.786Z","updated_at":"2025-09-17T04:51:57.076Z","avatar_url":"https://github.com/m-radzikowski.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# Serverless Swagger UI for API Gateway\n\nExample of automatically built and deployed\nSwagger UI website with interactive documentation\nfor the API Gateway, protected with Cognito user authentication.\n\nSee the article with full description:\n[Serverless Swagger UI for API Gateway](https://betterdev.blog/serverless-swagger-ui-for-api-gateway/)\n\n## Development\n\nInstall dependencies:\n\n```bash\nyarn install\n```\n\nChange the `project` and/or `service` name\nin [serverless.yml](./serverless.yml) file\nto have unique `baseName`, that is used as a Cognito auth domain.\n\nDeploy:\n\n```bash\nyarn run deploy --region REGION\n```\n\nIn AWS Console, go to Cognito → Manage User Pools → newly created User Pool →\nUsers and groups, and create user.\n\nGo to CloudFront, find created Distribution, copy the Domain Name\nand open in a browser. Login with user credentials created in Cognito.\nYou will be redirected to the Swagger UI.\n\nRun Swagger UI locally (for Swagger UI website development):\n\n```bash\nyarn run start\n```\n\nIt will start the development server at http://localhost:8080.\nIt uses the same deployed AWS resources. To log in,\nuse the same user created in the Cognito.\n\nRemove deployed stack to clean resources:\n\n```bash\nyarn run remove --region REGION\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm-radzikowski%2Faws-swaggerui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm-radzikowski%2Faws-swaggerui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm-radzikowski%2Faws-swaggerui/lists"}