swissfintechinnovations / ca-payment

Common APIs for AIS and PIS
https://www.common-api.ch
Apache License 2.0
0 stars 3 forks source link

AIS - Adjustment status code 204 definition #82

Closed simonmeyerm closed 7 months ago

simonmeyerm commented 8 months ago

According to RFC specification, the status code 204 cannot contain a content in the response. To be compliant to the RFC specification, the definition in the account specification need to be adjusted as follows:

standard204: headers: ~~Content-Type: $ref: '#/components/headers/Content-Type' Content-Language: $ref: '#/components/headers/Content-Language'~~ description: | No content - The server has successfully fulfilled the request. There is no content to return and never will be. X-Correlation-ID: $ref: '#/components/headers/X-Correlation-ID' X-CorAPI-Source: $ref: '#/components/headers/X-CorAPI-Source' ~~content: application/json: schema: type: object

properties: ??~~