{"id":20388573,"url":"https://github.com/efureev/go-swagger-merger","last_synced_at":"2025-10-20T08:28:37.590Z","repository":{"id":90771325,"uuid":"587084209","full_name":"efureev/go-swagger-merger","owner":"efureev","description":null,"archived":false,"fork":false,"pushed_at":"2023-06-12T13:47:25.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-15T09:02:32.674Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/efureev.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-09T23:15:45.000Z","updated_at":"2024-05-17T08:56:33.000Z","dependencies_parsed_at":"2024-03-16T14:10:25.706Z","dependency_job_id":null,"html_url":"https://github.com/efureev/go-swagger-merger","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/efureev%2Fgo-swagger-merger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/efureev%2Fgo-swagger-merger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/efureev%2Fgo-swagger-merger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/efureev%2Fgo-swagger-merger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/efureev","download_url":"https://codeload.github.com/efureev/go-swagger-merger/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241940541,"owners_count":20045878,"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","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":[],"created_at":"2024-11-15T03:11:35.782Z","updated_at":"2025-10-11T16:44:13.669Z","avatar_url":"https://github.com/efureev.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Swagger merger\n\nTo merge a few swagger YAML files into one.\n\nInstall the command line tool first.\n\n```shell\n\tgo get github.com/efureev/go-swagger-merger\n```\n\n## Docker\n\n```shell\ndocker pull ghcr.io/efureev/go-swagger-merger:master\n```\n\nThe command below will merge `/data/swagger1.yaml` `/data/swagger2.yaml` and save result file in\nthe `/data/swagger.yaml`. The library supports more than two files to merge. You can add more paths to the\nlist `/data/swagger3.yaml`, `/data/swaggerN.yaml`.\n\n```shell\ngo-swagger-merger -o ./docs/swagger.yml -i ./docs/supply.yml -i ./docs/attributes.yml -i ./docs/entities.yml\ngo-swagger-merger -o ./docs/swagger.yml -i ./docs/categories.yml -i ./docs/tags.yml -i ./docs/terms.yml\ngo-swagger-merger -o ./docs/swagger.yml -i ./docs/tags.yml -i ./docs/categories.yml -i ./docs/logs.yml -i ./docs/terms.yml -i ./docs/articles.yml\n\n```\n\nAttention. The order of the files is essential, and the following file overwrites the same fields from the previous\nfile.\n\nSections that work exactly:\n\n- Servers - Exclude duplicate\n- Paths\n- Tags - Exclude duplicate\n- Components:\n    - Schemas\n    - Responses\n    - Parameters\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fefureev%2Fgo-swagger-merger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fefureev%2Fgo-swagger-merger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fefureev%2Fgo-swagger-merger/lists"}