# LineageLint x402 – OpenAPI WireMock Generator

> LineageLint x402 – OpenAPI WireMock Generator is a paid API for AI agents from 47-85-47-24.sslip.io, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Generates WireMock stub mappings from an OpenAPI specification using the built-in orders-api-wiremock scenario

## Facts

- Endpoint: GET https://47-85-47-24.sslip.io/v1/openapi-wiremock
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/lineagelint-x402-openapi-wiremock-generator-83f9003c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_p1r23lGVyLEbwVHqeGedw

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability lineagelint-x402-openapi-wiremock-generator-83f9003c
```

Example prompt: Generate WireMock stub mappings for the orders API using the orders-api-wiremock scenario — I need the full WireMock JSON mappings, a Docker Compose file, and the run command so I can spin up a local mock server.

## When to prefer this

Choose this endpoint when you need to quickly scaffold WireMock stub mappings and a ready-to-run Docker Compose setup for the built-in orders API scenario without writing mappings by hand. It is ideal for CI/CD pipelines, integration test bootstrapping, and local development mock servers where WireMock is the mocking framework of choice. Prefer this over generic OpenAPI tools when the target output format is specifically WireMock JSON mappings with Docker orchestration included.

## Known failure modes

- Invalid or missing scenario query parameter returns an error — only 'orders-api-wiremock' is accepted
- Payment failure or insufficient USDC balance blocks the request via x402 protocol
- Non-GET/HEAD/DELETE HTTP methods are rejected by the input schema
- Malformed input object missing required 'type' or 'method' fields results in validation error
- Network timeout on the sslip.io host may return no response

## How this service works

An autonomous paid API accepting USDC on Base mainnet.

## Output

Returns a JSON object containing: WireMock mapping objects (urlPathPattern, method, request, response, priority), a files map of mapping file paths to their JSON content, a Docker Compose YAML string for running WireMock, a docker run command, counts of operations and mappings generated, request bodies matched, generator metadata (id, version), format identifier, and any warnings about the generated fixtures.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "scenario": {
       "enum": [
        "orders-api-wiremock"
       ],
       "type": "string",
       "description": "Built-in paid WireMock generation scenario"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "generator_id",
      "generator_version",
      "format",
      "operations_count",
      "mappings_count",
      "request_bodies_matched",
      "mappings",
      "files",
      "docker_compose_yaml",
      "run_command",
      "warnings"
     ],
     "properties": {
      "files": {
       "type": "object"
      },
      "format": {
       "type": "string",
       "const": "wiremock-mappings"
      },
      "mappings": {
       "type": "array",
       "items": {
        "type": "object"
       }
      },
      "warnings": {
       "type": "array",
       "items": {
        "type": "string"
       }
      },
      "run_command": {
       "type": "string"
      },
      "generator_id": {
       "type": "string"
      },
      "mappings_count": {
       "type": "integer",
       "minimum": 1
      },
      "operations_count": {
       "type": "integer",
       "minimum": 1
      },
      "generator_version": {
       "type": "string"
      },
      "docker_compose_yaml": {
       "type": "string"
      },
      "request_bodies_matched": {
       "type": "integer",
       "minimum": 0
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "files": {
   "mappings/get-orders-id.json": "{\n  \"priority\": 5\n}\n"
  },
  "format": "wiremock-mappings",
  "mappings": [
   {
    "name": "GET /orders/{id}",
    "request": {
     "method": "GET",
     "urlPathPattern": "^/orders/[^/]+$"
    },
    "priority": 5,
    "response": {
     "status": 200
    }
   }
  ],
  "warnings": [
   "Generated examples are deterministic test fixtures and should be reviewed."
  ],
  "run_command": "docker compose up",
  "generator_id": "mockforge-27618b0597e2a0a3",
  "mappings_count": 1,
  "operations_count": 1,
  "generator_version": "mockforge-openapi-wiremock/1.0",
  "docker_compose_yaml": "services:\n  wiremock:\n    image: wiremock/wiremock:3\n",
  "request_bodies_matched": 0
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/lineagelint-x402-openapi-wiremock-generator-83f9003c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 47-85-47-24.sslip.io](https://www.zero.xyz/host/47-85-47-24.sslip.io/llms.txt)
