← Back to directory

Convert a Swagger 2.0 document to OpenAPI 3.1.0 (default) or 3.0.0, list every 3...

https://code.halowerk.com/v1/swagger2-to-openapi3

Overview

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).

Protocol x402 (POST)
Price $0.0030
Payment Asset USD Coin
Payment Network Base
Category crypto/defi
Provider code
Source bazaar
Indexed 2026-11-20 14:09:44

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "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

{ "example": { "result": { "changes": [ { "change": "3.0.0 -> 3.1.0", "path": "#/openapi" } ], "converter": "swagger2openapi 7.0.8 + OAI 3.0->3.1 migration steps", "input_validation": { "errors": [], "schema": "official OpenAPI 2.0 JSON Schema (@apidevtools/openapi-schemas)", "valid": true }, "openapi": { "info": { "title": "Pets", "version": "1.0" }, "openapi": "3.1.0", "paths": { "/pets": { "get": { "responses": { "200": { "content": { "application/json": { "schema": { "items": { "type": "string" }, "type": "array" } } }, "description": "ok" } } } } }, "servers": [ { "url": "https://api.halowerk.com/v1" } ] }, "output_validation": { "errors": [], "schema": "official OpenAPI 3.1 JSON Schema (@apidevtools/openapi-schemas)", "valid": true }, "patches_applied_by_swagger2openapi": 0, "source_version": "2.0", "target_version": "3.1.0" }, "service": "swagger2-to-openapi3", "status": "success" }, "type": "json" }