Skip to content

Conversation

ctrimble
Copy link
Collaborator

@ctrimble ctrimble commented Aug 19, 2025

This PR introduces a new rule that can change the type of fields created for properties based on the type determined from that property's schema. This is intended to help wrap fields with types like java.util.Optional or org.openapitools.jackson.nullable.JsonNullable when creating custom rule sets.

The default implementation is an identity transform of the schema type and results in no change to the generated code when not using a custom rule factory.

This PR is based on #1702 and shouldn't be merged until that PR is complete.

The relative paths were causing issues with the build.  This change makes the license-plugin-definition.xml path absolute.
… than Java 8. This workaround skips the affected test when the compiler is something other than Java 8.
@ctrimble ctrimble marked this pull request as draft August 19, 2025 05:50
@ctrimble ctrimble added this to the 1.3.0 milestone Aug 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant