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

Support identifier field in licence objects #1834

Merged
merged 2 commits into from
May 16, 2024

Conversation

benjamin-confino
Copy link
Contributor

@benjamin-confino benjamin-confino commented May 9, 2024

This keeps smallrye up to date with the spec change implemented here: eclipse/microprofile-open-api#436

And this PR depends on eclipse/microprofile-open-api#611

I investigated to see if [PathItem](https://spec.openapis.org/oas/v3.1.0.html#path-item-object] parameters had any code to emit a warning or exception if the constraint is violated and could not find one so I did not add anything to enforce the exclusivity of URL and Identifier. Let me know if I missed something.

For the test I used the maven plugin test to ensure one plugin tests each of the URL and identifier without violating the constraint, let me know if you'd prefer both test both

Copy link
Member

@MikeEdgar MikeEdgar left a comment

Choose a reason for hiding this comment

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

@benjamin-confino I think this needs to be rebased, then it should be good.

@MikeEdgar MikeEdgar added this to the 4.0.0 milestone May 16, 2024
@MikeEdgar MikeEdgar merged commit 46c6d3c into smallrye:main-4.0 May 16, 2024
3 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants