Adyen / adyen-openapi

OpenAPI specification for the Adyen APIs
MIT License
67 stars 50 forks source link

ModificationResult.response enum field has wrong values in openapi specification, should contain `Authorised` #61

Open tjerkw opened 4 months ago

tjerkw commented 4 months ago

For this endpoint: https://docs.adyen.com/api-explorer/Payment/latest/post/adjustAuthorisation#responses-200-response

The ModificationResult.response field which is of type "ModificationResponse" (returns the string 'Authorised` in real world use... Not the enum as defined here:

https://github.com/Adyen/adyen-openapi/blob/af96aa209fac86fbe0b287d0d1a8d41aded4e1b2/json/PaymentService-v68.json#L3978

The enum is therefore wrong.