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
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: ??~~