{"openapi":"3.1.0","info":{"title":"SOAR - UCP Test Runner","description":"An API to trigger and manage UCP test runs on MCP and REST bindings.","version":"1.0.0"},"paths":{"/healthz":{"get":{"summary":"Health Check","operationId":"health_check_healthz_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/run-ucp-test":{"post":{"summary":"Run All","operationId":"run_all_run_ucp_test_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestExecutionRequest"}}},"required":true},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/run-functional_compliance":{"post":{"summary":"Run Functional Compliance","operationId":"run_functional_compliance_run_functional_compliance_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestExecutionRequest"}}},"required":true},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/run-performance_validation":{"post":{"summary":"Run Performance Validation","operationId":"run_performance_validation_run_performance_validation_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NonFunctionalRequest"}}},"required":true},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/run-web_security_findings":{"post":{"summary":"Run Web Security Findings","operationId":"run_web_security_findings_run_web_security_findings_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NonFunctionalRequest"}}},"required":true},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/run-transport_security":{"post":{"summary":"Run Transport Security","operationId":"run_transport_security_run_transport_security_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NonFunctionalRequest"}}},"required":true},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/run-infrastructure_assessment":{"post":{"summary":"Run Infrastructure Assessment","operationId":"run_infrastructure_assessment_run_infrastructure_assessment_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NonFunctionalRequest"}}},"required":true},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/jobs/{job_id}":{"get":{"summary":"Get Job Status","operationId":"get_job_status_jobs__job_id__get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"x-job-token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Job-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"BindingType":{"type":"string","enum":["rest","mcp"],"title":"BindingType","description":"Enumeration for the supported test bindings."},"ConformanceInput":{"properties":{"currency":{"type":"string","title":"Currency"},"default_shipping_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Default Shipping Id"},"items":{"items":{"$ref":"#/components/schemas/Item"},"type":"array","title":"Items"},"out_of_stock_item":{"$ref":"#/components/schemas/Item"},"non_existent_item":{"$ref":"#/components/schemas/Item"}},"type":"object","required":["currency","items","out_of_stock_item","non_existent_item"],"title":"ConformanceInput","description":"Represents the 'conformance_input' object."},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"InputFiles":{"properties":{"conformance_input":{"$ref":"#/components/schemas/ConformanceInput"},"payment_instruments":{"type":"string","title":"Payment Instruments"},"addresses":{"type":"string","title":"Addresses"}},"type":"object","required":["conformance_input","payment_instruments","addresses"],"title":"InputFiles","description":"Represents the file contents to be used in the test."},"Item":{"properties":{"id":{"type":"string","title":"Id"},"title":{"type":"string","title":"Title"},"price":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Price"}},"type":"object","required":["id","title"],"title":"Item","description":"Represents a single item within the conformance input."},"NonFunctionalRequest":{"properties":{"target_url":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Target Url"},"access_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Access Token"}},"type":"object","required":["target_url"],"title":"NonFunctionalRequest","description":"Request body para tests no funcionales (k6, ZAP, TLS). No requiere binding ni files."},"TestExecutionRequest":{"properties":{"target_url":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Target Url"},"binding":{"$ref":"#/components/schemas/BindingType"},"files":{"$ref":"#/components/schemas/InputFiles"},"access_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Access Token"}},"type":"object","required":["target_url","binding","files"],"title":"TestExecutionRequest","description":"Defines the main request body for triggering a conformance test run."},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}