{"id":15527005,"url":"https://github.com/welcomattic/openapi-enricher","last_synced_at":"2025-08-13T21:44:07.604Z","repository":{"id":69728797,"uuid":"580334093","full_name":"welcoMattic/openapi-enricher","owner":"welcoMattic","description":"Enrich an OpenAPI spec with response examples to mock it efficiently","archived":false,"fork":false,"pushed_at":"2024-10-14T12:04:55.000Z","size":94,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-09T00:51:54.730Z","etag":null,"topics":["mock","openapi"],"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":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/welcoMattic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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,"zenodo":null},"funding":{"github":"welcoMattic","ko_fi":"welcomattic"}},"created_at":"2022-12-20T09:58:26.000Z","updated_at":"2024-10-16T13:39:42.000Z","dependencies_parsed_at":"2025-04-23T11:57:42.204Z","dependency_job_id":"0603e4bb-d73f-4357-b61e-2c4898dbbc46","html_url":"https://github.com/welcoMattic/openapi-enricher","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/welcoMattic/openapi-enricher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/welcoMattic%2Fopenapi-enricher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/welcoMattic%2Fopenapi-enricher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/welcoMattic%2Fopenapi-enricher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/welcoMattic%2Fopenapi-enricher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/welcoMattic","download_url":"https://codeload.github.com/welcoMattic/openapi-enricher/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/welcoMattic%2Fopenapi-enricher/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270322840,"owners_count":24564651,"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-08-13T02:00:09.904Z","response_time":66,"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":["mock","openapi"],"created_at":"2024-10-02T11:03:40.299Z","updated_at":"2025-08-13T21:44:07.366Z","avatar_url":"https://github.com/welcoMattic.png","language":"JavaScript","funding_links":["https://github.com/sponsors/welcoMattic","https://ko-fi.com/welcomattic"],"categories":[],"sub_categories":[],"readme":"# OpenAPI Enricher\n\n\u003e Enrich an OpenAPI spec with response examples\n\n## Usage\n\n1. Install openapi-enricher with `npm install openapi-enricher`\n2. Write your response exemples in a JSON file, following the provided template (examples.json)\n3. Run `npx openapi-enricher openapi.json -e examples.json -o enriched.json`\n\n## Examples\n\nGiven the petstore OpenAPI specification file [petstore.json](test/fixtures/petstore.json) and a [file containing handwritten response examples](test/fixtures/petstore-examples.json).\nBy running `npx openapi-enricher petstore.json -e petstore-examples.json -o enriched.json` you can obtain the result exposed in the [enriched.json](test/fixtures/enriched.json) file.\n\nBasically, it will merge the `responses` entries of both files.\n\n## Limitations\n\n* It support only examples for response in paths, not for components\n* It support only 1 examples file at a time\n\n## Credits\n\n* [All contributors](https://github.com/welcomattic/openapi-enricher/graphs/contributors)\n\n## License\n\nOpenAPI Enricher is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwelcomattic%2Fopenapi-enricher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwelcomattic%2Fopenapi-enricher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwelcomattic%2Fopenapi-enricher/lists"}