Swagger2OpenAPI Converter
  1. validation
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. validation

Validate an OpenAPI 3.0.x definition supplied in the body of the request

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
/validate
validation
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://mermade.org.uk/api/v1/validate'
Response Response Example
200 - Example 1
{
    "openapi": "string"
}

Request

Body Params multipart/form-data
filename
string 
optional
The file to upload and validate
source
string 
optional
The text of an OpenAPI 3.0.x definition to validate

Responses

🟢200default
application/json
Body
openapi
string 
required
🟠400Invalid request
Modified at 2023-08-16 07:17:37
Previous
Validate an OpenAPI 3.0.x definition
Next
Convert a Swagger 2.0 definition to OpenAPI 3.0.x from a URL
Built with