Adyen / adyen-openapi

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

FundService v52 /transferFunds response code 202 not in spec #16

Closed DJFliX closed 3 years ago

DJFliX commented 4 years ago

Describe the bug When calling /transferFunds the HTTP response code is 202 while the list of valid response codes in the spec does not contain 202 as an option. As a result no code is generated for that path and we can not handle the response without patching the spec first.

DJFliX commented 4 years ago

The same happens for /uploadDocument on the AccountService.

a-akimov commented 4 years ago

@DJFliX thank you for reporting this, we will fix it in one of the next updates to the specs.

a-akimov commented 3 years ago

@DJFliX this should be fixed today too:

               "202" : {
                  "content" : {
                     "application/json" : {
                        "schema" : {
                           "$ref" : "#/components/schemas/TransferFundsResponse"
                        }
                     }
                  },
                  "description" : "Accepted - the request has been accepted for processing, but the processing has not been completed."
               },

Thanks for all your bug reports!