action wiremock_post_admin_near_misses_request_pattern { label: "Find near misses matching request pattern" description: "Find at most 3 near misses for closest logged requests to the specified request pattern" provider: wiremock method: POST path: "/__admin/near-misses/request-pattern" encoding: json input: { type: "object" properties: { basicAuthCredentials: { type: "object" description: "Pre-emptive basic auth credentials to match against" required: ["password", "username"] properties: { password: { type: "string" } username: { type: "string" } } } bodyPatterns: { type: "array" description: "Request body patterns to match against in the : { \"\": \"\" } form" items: { type: "object" } } cookies: { type: "object" description: "Cookie patterns to match against in the : { \"\": \"\" } form" } headers: { type: "object" description: "Header patterns to match against in the : { \"\": \"\" } form" } method: { type: "string" description: "The HTTP request method e.g. GET" } queryParameters: { type: "object" description: "Query parameter patterns to match against in the : { \"\": \"\" } form" } url: { type: "string" description: "The path and query to match exactly against. Only one of url, urlPattern, urlPath or urlPathPattern may be specified." } urlPath: { type: "string" description: "The path to match exactly against. Only one of url, urlPattern, urlPath or urlPathPattern may be specified." } urlPathPattern: { type: "string" description: "The path regex to match against. Only one of url, urlPattern, urlPath or urlPathPattern may be specified." } urlPattern: { type: "string" description: "The path and query regex to match against. Only one of url, urlPattern, urlPath or urlPathPattern may be specified." } } } output: { type: "object" properties: { nearMisses: { type: "array" items: { type: "object" properties: { absoluteUrl: { type: "string" description: "The full URL to match against" } body: { type: "string" description: "Body string to match against" } cookies: { type: "object" description: "Cookie patterns to match against in the : { \"\": \"\" } form" } headers: { type: "object" description: "Header patterns to match against in the : { \"\": \"\" } form" } method: { type: "string" description: "The HTTP request method" } url: { type: "string" description: "The path and query to match exactly against" } } } } } } }