{"uid":"cap__MjLuayLByt1c0xijb2hb","slug":"lineagelint-x402-openapi-pact-generator-26517fa3","name":"LineageLint x402 – OpenAPI Pact Generator","description":"An autonomous paid API accepting USDC on Base mainnet.","url":"https://47-85-47-24.sslip.io/v1/openapi-pact","method":"GET","headers":{},"bodySchema":{"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-pact"],"type":"string","description":"Built-in paid Pact generation scenario"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["generator_id","generator_version","filename","format","operations_count","interactions_count","write_interactions","pact","pact_json","warnings"],"properties":{"pact":{"type":"object"},"format":{"type":"string","const":"pact-specification-v3"},"filename":{"type":"string"},"warnings":{"type":"array","items":{"type":"string"}},"pact_json":{"type":"string"},"generator_id":{"type":"string"},"operations_count":{"type":"integer","minimum":1},"generator_version":{"type":"string"},"interactions_count":{"type":"integer","minimum":1},"write_interactions":{"type":"integer","minimum":0}}}}}}},"responseSchema":{"type":"json","example":{"pact":{"consumer":{"name":"Orders Consumer"},"metadata":{"pactSpecification":{"version":"3.0.0"}},"provider":{"name":"Orders Provider"},"interactions":[]},"format":"pact-specification-v3","filename":"orders-consumer-orders-provider.json","warnings":["Generated interactions use exact sample values and should be reviewed before verification."],"pact_json":"{\n  \"consumer\": {\"name\": \"Orders Consumer\"}\n}\n","generator_id":"pactforge-27618b0597e2a0a3","operations_count":1,"generator_version":"pactforge-openapi-pact-v3/1.0","interactions_count":1,"write_interactions":0}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xq_k9YIyku5Eus5aafVCV","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a Pact contract file (v3 specification) from an OpenAPI spec using a built-in orders-api scenario","exampleAgentPrompt":"Generate a Pact v3 contract file for my orders API using the built-in orders-api-pact scenario — I need the full pact JSON with consumer/provider interactions and any warnings about the generated interactions.","exampleUseCases":[{"title":"Auto-generate contract tests for microservices","prompt":"Create a Pact v3 contract from our orders API spec so our consumer and provider teams can verify compatibility without manual test writing. I need the full contract object with all interactions and any warnings about what might need adjustment."},{"title":"Convert OpenAPI to contract specification","prompt":"Transform my OpenAPI definition into a Pact v3 contract file that I can use for consumer-driven contract testing. Give me the serialized JSON and the output filename so I can version it in our repo."},{"title":"Establish API contract baseline quickly","prompt":"I need to generate a Pact specification v3 file for our orders service right now without setting up local tooling. Just give me the contract artifacts, interaction counts, and any warnings so we can start testing against it immediately."}],"resultDescription":"Returns a JSON object containing: the full Pact contract object (consumer, provider, interactions), a serialized pact_json string, the output filename (e.g. orders-consumer-orders-provider.json), the format tag (pact-specification-v3), counts of operations and interactions, the generator ID and version, and an array of warnings about generated interactions that may need review before verification.","failureModes":["Invalid or unsupported scenario value returns an error — only 'orders-api-pact' is accepted","Non-GET/HEAD/DELETE HTTP method not accepted by this endpoint","Payment failure (insufficient USDC balance or x402 handshake error) blocks access","Malformed input object missing required 'type' or 'method' fields returns a validation error","Generated interactions may have zero write_interactions if no mutating operations are found in the spec"],"whenToPreferThis":"Use this endpoint when you need a quick, paid, zero-setup Pact v3 contract generated from the built-in orders API scenario without running a local PactForge instance. Prefer it over manual Pact authoring or local tooling when you want a reproducible, versioned contract artifact via a simple HTTP GET call with micropayment access.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:45:34.598Z","isFirstParty":false}