{"slug":"code-halowerk-com-v1-mock-from-openapi-8f641c","title":"Static mock answers from an OpenAPI 3.x document","host":"code.halowerk.com","method":"POST","resource":"https://code.halowerk.com/v1/mock-from-openapi","category":"code","description":"Static mock answers from an OpenAPI 3.x document: per operation (or per given request) the status, headers and body a mock server would return, from examples or generated deterministically. No hosted mock endpoint is started; the service returns what a static mock server would answer. Response choic","price_listed":0.004,"price_asked":0.004,"state":"answering","state_label":"Answering","checks_7d":7,"answered_7d":7,"latency_ms_median":892,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"requests":[{"method":"GET","path":"/pets/42"}],"spec":{"info":{"title":"Pets","version":"1"},"openapi":"3.0.3","paths":{"/pets/{id}":{"get":{"operationId":"getPet","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"id":{"type":"integer"},"name":{"type":"string"}},"required":["id","name"],"type":"object"}}},"description":"ok"}}}}}}},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"max_operations":{"default":100,"maximum":200,"minimum":1,"type":"integer"},"requests":{"items":{"additionalProperties":false,"properties":{"body":{},"headers":{"additionalProperties":{"maxLength":2000,"type":"string"},"maxProperties":50,"type":"object"},"method":{"enum":["GET","PUT","POST","DELETE","OPTIONS","HEAD","PATCH","TRACE"],"type":"string"},"path":{"maxLength":2000,"pattern":"^/","type":"string"},"prefer_status":{"maximum":599,"minimum":100,"type":"integer"}},"required":["method","path"],"type":"object"},"maxItems":50,"type":"array"},"seed":{"default":1,"maximum":2147483647,"minimum":1,"type":"integer"},"spec":{"anyOf":[{"type":"object"},{"maxLength":2000000,"minLength":2,"type":"string"}]}},"required":["spec"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.004,"price_match":true,"latency_ms":908,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.004,"price_match":true,"latency_ms":900,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.004,"price_match":true,"latency_ms":910,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.004,"price_match":true,"latency_ms":885,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.004,"price_match":true,"latency_ms":866,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.004,"price_match":true,"latency_ms":888,"error":null},{"day":"2026-11-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.004,"price_match":true,"latency_ms":892,"error":null}],"description_full":"Static mock answers from an OpenAPI 3.x document: per operation (or per given request) the status, headers and body a mock server would return, from examples or generated deterministically. No hosted mock endpoint is started; the service returns what a static mock server would answer. Response choice follows the common mock-server convention (Prism): the requested status (prefer_status) or the lowest declared 2xx; media type by Accept header, JSON preferred.","last_updated":"2026-11-20T13:07:29.282Z","schemes":["exact"]}