{"id":14986673,"url":"https://github.com/tidusjar/wiremock.openapivalidator","last_synced_at":"2025-08-26T14:23:49.981Z","repository":{"id":41180137,"uuid":"508230905","full_name":"tidusjar/Wiremock.OpenAPIValidator","owner":"tidusjar","description":"Validate your Wiremock mappings against an OpenAPI spec","archived":false,"fork":false,"pushed_at":"2022-08-29T07:36:54.000Z","size":383,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-22T15:15:33.349Z","etag":null,"topics":["openapi","openapi-spec","openapi3","wiremock","wiremock-mappings"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tidusjar.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}},"created_at":"2022-06-28T09:14:13.000Z","updated_at":"2025-07-14T19:48:07.000Z","dependencies_parsed_at":"2023-01-16T16:15:58.522Z","dependency_job_id":null,"html_url":"https://github.com/tidusjar/Wiremock.OpenAPIValidator","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/tidusjar/Wiremock.OpenAPIValidator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tidusjar%2FWiremock.OpenAPIValidator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tidusjar%2FWiremock.OpenAPIValidator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tidusjar%2FWiremock.OpenAPIValidator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tidusjar%2FWiremock.OpenAPIValidator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tidusjar","download_url":"https://codeload.github.com/tidusjar/Wiremock.OpenAPIValidator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tidusjar%2FWiremock.OpenAPIValidator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272228753,"owners_count":24895863,"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-26T02:00:07.904Z","response_time":60,"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":["openapi","openapi-spec","openapi3","wiremock","wiremock-mappings"],"created_at":"2024-09-24T14:13:19.186Z","updated_at":"2025-08-26T14:23:49.935Z","avatar_url":"https://github.com/tidusjar.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"## WireMock Open API Validator\n\n[![Build](https://github.com/tidusjar/Wiremock.OpenAPIValidator/actions/workflows/build.yml/badge.svg)](https://github.com/tidusjar/Wiremock.OpenAPIValidator/actions/workflows/build.yml)\n[![Publish](https://github.com/tidusjar/Wiremock.OpenAPIValidator/actions/workflows/publish.yml/badge.svg)](https://github.com/tidusjar/Wiremock.OpenAPIValidator/actions/workflows/publish.yml)\n[![Nuget](https://img.shields.io/nuget/v/Wiremock.OpenAPIValidator)](https://www.nuget.org/packages/Wiremock.OpenAPIValidator/)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=tidusjar_Wiremock.OpenAPIValidator\u0026metric=alert_status)](https://sonarcloud.io/summary/new_code?id=tidusjar_Wiremock.OpenAPIValidator)\n\nThis tool is intended to test your Wiremock stubs against an OpenAPI (v3) specification. This will check the following\n\n| Type of Check | Description |\n| ----------- | ----------- |\n| API Method | Ensure the mock is matching the API Verb provided |\n| URL Pattern Match | Ensure the mock will actually match the URL |\n| Parameters | Checks all required parameters are present and the object type is correct. Will also check optional parameters but will only produce a warning |\n| Response | Checks the response object and ensuring the types also match |\n\n\n\n\n# Installation\n.Net CLI (Global)\n\n`dotnet tool install --global Wiremock.OpenAPIValidator`\n___\n# Usage\n\n`wiremockopenapi -o \"C:/git/MyApi/OpenApi.yml\" -w \"C:/git/wiremock/stubs/mappings\"`\n\n## Example Workflow\n\n```\nsteps:\n- uses: actions/checkout@v3\n- name: Setup .NET\n    uses: actions/setup-dotnet@v2\n    with:\n    dotnet-version: 6.0.x\n- name: Install Wiremock OpenAPI Validator Tool\n    run: dotnet tool install --global Wiremock.OpenAPIValidator\n- name: Run Validator\n    run: |\n    wiremockopenapi -o \"./openapi/openapi.yaml\" -w \"./wiremock/mappings\"\n```\n\n___\n\n\n```\n-o, --openApiPath             Required. File path to the Open API Spec\n\n-w, --wiremockMappingsPath    Required. File path to the stubs mappings folder\n\n--help                        Display this help screen.\n\n--version                     Display version information.\n```\n\n# Example Output\n![Example Result](./assets/output.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftidusjar%2Fwiremock.openapivalidator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftidusjar%2Fwiremock.openapivalidator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftidusjar%2Fwiremock.openapivalidator/lists"}