Skip to content

Commit

Permalink
AIS/PSS - content-type correction (issue #110) (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
svenbiellmann authored Nov 4, 2024
1 parent 14d998a commit b8cee8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 43 deletions.
24 changes: 2 additions & 22 deletions accountAPI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1271,6 +1271,8 @@ components:
responses:
standard202:
headers:
Content-Language:
$ref: '#/components/headers/Content-Language'
X-Correlation-ID:
$ref: '#/components/headers/X-Correlation-ID'
description: |
Expand All @@ -1290,8 +1292,6 @@ components:
standard400:
headers:
Content-Type:
$ref: '#/components/headers/Content-Type'
Content-Language:
$ref: '#/components/headers/Content-Language'
X-Correlation-ID:
Expand Down Expand Up @@ -1324,8 +1324,6 @@ components:

standard401:
headers:
Content-Type:
$ref: '#/components/headers/Content-Type'
Content-Language:
$ref: '#/components/headers/Content-Language'
X-Correlation-ID:
Expand All @@ -1339,8 +1337,6 @@ components:

standard403:
headers:
Content-Type:
$ref: '#/components/headers/Content-Type'
Content-Language:
$ref: '#/components/headers/Content-Language'
X-Correlation-ID:
Expand Down Expand Up @@ -1374,8 +1370,6 @@ components:

standard404:
headers:
Content-Type:
$ref: '#/components/headers/Content-Type'
Content-Language:
$ref: '#/components/headers/Content-Language'
X-Correlation-ID:
Expand Down Expand Up @@ -1414,8 +1408,6 @@ components:

standard405:
headers:
Content-Type:
$ref: '#/components/headers/Content-Type'
Content-Language:
$ref: '#/components/headers/Content-Language'
X-Correlation-ID:
Expand All @@ -1436,8 +1428,6 @@ components:

standard500:
headers:
Content-Type:
$ref: '#/components/headers/Content-Type'
Content-Language:
$ref: '#/components/headers/Content-Language'
X-Correlation-ID:
Expand All @@ -1464,8 +1454,6 @@ components:

standard501:
headers:
Content-Type:
$ref: '#/components/headers/Content-Type'
Content-Language:
$ref: '#/components/headers/Content-Language'
X-Correlation-ID:
Expand All @@ -1486,8 +1474,6 @@ components:

standard503:
headers:
Content-Type:
$ref: '#/components/headers/Content-Type'
Content-Language:
$ref: '#/components/headers/Content-Language'
X-Correlation-ID:
Expand All @@ -1505,12 +1491,6 @@ components:
schema:
type: string

Content-Type:
description: application/problem+json; charset=utf-8 according to RFC7807
schema:
type: string
example: application/problem+json; charset=utf-8

X-Correlation-ID:
description: Client defined ID from request to correlates HTTP requests between a client and server
schema:
Expand Down
21 changes: 0 additions & 21 deletions paymentAPI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1882,8 +1882,6 @@ components:
responses:
standard400:
headers:
Content-Type:
$ref: '#/components/headers/Content-Type'
Content-Language:
$ref: '#/components/headers/Content-Language'
X-Correlation-ID:
Expand Down Expand Up @@ -1916,8 +1914,6 @@ components:

standard401:
headers:
Content-Type:
$ref: '#/components/headers/Content-Type'
Content-Language:
$ref: '#/components/headers/Content-Language'
X-Correlation-ID:
Expand All @@ -1931,8 +1927,6 @@ components:

standard403:
headers:
Content-Type:
$ref: '#/components/headers/Content-Type'
Content-Language:
$ref: '#/components/headers/Content-Language'
X-Correlation-ID:
Expand Down Expand Up @@ -1966,8 +1960,6 @@ components:

standard404:
headers:
Content-Type:
$ref: '#/components/headers/Content-Type'
Content-Language:
$ref: '#/components/headers/Content-Language'
X-Correlation-ID:
Expand Down Expand Up @@ -2006,8 +1998,6 @@ components:

standard405:
headers:
Content-Type:
$ref: '#/components/headers/Content-Type'
Content-Language:
$ref: '#/components/headers/Content-Language'
X-Correlation-ID:
Expand All @@ -2028,8 +2018,6 @@ components:

standard500:
headers:
Content-Type:
$ref: '#/components/headers/Content-Type'
Content-Language:
$ref: '#/components/headers/Content-Language'
X-Correlation-ID:
Expand All @@ -2056,8 +2044,6 @@ components:

standard501:
headers:
Content-Type:
$ref: '#/components/headers/Content-Type'
Content-Language:
$ref: '#/components/headers/Content-Language'
X-Correlation-ID:
Expand All @@ -2078,8 +2064,6 @@ components:

standard503:
headers:
Content-Type:
$ref: '#/components/headers/Content-Type'
Content-Language:
$ref: '#/components/headers/Content-Language'
X-Correlation-ID:
Expand All @@ -2097,11 +2081,6 @@ components:
schema:
type: string

Content-Type:
description: application/problem+json; charset=utf-8 according to RFC7807.
schema:
type: string

Location:
description: Location (URI-reference) of the submitted message. The relative path shall be returned as URI-reference.
schema:
Expand Down

0 comments on commit b8cee8c

Please sign in to comment.