ToolAssay

Static mock answers from an OpenAPI 3.x document

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.

Answeringour last check, 2026-11-26
7 of 7checks answered this week
892 msmedian answer time
$0.004listed price per call
$0.004price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

POST https://code.halowerk.com/v1/mock-from-openapi

CategoryCode and developer
Provider hostcode.halowerk.com
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days1 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-11-26 valid payment request 402$0.004 908 ms
2026-11-25 valid payment request 402$0.004 900 ms
2026-11-24 valid payment request 402$0.004 910 ms
2026-11-23 valid payment request 402$0.004 885 ms
2026-11-22 valid payment request 402$0.004 866 ms
2026-11-21 valid payment request 402$0.004 888 ms
2026-11-20 valid payment request 402$0.004 892 ms

Example input (from the provider)

{
  "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"
}

Promised output schema (from the provider)

{
  "$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"
}

This page as JSON