Skip to content

Release 6.5.3: Gradle JDK 21 fix + OpenAPI 3.1 refinements (enum metadata, deprecated)#384

Merged
jemacineiras merged 3 commits into
sngular:mainfrom
joseegman-idoneea:feat/openapi31-deprecated
Jul 24, 2026
Merged

Release 6.5.3: Gradle JDK 21 fix + OpenAPI 3.1 refinements (enum metadata, deprecated)#384
jemacineiras merged 3 commits into
sngular:mainfrom
joseegman-idoneea:feat/openapi31-deprecated

Conversation

@joseegman-idoneea

@joseegman-idoneea joseegman-idoneea commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Follow-up to #383 (merged as 6.5.1 with the Maven Central publish fix). #383's squash merge captured only its first commit, so the Gradle release CI fix did not land — this PR restores it and adds two more OpenAPI 3.1 refinements. Cuts 6.5.3.

Release-blocking fix (missing from main)

  • Gradle release CI: gradle-portal-push workflow set up JDK 17 but runs mvn install on the engine (compiled with release 21) → fails with "release version 21 not supported". Bumped to JDK 21, matching the Maven workflows.

OpenAPI 3.1 refinements

  • description/example/examples now propagate to enum fields (they bypassed the metadata step).
  • deprecated: true on a property or enum is emitted as @Schema(deprecated = true) (was ignored).

Version

6.5.16.5.3 (engine, Maven plugin, Gradle plugin). Central versions are immutable, so a fresh number is required to re-publish.

Verification

Full multiapi-engine suite: 110/110 (mvn clean test).

Note: main already has the Maven Central publish fix (central-publishing-maven-plugin 0.11.0) and the prefixItems refinement from #383; those are not repeated here.

🤖 Generated with Claude Code

@codacy-production

codacy-production Bot commented Jul 24, 2026

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

joseegarcia and others added 3 commits July 24, 2026 12:17
The gradle-portal-push workflow set up JDK 17 and then ran `mvn install` on
multiapi-engine, which compiles with `release 21` — failing with
"release version 21 not supported". Bump the job to JDK 21, matching the Maven
workflows (which already build against 21). The engine and the Gradle plugin
both require Java 21.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Enum fields bypassed processObjectProperty's applyMetadata, so their schema
`description`/`example` were dropped from the generated @Schema annotation.
Set them in processEnumField so enum properties match the rest.

Bumps version 6.5.1 -> 6.5.2.

Full multiapi-engine suite: 110/110 (mvn clean test).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
OpenAPI 3.x / JSON Schema `deprecated: true` on a property (or enum) is now
carried into the generated model as @Schema(deprecated = true); previously it
was ignored. Applied at the same property/enum metadata points as
description/example.

Bumps version 6.5.2 -> 6.5.3.

Full multiapi-engine suite: 110/110 (mvn clean test).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@joseegman-idoneea
joseegman-idoneea force-pushed the feat/openapi31-deprecated branch from 6a85a07 to 7e827c9 Compare July 24, 2026 10:17
@joseegman-idoneea joseegman-idoneea changed the title Release 6.5.3: fix Maven Central publish + Gradle JDK 21 + OpenAPI 3.1 refinements (incl. deprecated) Release 6.5.3: Gradle JDK 21 fix + OpenAPI 3.1 refinements (enum metadata, deprecated) Jul 24, 2026
@jemacineiras
jemacineiras merged commit d6a2cff into sngular:main Jul 24, 2026
6 of 7 checks passed
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.

2 participants