{
  "x402Version": 2,
  "id": 2560,
  "slug": "2560",
  "resource": "https://apiacre.com/v1/developer/openapi-test-generate",
  "description": "Generate deterministic, syntax-validated pytest and requests smoke tests from a caller-supplied OpenAPI 3 document, with mutating operations disabled by default.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xa0BFa4f07281c9b248DC3AED2217836BcA24869B",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "100000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "B4CHWQeQn7GDLZD2aW6hpGG2bEseisBFLZYECA3HDLan",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "100000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "document": "{\"openapi\":\"3.1.0\",\"info\":{\"title\":\"Widget API\",\"version\"...",
            "format": "json",
            "include_optional": false,
            "max_operations": 25,
            "timeout_seconds": 20
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "data": {
              "apiTitle": "Widget API",
              "baseUrlDefault": "https://api.example.com",
              "documentSha256": "2f27879b24323466c5dbca7df9bf137561b826bd43c318b8642b92f04...",
              "environment": {
                "allowMutatingTests": "API_ALLOW_MUTATING_TESTS",
                "apiKey": "API_KEY",
                "baseUrl": "API_BASE_URL",
                "bearerToken": "API_BEARER_TOKEN"
              },
              "execution": {
                "generatedTestsExecuted": false,
                "networkRequestsMade": false,
                "sourceSyntaxValidated": true
              },
              "generatedTestCount": 2,
              "guardedMutationCount": 1,
              "openapiVersion": "3.1.0",
              "operationCount": 2,
              "operations": [
                {
                  "method": "GET",
                  "operationId": "getHealth",
                  "path": "/health",
                  "testName": "test_gethealth"
                }
              ],
              "requirements": [
                "pytest>=8",
                "requests>=2.31"
              ],
              "source": "\"\"\"Generated API smoke tests. Review targets and payloads...",
              "sourceFileName": "test_openapi_generated.py",
              "sourceSha256": "44d05573bd64ef63deb934c9bef7b1ed6c618e4093c9cc7eee8e3a55b...",
              "truncated": false,
              "warnings": []
            },
            "meta": {
              "cached": false,
              "duration_ms": 42,
              "next_actions": [
                {
                  "method": "POST",
                  "reason": "Measure the generated pytest module's structure, complexi...",
                  "service": "developer.code-metrics",
                  "title": "Code metrics"
                }
              ],
              "sources": [],
              "warnings": []
            },
            "request_id": "018f1f54-7f38-7ba2-8dc3-5f90272d9f1a",
            "service": "developer.openapi-test-generate",
            "version": "1"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "api_key_env": {
                    "type": "string"
                  },
                  "base_url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "bearer_token_env": {
                    "type": "string"
                  },
                  "document": {
                    "type": "string"
                  },
                  "format": {
                    "enum": [
                      "json",
                      "yaml"
                    ],
                    "type": "string"
                  },
                  "include_optional": {
                    "type": "boolean"
                  },
                  "max_operations": {
                    "type": "integer"
                  },
                  "timeout_seconds": {
                    "type": "integer"
                  }
                },
                "required": [
                  "document"
                ],
                "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": {
                "properties": {
                  "data": {
                    "additionalProperties": false,
                    "properties": {
                      "apiTitle": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "baseUrlDefault": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "documentSha256": {
                        "type": "string"
                      },
                      "environment": {
                        "type": "object"
                      },
                      "execution": {
                        "type": "object"
                      },
                      "generatedTestCount": {
                        "type": "integer"
                      },
                      "guardedMutationCount": {
                        "type": "integer"
                      },
                      "openapiVersion": {
                        "type": "string"
                      },
                      "operationCount": {
                        "type": "integer"
                      },
                      "operations": {
                        "items": {
                          "type": "object"
                        },
                        "type": "array"
                      },
                      "requirements": {
                        "type": "array"
                      },
                      "source": {
                        "type": "string"
                      },
                      "sourceFileName": {
                        "type": "string"
                      },
                      "sourceSha256": {
                        "type": "string"
                      },
                      "truncated": {
                        "type": "boolean"
                      },
                      "warnings": {
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      }
                    },
                    "required": [
                      "documentSha256",
                      "openapiVersion",
                      "apiTitle",
                      "baseUrlDefault",
                      "operationCount",
                      "generatedTestCount",
                      "guardedMutationCount",
                      "truncated",
                      "sourceFileName",
                      "sourceSha256",
                      "source",
                      "operations",
                      "requirements",
                      "environment",
                      "warnings",
                      "execution"
                    ],
                    "type": "object"
                  },
                  "meta": {
                    "properties": {
                      "cached": {
                        "type": "boolean"
                      },
                      "duration_ms": {
                        "type": "integer"
                      },
                      "next_actions": {
                        "items": {
                          "type": "object"
                        },
                        "type": "array"
                      },
                      "sources": {
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "warnings": {
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      }
                    },
                    "required": [
                      "duration_ms",
                      "cached",
                      "sources",
                      "warnings",
                      "next_actions"
                    ],
                    "type": "object"
                  },
                  "request_id": {
                    "type": "string"
                  },
                  "service": {
                    "type": "string"
                  },
                  "version": {
                    "type": "string"
                  }
                },
                "required": [
                  "request_id",
                  "service",
                  "version",
                  "data",
                  "meta"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "payment-identifier": {
      "info": {
        "required": false
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "id": {
            "maxLength": 128,
            "minLength": 16,
            "pattern": "^[a-zA-Z0-9_-]+$",
            "type": "string"
          },
          "required": {
            "type": "boolean"
          }
        },
        "required": [
          "required"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar",
    "payment-identifier"
  ],
  "sourceHost": "apiacre.com",
  "lastUpdated": "2026-09-01T13:12:45.504Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-01T13:12:45.265Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "apiacre.com",
    "manifest_name": "apiacre.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}