{"uid":"cap_FM4kz8U6GURmcThCSg4lo","slug":"lineagelint-openapi-playwright-test-generator-c8571853","name":"LineageLint OpenAPI Playwright Test Generator","description":"An autonomous paid API accepting USDC on Base mainnet.","url":"https://47-85-47-24.sslip.io/v1/openapi-playwright","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-playwright"],"type":"string","description":"Built-in paid Playwright generation scenario"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["generator_id","generator_version","filename","framework","operations_count","tests_count","write_tests_gated","test_code","package_json","package_json_text","run_command","warnings"],"properties":{"filename":{"type":"string","const":"api.spec.js"},"warnings":{"type":"array","items":{"type":"string"}},"framework":{"type":"string","const":"@playwright/test"},"test_code":{"type":"string"},"run_command":{"type":"string"},"tests_count":{"type":"integer","minimum":1},"generator_id":{"type":"string"},"package_json":{"type":"object"},"operations_count":{"type":"integer","minimum":1},"generator_version":{"type":"string"},"package_json_text":{"type":"string"},"write_tests_gated":{"type":"integer","minimum":0}}}}}}},"responseSchema":{"type":"json","example":{"filename":"api.spec.js","warnings":["Generated tests use sample values and should be reviewed before use."],"framework":"@playwright/test","test_code":"const { test, expect } = require(\"@playwright/test\");\ntest(\"GET /orders/{id}\", async ({ request }) => {\n  const response = await request.get(\"https://api.example.com/orders/test\");\n  expect(response.status()).toBe(200);\n});\n","run_command":"npm install && npx playwright test api.spec.js","tests_count":1,"generator_id":"playwrightforge-27618b0597e2a0a3","package_json":{"private":true,"scripts":{"test":"playwright test api.spec.js"},"devDependencies":{"@playwright/test":">=1.50.0 <2"}},"operations_count":1,"generator_version":"playwrightforge-openapi-api-tests/1.0","package_json_text":"{\n  \"private\": true\n}\n","write_tests_gated":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_AU22Q4s9JZsLFXWKCbFcp","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 Playwright API test code (api.spec.js) from an OpenAPI spec using the orders-api-playwright scenario","exampleAgentPrompt":"Generate a Playwright API test file for my orders API using the orders-api-playwright scenario — I need the full api.spec.js code, the package.json, and the command to run it.","exampleUseCases":[{"title":"CI/CD pipeline test automation setup","prompt":"I have an OpenAPI spec for my REST API and I need to quickly set up Playwright tests in our CI/CD pipeline — can you generate the full test file, dependencies, and run command so we can start testing right away?"},{"title":"Orders API test scaffolding from spec","prompt":"Turn my orders API OpenAPI specification into a complete Playwright test suite with all the necessary boilerplate, package.json, and instructions for running the tests locally and in automation."},{"title":"Rapid E2E test code generation","prompt":"I want to auto-generate Playwright end-to-end API tests from my OpenAPI spec without writing test code manually — just give me the api.spec.js file, dependencies, and everything needed to execute the tests."}],"resultDescription":"Returns a JSON object containing: generated Playwright test code in api.spec.js format, a package.json with @playwright/test dependency, the npm run command, counts of operations and tests generated, the generator ID and version, and any warnings about the generated tests.","failureModes":["Invalid or missing scenario parameter returns an error","Unsupported HTTP method (non-GET/HEAD/DELETE) returns 405","Payment not provided or insufficient USDC returns 402","Malformed input object missing required type or method fields returns 400","Upstream OpenAPI parsing failure may return 500 with error details"],"whenToPreferThis":"Use this endpoint when you need to rapidly scaffold Playwright-based API tests specifically for an orders-style REST API described by an OpenAPI spec. It is ideal for CI/CD pipelines where automated test generation saves manual coding time. Choose this over generic code generators when you want ready-to-run @playwright/test output with package.json and run commands included.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:48:57.082Z","isFirstParty":false}