Swagger2OpenAPI Converter
  1. conversion
Swagger2OpenAPI Converter
  • validation
    • Return a redirect to a badge svg file depending on a source definition's validity
      GET
    • Validate an OpenAPI 3.0.x definition
      GET
    • Validate an OpenAPI 3.0.x definition supplied in the body of the request
      POST
  • conversion
    • Convert a Swagger 2.0 definition to OpenAPI 3.0.x from a URL
      GET
    • Convert a Swagger 2.0 definition passed in the body to OpenAPI 3.0.x
      POST
  • metadata
    • Get the status of the API
      GET
  1. conversion

Convert a Swagger 2.0 definition passed in the body to OpenAPI 3.0.x

https://mermade.org.uk/api/v1
https://mermade.org.uk/api/v1
https://mermade.org.uk/api/v1
https://mermade.org.uk/api/v1
POST
/convert
conversion
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://mermade.org.uk/api/v1/convert'
Response Response Example
200 - Example 1
null

Request

Body Params multipart/form-data
filename
string 
optional
The file to upload and convert
source
string 
optional
The text of a Swagger 2.0 definition to convert
validate
string 
optional

Responses

🟢200default
application/json
Body
No schema defined
🟠400Invalid request
Modified at 2023-08-16 07:17:37
Previous
Convert a Swagger 2.0 definition to OpenAPI 3.0.x from a URL
Next
Get the status of the API
Built with