Update paymentMethod info#41
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c9a27cc11f
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| { | ||
| "$ref": "#/components/schemas/OpenbankingTechnology" | ||
| } |
There was a problem hiding this comment.
Allow technology field in composed paymentMethod branches
The new Technology.oneOf branches compose the discriminator object with payload schemas via allOf, but the referenced payload schemas (OpenbankingTechnology, CardPaymentMethodPayload, BPayTechnology) all have additionalProperties: false and do not declare technology. In JSON Schema composition this means a normal payload like {"technology":"openbanking","bank":"..."} fails validation because the second schema rejects technology, so the openbanking/card/BANCOMAT branches become effectively unreachable and only the saved-method branch can validate.
Useful? React with 👍 / 👎.
No description provided.