{"id":21488519,"url":"https://github.com/marcelthole/openapi-merge","last_synced_at":"2025-07-21T15:04:05.098Z","repository":{"id":41902948,"uuid":"306759712","full_name":"marcelthole/openapi-merge","owner":"marcelthole","description":null,"archived":false,"fork":false,"pushed_at":"2025-05-19T12:10:07.000Z","size":143,"stargazers_count":16,"open_issues_count":1,"forks_count":6,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-15T13:53:17.551Z","etag":null,"topics":["hacktoberfest","openapi","openapi3"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/marcelthole.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":"2020-10-23T22:26:31.000Z","updated_at":"2025-05-19T12:10:10.000Z","dependencies_parsed_at":"2022-08-11T20:40:49.032Z","dependency_job_id":"a0685d7f-ec82-498f-9290-6155f798daee","html_url":"https://github.com/marcelthole/openapi-merge","commit_stats":{"total_commits":33,"total_committers":3,"mean_commits":11.0,"dds":0.06060606060606055,"last_synced_commit":"43e0afa418dc3a62658c4004039b8cc1b48c1b85"},"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"purl":"pkg:github/marcelthole/openapi-merge","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcelthole%2Fopenapi-merge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcelthole%2Fopenapi-merge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcelthole%2Fopenapi-merge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcelthole%2Fopenapi-merge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marcelthole","download_url":"https://codeload.github.com/marcelthole/openapi-merge/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcelthole%2Fopenapi-merge/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266324440,"owners_count":23911226,"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-07-21T11:47:31.412Z","response_time":64,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["hacktoberfest","openapi","openapi3"],"created_at":"2024-11-23T14:09:44.694Z","updated_at":"2025-07-21T15:04:05.055Z","avatar_url":"https://github.com/marcelthole.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenAPI Merge\n\n\n[![Test Status](https://github.com/marcelthole/openapi-merge/workflows/Tests/badge.svg)](https://github.com/marcelthole/openapi-merge/actions)\n[![Docker Build Status](https://github.com/marcelthole/openapi-merge/workflows/Docker-Build/badge.svg)](https://github.com/marcelthole/openapi-merge/actions)\n[![codecov](https://codecov.io/gh/marcelthole/openapi-merge/branch/main/graph/badge.svg?token=dffVbhqxvg)](https://codecov.io/gh/marcelthole/openapi-merge)\n[![Mutation testing badge](https://img.shields.io/endpoint?style=flat\u0026url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2Fmarcelthole%2Fopenapi-merge%2Fmain)](https://dashboard.stryker-mutator.io/reports/github.com/marcelthole/openapi-merge/main)\n[![Latest Stable Version](https://poser.pugx.org/marcelthole/openapi-merge/v)](//packagist.org/packages/marcelthole/openapi-merge)\n[![License](https://poser.pugx.org/marcelthole/openapi-merge/license)](//packagist.org/packages/marcelthole/openapi-merge)\n\n\nRead multiple OpenAPI 3.0.x YAML and JSON files and merge them into one large file.  \nThis application is build on [cebe/php-openapi](https://github.com/cebe/php-openapi) \n\n# Installation\n```\ncomposer require marcelthole/openapi-merge\n```\n\n# Usage\n## CLI\n```\n$ vendor/bin/openapi-merge --help\n\nUsage:\n    openapi-merge basefile.yml additionalFileA.yml additionalFileB.yml [...]  \u003e combined.yml\n\n```\n\n### Arguments\n| Argument | Meaning |\n| --- | ---  |\n| --match[=MATCH] | Use a RegEx pattern to determine the additionalFiles. If this option is set the additionalFiles could be omitted (multiple values allowed) |\n| --resolve-references[=RESOLVE-REFERENCES] | Resolve the \"$refs\" in the given files [default: true] |\n| -o, --outputfile[=OUTPUTFILE] | Defines the output file for the result. Defaults the result will printed to stdout |\n\n\n## Docker\nRun the `openapi-merge` command within a docker container\n```\ndocker pull ghcr.io/marcelthole/openapi-merge\ndocker run -v $PWD:/app --rm ghcr.io/marcelthole/openapi-merge [arguments]\n```\n\nBuild the image locally from the sourcecode:\n```\ndocker build --build-arg COMPOSER_REQUIRE_VERSION=\u003cversion\u003e --no-cache -t marcelthole/openapi-merge:dev docker\ndocker run -v $PWD:/app --rm marcelthole/openapi-merge:dev [arguments]\n```\n\n## Outputformat\nThe output format is determined by the basefile extension.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcelthole%2Fopenapi-merge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcelthole%2Fopenapi-merge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcelthole%2Fopenapi-merge/lists"}