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 to OpenAPI 3.0.x from a URL

https://mermade.org.uk/api/v1
https://mermade.org.uk/api/v1
https://mermade.org.uk/api/v1
https://mermade.org.uk/api/v1
GET
/convert
conversion
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://mermade.org.uk/api/v1/convert?url=https://raw.githubusercontent.com/Mermade/openapi-webconverter/master/contract/swagger.json'
Response Response Example
null

Request

Query Params
url
string 
required
The URL to retrieve the OpenAPI 2.0 definition from
Example:
https://raw.githubusercontent.com/Mermade/openapi-webconverter/master/contract/swagger.json

Responses

🟢200default
application/json
Body
No schema defined
Modified at 2023-08-16 07:17:37
Previous
Validate an OpenAPI 3.0.x definition supplied in the body of the request
Next
Convert a Swagger 2.0 definition passed in the body to OpenAPI 3.0.x
Built with