{"id":18875811,"url":"https://github.com/wiremock/wiremock-templates-demo","last_synced_at":"2026-01-29T09:38:10.084Z","repository":{"id":229697772,"uuid":"647245098","full_name":"wiremock/wiremock-templates-demo","owner":"wiremock","description":"WireMock Templates Demo","archived":false,"fork":false,"pushed_at":"2023-05-30T11:49:16.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-12T23:41:08.727Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wiremock.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2023-05-30T11:17:58.000Z","updated_at":"2023-05-30T11:50:22.000Z","dependencies_parsed_at":"2024-03-25T21:27:06.804Z","dependency_job_id":null,"html_url":"https://github.com/wiremock/wiremock-templates-demo","commit_stats":null,"previous_names":["wiremock/wiremock-templates-demo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wiremock/wiremock-templates-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wiremock%2Fwiremock-templates-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wiremock%2Fwiremock-templates-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wiremock%2Fwiremock-templates-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wiremock%2Fwiremock-templates-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wiremock","download_url":"https://codeload.github.com/wiremock/wiremock-templates-demo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wiremock%2Fwiremock-templates-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28873993,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T07:35:32.468Z","status":"ssl_error","status_checked_at":"2026-01-29T07:33:31.463Z","response_time":59,"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":[],"created_at":"2024-11-08T06:09:15.383Z","updated_at":"2026-01-29T09:38:10.053Z","avatar_url":"https://github.com/wiremock.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WireMock API Templates demo\n\nThis demo demonstrates using of [WireMock API Templates Library](https://library.wiremock.org/)\nin WireMock Standalone packaged as a Docker image.\n\n## Definition\n\nIn the demo we will use the _GitHub v3 REST API_ stub that can be found on\n[this page](https://library.wiremock.org/catalog/api/github-com-ghes-2-21/).\nTo use it in the static Docker image,\nwe just need to download it to the `/home/wiremock/mappings/` directory.\nThen the stubs will be automatically loaded on the startup.\n\n```Dockerfile\nFROM wiremock/wiremock:2.35.0\n\nRUN mkdir -p /home/wiremock/mappings/\nRUN curl https://library.wiremock.org/catalog/api/github-com-ghes-2-21/github.com-ghes-2.21-stubs.json \\\n        --output /home/wiremock/mappings/github.json\n```\n\n## Build and then start the image\n\n```bash\ndocker build -t wiremock/templates-demo .\ndocker run -it --rm -p 8080:8080 wiremock/templates-demo\n```\n\nAfter this step, you will have a running WireMock instance on port 8080\nNow you can use the stubbed GitHub v3 REST API and \nall [WireMock Administrative APIs](https://wiremock.org/docs/standalone/administration/)\nfor test purposes.\n\n## Use API\n\n1. Go to `http://localhost:8080/__admin/` to list all available APIs.\n   As you can see, there are many of them included into the stub.\n2. Go to `http://localhost:8080` to see the list of mocked APIs\n3. Go to `http://localhost:8080/organizations` to list the mock organizations\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwiremock%2Fwiremock-templates-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwiremock%2Fwiremock-templates-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwiremock%2Fwiremock-templates-demo/lists"}