Closed MikeRalphson closed 1 year ago
Hi @MikeRalphson, nice to have you here!
Indeed, this was something that we overlooked. Actually, our specs are 3.1.0-ready, and we plan to change it to 3.1.0 soon (otherwise, we'll have to rollback to 3.0.3 the entire structure of the specs, which is not our preference at this point).
At the same time, I was still waiting for any easy linting these specs to make sure they 100% comply with 3.1.0. If you have any recommendation how we can automatically verify 3.1.0-compliance, please let me know.
But we will fix these specs soon anyway.
I will let you know as soon as the next version of oas-kit
is released, it will have support for converting, validating and linting v3.1 documents.
Describe the bug
Commit https://github.com/Adyen/adyen-openapi/commit/ac74290fb7ffa72593efa6dfcc72896f9323cee6 updated the MarketPayNotificationService APIs to remove the
paths
top level object and replace it withwebhooks
, but theopenapi
property was not updated. Thewebhooks
object (and the optionality ofpaths
) are only valid in OpenAPI3.1.0+
.https://github.com/Adyen/adyen-openapi/blob/ac74290fb7ffa72593efa6dfcc72896f9323cee6/yaml/MarketPayNotificationService-v6.yaml#L1