You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exception in thread "main" org.openapitools.codegen.SpecValidationException: There were issues with the specification. The option can be disabled via validateSpec (Maven/Gradle) or --skip-validate-spec (CLI).
| Error count: 7, Warning count: 1
Errors:
-attribute paths.'/applications/public'(post).requestBody.content.'application/json'.schema.items is missing
-paths.'/servers/{uuid}'. Declared path parameter uuid needs to be defined as a path parameter in path or operation level
-attribute paths.'/applications/{uuid}'(patch).requestBody.content.'application/json'.schema.items is missing
-attribute paths.'/applications/private-deploy-key'(post).requestBody.content.'application/json'.schema.items is missing
-paths.'/applications/{uuid}'. Declared path parameter uuid needs to be defined as a path parameter in path or operation level
-attribute paths.'/applications/private-github-app'(post).requestBody.content.'application/json'.schema.items is missing
-paths.'/projects/{uuid}'. Declared path parameter uuid needs to be defined as a path parameter in path or operation level
Warnings:
-attribute paths.'/applications/public'(post).requestBody.content.'application/json'.schema.items is missing
-paths.'/servers/{uuid}'. Declared path parameter uuid needs to be defined as a path parameter in path or operation level
-attribute paths.'/applications/{uuid}'(patch).requestBody.content.'application/json'.schema.items is missing
-attribute paths.'/applications/private-deploy-key'(post).requestBody.content.'application/json'.schema.items is missing
-paths.'/applications/{uuid}'. Declared path parameter uuid needs to be defined as a path parameter in path or operation level
-attribute paths.'/applications/private-github-app'(post).requestBody.content.'application/json'.schema.items is missing
-paths.'/projects/{uuid}'. Declared path parameter uuid needs to be defined as a path parameter in path or operation level
The document either complies with a specification or it does not. There is no middle ground here unless of course you're claiming that the tool I listed is not an effective evaluator of specification compliance. Is that your claim?
the https://github.com/coollabsio/documentation-coolify/blob/main/openapi.yaml file doesn't pass validation. The following errors are thrown:
This can be reproduced using he following steps:
npm install @openapitools/openapi-generator-cli
npx openapi-generator-cli generate -i "https://raw.githubusercontent.com/coollabsio/documentation-coolify/refs/heads/main/openapi.yaml" -g typescript-axios -o ./coolify-api-client
A friendlier interface can be found here https://editor.swagger.io (just load the openapi.yaml file)
The text was updated successfully, but these errors were encountered: