You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@polaris.apache.org by "snazy (via GitHub)" <gi...@apache.org> on 2026/02/12 16:36:07 UTC

[PR] [ILLUSTRATIVE] Build: add task to verify OpenAPI backwards compatibility [polaris]

snazy opened a new pull request, #3752:
URL: https://github.com/apache/polaris/pull/3752

   This change adds a custom task implementation to compare two OpenAPI specs and fail if there is a breaking change. Follow-ups are planned to compare against an already released version and to actually wire it into the build process and therefore CI.
   
   This would work from a module's `build.gradle.kts` file along the lines of:
   
   ```kotlin
   tasks.register<OpenApiCompatibilityCheckTask>("openApiCompatibilityCheck") {
     // dependency on a task to generate the OpenAPI spec from Java code annotations
     dependsOn(generateOpenApiSpec)
   
     // the generated OpenAPI spec
     currentSpec = layout.buildDirectory.file("generated/openapi/$openApiBaseDir/my-openapi.yaml")
     // a reference OpenAPI spec to compare against
     referenceSpec = layout.projectDirectory.file("src/openapi/reference/my-openapi.yaml")
   }
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [ILLUSTRATIVE] Build: add task to verify OpenAPI backwards compatibility [polaris]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed pull request #3752: [ILLUSTRATIVE] Build: add task to verify OpenAPI backwards compatibility
URL: https://github.com/apache/polaris/pull/3752


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [ILLUSTRATIVE] Build: add task to verify OpenAPI backwards compatibility [polaris]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #3752:
URL: https://github.com/apache/polaris/pull/3752#issuecomment-4094926669

   This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org