Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[main-lts] Added feature to set schema mappings when generation clients. #879

Merged

Conversation

github-actions[bot]
Copy link
Contributor

Backport: #846

Note: CI is not automatically triggered on backported PRs, please comment 'ok to test' to launch Jenkins jobs

When we tried to migrate from specifying our own openapi generator in Maven to Quarkus OpenAPI generator we realized that we missed the possibility two specify schema mappings: https://openapi-generator.tech/docs/customization/#schema-mapping

Its possible to specify that in the OpenAPI generator, so it was just to expose it so you can set it in the application.properties.

Updated the type mapping test and updated the documentation, hopefully I did all I supposed to do, this is my first attempt to help in an public repo :)

  • You have read the contributors guide
  • Your code is properly formatted according to our code style
  • Pull Request title contains the target branch if not targeting main: [0.9.x] Subject
  • Pull Request contains link to the issue
  • Pull Request contains link to any dependent or related Pull Request
  • Pull Request contains description of the issue
  • Pull Request does not include fixes for issues other than the main ticket

* Added feature to set schema mappings when generation clients.

* Updated Restreactive test with schemamapping

* Updated the YearMonth schema to be correct format.

* Updated the documentation

---------

Co-authored-by: Ricardo Zanini <[email protected]>
@github-actions github-actions bot requested a review from a team as a code owner November 29, 2024 15:34
@hbelmiro hbelmiro closed this Nov 29, 2024
@hbelmiro hbelmiro reopened this Nov 29, 2024
Copy link
Contributor Author

🎊 PR Preview 2711260 has been successfully built and deployed. See the documentation preview: https://quarkus-openapi-generator-preview-pr-879.surge.sh

@hbelmiro hbelmiro merged commit 61f1864 into main-lts Nov 29, 2024
13 checks passed
@hbelmiro hbelmiro deleted the main-lts_feature/add-schema-mappings-to-generation branch November 29, 2024 17:46
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.

2 participants