Convert a Swagger 2.0 document to OpenAPI 3.1.0 (default) or 3.0.0, list every 3
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).
Answeringour last check, 2026-11-26
7 of 7checks answered this week
908 msmedian answer time
$0.003listed price per call
$0.003price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://code.halowerk.com/v1/swagger2-to-openapi3
| Category | Code and developer |
|---|---|
| Provider host | code.halowerk.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-26 | valid payment request | 402 | $0.003 | 890 ms |
| 2026-11-25 | valid payment request | 402 | $0.003 | 902 ms |
| 2026-11-24 | valid payment request | 402 | $0.003 | 908 ms |
| 2026-11-23 | valid payment request | 402 | $0.003 | 882 ms |
| 2026-11-22 | valid payment request | 402 | $0.003 | 1305 ms |
| 2026-11-21 | valid payment request | 402 | $0.003 | 1177 ms |
| 2026-11-20 | valid payment request | 402 | $0.003 | 1179 ms |
Example input (from the provider)
{
"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"
}
Promised output schema (from the provider)
{
"$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"
}