{"version":"1.0","name":"Generate and statically review OpenAPI tests","description":"Generate deterministic pytest smoke tests from a caller-supplied OpenAPI 3 document, then measure the generated Python source before retaining or running it. The workflow validates syntax and static quality signals; it does not execute tests or contact the target API.","network":"eip155:8453","asset":"USDC","paymentProtocol":"x402 v2 exact","buyerGuideUrl":"https://apiacre.com/buyers","catalogUrl":"https://apiacre.com/workflows.json","workflow":{"id":"openapi-test-quality-gate","title":"Generate and statically review OpenAPI tests","description":"Generate deterministic pytest smoke tests from a caller-supplied OpenAPI 3 document, then measure the generated Python source before retaining or running it. The workflow validates syntax and static quality signals; it does not execute tests or contact the target API.","documentationUrl":"https://apiacre.com/workflows/openapi-test-quality-gate","machineReadableUrl":"https://apiacre.com/workflows/openapi-test-quality-gate.json","totalPrice":"$0.125","totalAtomicUsdc":125000,"stepCount":2,"steps":[{"order":1,"service":"developer.openapi-test-generate","title":"OpenAPI pytest generator","purpose":"Generate bounded, mutation-guarded pytest and requests smoke tests.","method":"POST","url":"https://apiacre.com/v1/developer/openapi-test-generate","price":"$0.1","documentationUrl":"https://apiacre.com/services/developer.openapi-test-generate","checkoutUrl":"https://apiacre.com/try/developer.openapi-test-generate","workflowStartUrl":"https://apiacre.com/workflows/openapi-test-quality-gate/start/1","sampleUrl":"https://apiacre.com/samples/developer.openapi-test-generate","inputTemplate":{"document":"$openApiDocument","format":"$format","max_operations":50,"include_optional":false,"timeout_seconds":20},"useOutput":"Review result.data.operations, warnings, and source; generated mutating tests remain disabled unless the eventual runner explicitly enables them."},{"order":2,"service":"developer.code-metrics","title":"Code metrics","purpose":"Measure the generated Python module without executing or forwarding it.","method":"POST","url":"https://apiacre.com/v1/developer/code-metrics","price":"$0.025","documentationUrl":"https://apiacre.com/services/developer.code-metrics","checkoutUrl":"https://apiacre.com/try/developer.code-metrics","workflowStartUrl":"https://apiacre.com/workflows/openapi-test-quality-gate/start/2","sampleUrl":"https://apiacre.com/samples/developer.code-metrics","inputTemplate":{"code":"$step1.result.data.source","language":"python"},"useOutput":"Require result.data.source.sha256 to equal step 1's sourceSha256, require valid syntax, and inspect reviewSignals before retaining the module."}]}}