Skip to content

fix: initialize the openapi.json file - #2537

Merged
triceo merged 1 commit into
mainfrom
fix/initialize-openapi-file
Jul 28, 2026
Merged

fix: initialize the openapi.json file#2537
triceo merged 1 commit into
mainfrom
fix/initialize-openapi-file

Conversation

@rsynek

@rsynek rsynek commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

@rsynek
rsynek requested a review from winklerm July 27, 2026 14:35
@rsynek
rsynek requested a review from triceo as a code owner July 27, 2026 14:35
Copilot AI review requested due to automatic review settings July 27, 2026 14:35

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a Maven profile to bootstrap the baseline src/build/openapi.json from the generated Quarkus OpenAPI schema when the baseline file is missing, intended to prevent initial build failures related to OpenAPI diffing.

Changes:

  • Introduce a new Maven profile (initiate-openapi-old-spec) that runs during package when src/build/openapi.json is missing.
  • Use maven-antrun-plugin to create src/build/ and copy target/openapi-schema/openapi.json into src/build/openapi.json.

Comment thread service/facade/service-parent/pom.xml
@sonarqubecloud

Copy link
Copy Markdown

@winklerm winklerm left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, looks good!

@triceo triceo modified the milestone: v2.5.0 Jul 28, 2026
@triceo
triceo merged commit db83f21 into main Jul 28, 2026
21 of 30 checks passed
@triceo
triceo deleted the fix/initialize-openapi-file branch July 28, 2026 08:29
@triceo triceo added this to the v2.5.0 milestone Jul 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants