Skip to content

Adding suppport for name-mappings from Open API#1517

Open
pringinacio wants to merge 2 commits intoquarkiverse:mainfrom
pringinacio:main
Open

Adding suppport for name-mappings from Open API#1517
pringinacio wants to merge 2 commits intoquarkiverse:mainfrom
pringinacio:main

Conversation

@pringinacio
Copy link
Copy Markdown

Summary

This PR contains code to add support for the feature "name-mappings" ().

It is now possible to add a configuration like
quarkus.openapi-generator.codegen.spec.name_mappings_testing_yml.name-mappings.deceased=deathDate

to have the corresponding option in Open API Generator in command line:
--model-name-mappings deceased=deathDate.

Test plan

  • Added integration test in client/integration-tests/name-mapping/ to verify correct java property name replacement.

@pringinacio pringinacio requested a review from a team as a code owner April 1, 2026 22:03
Copy link
Copy Markdown
Member

@ricardozanini ricardozanini left a comment

Choose a reason for hiding this comment

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

Thanks!

Can you please also update the documentation to reflect this change? I believe that for every new property we add, the related doc should be created as well. cc @mcruzdev

@mcruzdev mcruzdev self-requested a review April 7, 2026 13:42
@pringinacio
Copy link
Copy Markdown
Author

Added the missing documentation.

Copy link
Copy Markdown
Member

@mcruzdev mcruzdev left a comment

Choose a reason for hiding this comment

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

Thanks!

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.

3 participants