{"slug":"code-halowerk-com-v1-swagger2-to-openapi3-ee81fc","title":"Convert a Swagger 2.0 document to OpenAPI 3.1.0 (default) or 3.0.0, list every 3","host":"code.halowerk.com","method":"POST","resource":"https://code.halowerk.com/v1/swagger2-to-openapi3","category":"code","description":"Convert a Swagger 2.0 document to OpenAPI 3.1.0 (default) or 3.0.0, list every 3.0->3.1 change and validate input and output against the official JSON Schemas. Step 1: swagger2openapi 7.0.8 converts Swagger 2.0 to OpenAPI 3.0.0 (servers from schemes/host/basePath, body/formData parameters to request","price_listed":0.003,"price_asked":0.003,"state":"answering","state_label":"Answering","checks_7d":7,"answered_7d":7,"latency_ms_median":908,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"spec":{"basePath":"/v1","host":"api.halowerk.com","info":{"title":"Pets","version":"1.0"},"paths":{"/pets":{"get":{"produces":["application/json"],"responses":{"200":{"description":"ok","schema":{"items":{"type":"string"},"type":"array"}}}}}},"schemes":["https"],"swagger":"2.0"},"target":"3.1"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"spec":{"anyOf":[{"type":"object"},{"maxLength":2000000,"minLength":2,"type":"string"}],"description":"The API description as a JSON object or as a JSON/YAML string (max. 2 MB). External $ref values are rejected."},"target":{"default":"3.1","description":"Target version: 3.1 (3.1.0) or 3.0 (3.0.0 as produced by swagger2openapi).","enum":["3.1","3.0"],"type":"string"}},"required":["spec"],"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":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":890,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":902,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":908,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":882,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1305,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1177,"error":null},{"day":"2026-11-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1179,"error":null}],"description_full":"Convert a Swagger 2.0 document to OpenAPI 3.1.0 (default) or 3.0.0, list every 3.0->3.1 change and validate input and output against the official JSON Schemas. Step 1: swagger2openapi 7.0.8 converts Swagger 2.0 to OpenAPI 3.0.0 (servers from schemes/host/basePath, body/formData parameters to requestBody, definitions to components, securityDefinitions to securitySchemes; minor errors patched).","last_updated":"2026-11-20T13:47:53.532Z","schemes":["exact"]}