{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://zieapi.vercel.app"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/dev-tools:mermade-org-uk-openapi-converter/get-badge":{"get":{"operationId":"dev_tools_mermade_org_uk_openapi_converter_get_badge","summary":"Return a redirect to a badge svg file depending on a source definition's validity","description":"GET /badge","tags":["dev-tools"],"parameters":[{"name":"url","in":"query","required":true,"description":"The URL to retrieve the OpenAPI 3.0.x definition from","schema":{"type":"string","description":"The URL to retrieve the OpenAPI 3.0.x definition from"},"example":"https://raw.githubusercontent.com/Mermade/openapi-webconverter/master/contract/openapi.json"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/dev-tools:mermade-org-uk-openapi-converter/convert-url":{"get":{"operationId":"dev_tools_mermade_org_uk_openapi_converter_convert_url","summary":"Convert a Swagger 2.0 definition to OpenAPI 3.0.x from a URL","description":"GET /convert","tags":["dev-tools"],"parameters":[{"name":"url","in":"query","required":true,"description":"The URL to retrieve the OpenAPI 2.0 definition from","schema":{"type":"string","description":"The URL to retrieve the OpenAPI 2.0 definition from"},"example":"https://raw.githubusercontent.com/Mermade/openapi-webconverter/master/contract/swagger.json"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/dev-tools:mermade-org-uk-openapi-converter/convert":{"post":{"operationId":"dev_tools_mermade_org_uk_openapi_converter_convert","summary":"Convert a Swagger 2.0 definition passed in the body to OpenAPI 3.0.x","description":"POST /convert","tags":["dev-tools"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"Form fields as a JSON object"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"live"}},"/v1/dev-tools:mermade-org-uk-openapi-converter/get-status":{"get":{"operationId":"dev_tools_mermade_org_uk_openapi_converter_get_status","summary":"Get the status of the API","description":"GET /status","tags":["dev-tools"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/dev-tools:mermade-org-uk-openapi-converter/validate-url":{"get":{"operationId":"dev_tools_mermade_org_uk_openapi_converter_validate_url","summary":"Validate an OpenAPI 3.0.x definition","description":"GET /validate","tags":["dev-tools"],"parameters":[{"name":"url","in":"query","required":true,"description":"The URL to retrieve the OpenAPI 3.0.x definition from","schema":{"type":"string","description":"The URL to retrieve the OpenAPI 3.0.x definition from"},"example":"https://raw.githubusercontent.com/Mermade/openapi-webconverter/master/contract/openapi.json"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/dev-tools:mermade-org-uk-openapi-converter/validate":{"post":{"operationId":"dev_tools_mermade_org_uk_openapi_converter_validate","summary":"Validate an OpenAPI 3.0.x definition supplied in the body of the request","description":"POST /validate","tags":["dev-tools"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"Form fields as a JSON object"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"live"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}