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

Missing RegisterForReflection import when array schema in the spec #6736

Closed
zhfeng opened this issue Nov 1, 2024 · 0 comments
Closed

Missing RegisterForReflection import when array schema in the spec #6736

zhfeng opened this issue Nov 1, 2024 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@zhfeng
Copy link
Contributor

zhfeng commented Nov 1, 2024

Bug description

When there is any component schemas of the array type are present in the spec like:

      "Pets": {
        "type": "array",
        "maxItems": 100,
        "items": {
          "$ref": "#/components/schemas/Pet"
        }
      },

The generated Pets.java is missing RegisterForReflection import.
And I think it is no need to add such annotion on the array type of Class.

@zhfeng zhfeng added the bug Something isn't working label Nov 1, 2024
@zhfeng zhfeng self-assigned this Nov 1, 2024
zhfeng added a commit to zhfeng/camel-quarkus that referenced this issue Nov 1, 2024
@zhfeng zhfeng closed this as completed in 0c2a534 Nov 1, 2024
@github-actions github-actions bot added this to the 3.17.0 milestone Nov 1, 2024
zhfeng added a commit to zhfeng/camel-quarkus that referenced this issue Nov 1, 2024
JiriOndrusek pushed a commit to JiriOndrusek/camel-quarkus that referenced this issue Nov 4, 2024
JiriOndrusek pushed a commit to jboss-fuse/camel-quarkus that referenced this issue Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant