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

Implement webhooks model #1836

Merged
merged 1 commit into from
May 21, 2024
Merged

Implement webhooks model #1836

merged 1 commit into from
May 21, 2024

Conversation

Azquelt
Copy link
Contributor

@Azquelt Azquelt commented May 10, 2024

  • Note that I haven't made a WebhookIO class.
    • For the model, the new webhooks property just holds a Map<String, PathItem>
    • For the annotation, a @Webhook annotation represents one entry in that map. Since the value is a PathItem, I added it to PathItemIO. I could make a new IO class for it instead, though there's no model object to read and write to JSON.
  • I haven't added any tests here because I think the TCK tests are sufficient.

Implements eclipse/microprofile-open-api#612

In order to pass the TCK locally, I also have to merge in #1818 because that implements eclipse/microprofile-open-api#604 which has already been merged.

@Azquelt Azquelt marked this pull request as ready for review May 10, 2024 15:28
@Azquelt
Copy link
Contributor Author

Azquelt commented May 16, 2024

Rebased on main-4.0

@Azquelt Azquelt changed the title Implement webhooks model and annotation Implement webhooks model May 20, 2024
@Azquelt
Copy link
Contributor Author

Azquelt commented May 20, 2024

The annotation has been removed from the upstream PR. Removed the implementation here to match.

@MikeEdgar MikeEdgar added this to the 4.0.0 milestone May 21, 2024
@MikeEdgar MikeEdgar merged commit a8eb108 into smallrye:main-4.0 May 21, 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.

None yet

2 participants