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

333 generated avro class imports use model package instead of avro schema namespace #335

Conversation

MarcosFreireSngular
Copy link
Collaborator

Changes allow for MultiApi to reference correctly the package of autogenerated Avro classes by taking into account the namespace atribute contained in the file schemas instead of the configured MultiApi model package present in the project pom.xml.

…ways use Avro contained namespace. Test for file generation with external Avro schemas changed by adding new avro schema with namespace outside of the model package.
… file contains no namespace attribute as well as a test for said exception in AsyncApiGeneratorTest, testExceptionForTestIssueInvalidAvro().

Also Updated README to reflect behaviour.
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Thank you for collaborating with the project to help us improve!

Copy link

github-actions bot commented Apr 1, 2024

This pull request hasn't been labeled as release, gradle, maven nor documentation. Please ensure this is intentional before merging.

@MarcosFreireSngular MarcosFreireSngular merged commit fe2c468 into main Apr 1, 2024
7 checks passed
@jemacineiras jemacineiras added enhancement New feature or request release Adding this tag to a PR will cause a release on merge labels Apr 1, 2024
Copy link

github-actions bot commented Apr 1, 2024

Project version has not been updated in pom.xml. Please, update your version using https://semver.org specifications

1 similar comment
Copy link

github-actions bot commented Apr 1, 2024

Project version has not been updated in pom.xml. Please, update your version using https://semver.org specifications

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request release Adding this tag to a PR will cause a release on merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Generated Avro class imports use model package instead of Avro schema namespace
2 participants