{"id":22230070,"url":"https://github.com/sngular/api-mock-runner","last_synced_at":"2025-08-22T15:02:43.745Z","repository":{"id":216781704,"uuid":"734254681","full_name":"sngular/api-mock-runner","owner":"sngular","description":"Create mocks servers with its schemas from OpenAPI 3.0.0 spec files","archived":false,"fork":false,"pushed_at":"2024-02-02T12:58:30.000Z","size":431,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-04T16:15:28.620Z","etag":null,"topics":["api","microservices","mock","mock-server","mocking","openapi"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@sngular/api-mock-runner","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sngular.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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,"zenodo":null}},"created_at":"2023-12-21T08:33:19.000Z","updated_at":"2024-03-06T04:32:23.000Z","dependencies_parsed_at":"2024-01-12T20:48:08.130Z","dependency_job_id":"4bb22cab-2fbd-4975-880b-4831313d9d62","html_url":"https://github.com/sngular/api-mock-runner","commit_stats":null,"previous_names":["sngular/api-mock-runner"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/sngular/api-mock-runner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sngular%2Fapi-mock-runner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sngular%2Fapi-mock-runner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sngular%2Fapi-mock-runner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sngular%2Fapi-mock-runner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sngular","download_url":"https://codeload.github.com/sngular/api-mock-runner/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sngular%2Fapi-mock-runner/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267413880,"owners_count":24083508,"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-27T02:00:11.917Z","response_time":82,"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","microservices","mock","mock-server","mocking","openapi"],"created_at":"2024-12-03T01:14:12.833Z","updated_at":"2025-07-27T19:32:18.843Z","avatar_url":"https://github.com/sngular.png","language":"JavaScript","readme":"# Welcome to api-mock-runner 👋\n\nRun multiple mock servers from one or more [OpenAPI Specification](https://www.openapis.org/).\n\nSchemas can be provided from a remote origin (https:// or git@) or a local path.\n\nRemote and circular references are allowed.\n\n## 📘 Usage\n\nYou can use api-mock-runner in a three different ways. All of them starts a CLI guided journey:\n\n### 1. NPX (No installation needed)\n\n```sh\nnpx @sngular/api-mock-runner\n```\n\n### 2. Globally\n\n```sh\nsudo npm install --global @sngular/api-mock-runner\n```\n\nTo use: type `api-mock-runner` in the terminal.\n\n### 3. Current project dev dependency\n\n```sh\nnpm i --save-dev @sngular/api-mock-runner\n```\n\n### Manual options\n\nYou could avoid CLI interaction by using `api-mock-runner` with flags.\nTo explore manual options, use -h flag:\n\n```sh\nnpx @sngular/api-mock-runner -h\n```\n\n```sh\nUsage: api-mock-runner [options]\n\nOptions:\n  -o, --origin \u003corigin\u003e          path or repo containing schemas\n  -s, --schema [schemaPaths...]  path to schemas\n  -p, --port [ports...]          port to serve each schema\n  -r, --run-config               use saved config\n  -h, --help                     display help for command\n```\n\n### Response selection\n\nThe application will return the first response found in the schema by default. To use another existing response, use `prefer` header with the content `statusCode=XXX` in the request.\n\n```\nprefer: statusCode=500\n```\n\n## Architectural Decision Record (ADR)\n\nHere you can find [architectural decisions records](docs/adr/)\n\n## ❤️ Special thanks\n\nWe would like to express our special thanks to [open-api-mocker](https://github.com/jormaechea/open-api-mocker), which is used to set up a mock server.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsngular%2Fapi-mock-runner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsngular%2Fapi-mock-runner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsngular%2Fapi-mock-runner/lists"}