openapi-directory icon indicating copy to clipboard operation
openapi-directory copied to clipboard

Error in Adyen API's ?

Open seriousme opened this issue 4 years ago • 0 comments

Hi,

I have tried to validate

https://github.com/APIs-guru/openapi-directory/blob/main/APIs/adyen.com/CheckoutService/68/openapi.yaml using: https://raw.githubusercontent.com/OAI/OpenAPI-Specification/gh-pages/oas/3.1/schema/2021-09-28

Looking at the Adyen spec (OpenAPI 3.1.0 format) it contains: https://github.com/APIs-guru/openapi-directory/blob/d747281b4343ef5b6373d81c5461575ed6d3741c/APIs/adyen.com/CheckoutService/68/openapi.yaml#L13053-L13054

Which does not seem to be allowed by the spec. AJV gives me an error:

Keyword Params Message
unevaluatedProperties {"unevaluatedProperty":"source"} must NOT have unevaluated properties

And https://json-schema.hyperjump.io/ gives me: # fails schema constraint https://spec.openapis.org/oas/3.1/schema/2021-09-28#/unevaluatedProperties

Same holds for:

  • https://github.com/APIs-guru/openapi-directory/blob/main/APIs/adyen.com/PaymentService/68/openapi.yaml
  • https://github.com/APIs-guru/openapi-directory/blob/main/APIs/adyen.com/PayoutService/68/openapi.yaml
  • https://github.com/APIs-guru/openapi-directory/blob/main/APIs/adyen.com/RecurringService/68/openapi.yaml

Kind regards, Hans

seriousme avatar Dec 10 '21 19:12 seriousme