{"id":13754138,"url":"https://github.com/thanhson1085/swagger-combined","last_synced_at":"2026-02-23T05:40:52.713Z","repository":{"id":36173142,"uuid":"40477254","full_name":"thanhson1085/swagger-combined","owner":"thanhson1085","description":"Combines all swagger documents in microservices","archived":false,"fork":false,"pushed_at":"2020-01-07T16:25:40.000Z","size":2960,"stargazers_count":111,"open_issues_count":8,"forks_count":28,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-09-25T10:27:57.947Z","etag":null,"topics":["microservice","proxy","swagger-documentation"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":"Unmaintained","scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thanhson1085.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-08-10T10:39:00.000Z","updated_at":"2024-12-03T09:49:40.000Z","dependencies_parsed_at":"2022-08-18T14:20:35.866Z","dependency_job_id":null,"html_url":"https://github.com/thanhson1085/swagger-combined","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/thanhson1085/swagger-combined","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thanhson1085%2Fswagger-combined","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thanhson1085%2Fswagger-combined/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thanhson1085%2Fswagger-combined/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thanhson1085%2Fswagger-combined/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thanhson1085","download_url":"https://codeload.github.com/thanhson1085/swagger-combined/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thanhson1085%2Fswagger-combined/sbom","scorecard":{"id":876647,"data":{"date":"2025-08-11","repo":{"name":"github.com/thanhson1085/swagger-combined","commit":"843b50a57f08e79048e6faf1a56138059d11d0dd"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.2,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":3,"reason":"Found 6/20 approved changesets -- score normalized to 3","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating alpine:3.2 to alpine:3.2@sha256:e9a2035f9d0d7cee1cdd445f5bfa0c5c646455ee26f14565dce23cf2d2de7570","Warn: npmCommand not pinned by hash: Dockerfile:6-17","Warn: npmCommand not pinned by hash: Dockerfile:22","Info:   0 out of   1 containerImage dependencies pinned","Info:   0 out of   2 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 16 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-24T06:16:43.383Z","repository_id":36173142,"created_at":"2025-08-24T06:16:43.383Z","updated_at":"2025-08-24T06:16:43.383Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29738148,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-23T04:51:08.365Z","status":"ssl_error","status_checked_at":"2026-02-23T04:49:15.865Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["microservice","proxy","swagger-documentation"],"created_at":"2024-08-03T09:01:42.691Z","updated_at":"2026-02-23T05:40:52.694Z","avatar_url":"https://github.com/thanhson1085.png","language":"JavaScript","funding_links":[],"categories":["proxy","JavaScript"],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/thanhson1085/swagger-combined.svg)](https://travis-ci.org/thanhson1085/swagger-combined)\n\n[![NPM](https://nodei.co/npm/swagger-combined.png?downloads=true\u0026downloadRank=true\u0026stars=true)](https://nodei.co/npm/swagger-combined/)\n\nIf you are building a microservice system and using Swagger. \n\nThis packet is able to help you combine all swagger documents to only one document.\n\nFor example, you have the swagger documents at `http://service1/docs`, `http://service2/docs`\n\nThis will help you combine all links above to only one link `http://service/docs`\n\n**NOTE: If you need Gulp, ES6 and somethings more, please see branch [added_gulp](https://github.com/thanhson1085/swagger-combined/tree/added_gulp)**\n\n### Installation \u0026 Run from Docker\n```\ndocker run -d -p 3000:3000 thanhson1085/swagger-combined\n```\n\n### Configuration file\nSee config/default.json as below:\n```\n{\n    \"list_url\": [\n        {\n            \"docs\": \"http://petstore.swagger.io/v2/swagger.json\",\n            \"base_path\": \"http://petstore.swagger.io/v2\",\n            \"route_match\": [\"/user*\", \"/pet*\", \"/store*\"]\n        }\n    ],\n    \"info\": { \"title\": \"Example API\", \"version\": \"1.0\" },\n    \"port\": 3000\n}\n```\n- docs: swagger document links\n- base_path: Proxy Target\n- route_match: Routes for proxy\n\nPlease make note that you changed `config/default.json` to match all swagger document links you have\n\n### Installation \u0026 Run from Source Code\n```\ngit clone https://github.com/thanhson1085/swagger-combined.git\n```\nRun:\n```\ncd swagger-combined\nnpm install\nnode index.js\n```\n\n### Test\nIn the default, swagger-combined run on port 3000 and included swagger-ui. So you just run `http://localhost:3000?url=http://localhost:3000/docs` to see everything you need. Or you can see swagger api at `http://localhost:3000/docs`\n\n### Example \u0026 Demo\nWith config/default.json:\n```\n{\n    \"list_url\": [\n        {\n            \"docs\": \"http://petstore.swagger.io/v2/swagger.json\",\n            \"base_path\": \"http://petstore.swagger.io/v2\",\n            \"route_match\": [\"/user*\", \"/pet*\", \"/store*\"]\n        },\n        {\n            \"docs\": \"https://angular-admin-seed.sonnguyen.ws/docs\",\n            \"base_path\": \"https://angular-admin-seed.sonnguyen.ws\",\n            \"route_match\": [\"/api/v1*\"]\n        }\n    ],\n    \"info\": { \"title\": \"Example API\", \"version\": \"1.0\" },\n    \"port\": 3000\n}\n```\n\n### License (MIT)\nCopyright (c) 2015 Nguyen Sy Thanh Son \u003cthanhson1085@gmail.com\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthanhson1085%2Fswagger-combined","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthanhson1085%2Fswagger-combined","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthanhson1085%2Fswagger-combined/lists"}