Skip to content

Commit d0c82d5

Browse files
committed
auth header
1 parent 518f65c commit d0c82d5

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
name: Authorization
2+
in: header
3+
description: |-
4+
An OAuth 2.0 bearer token. Required in integration and production environments.
5+
required: true
6+
schema:
7+
type: string
8+
#pattern: ^Bearer [[:ascii:]]+$
9+
example: Bearer g1112R_ccQ1Ebbb4gtHBP1aaaNM

specification/api/notify-supplier-phase1.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ security:
99
paths:
1010
/letters:
1111
parameters:
12+
- $ref: 'components/parameters/authorization.yml'
1213
- $ref: 'components/parameters/requestId.yml'
1314
- $ref: 'components/parameters/correlationId.yml'
1415
post:
@@ -17,6 +18,7 @@ paths:
1718
$ref: 'components/endpoints/listLetters.yml'
1819
'/letters/{id}':
1920
parameters:
21+
- $ref: 'components/parameters/authorization.yml'
2022
- $ref: 'components/parameters/requestId.yml'
2123
- $ref: 'components/parameters/correlationId.yml'
2224
- $ref: 'components/parameters/resourceId.yml'
@@ -26,6 +28,7 @@ paths:
2628
$ref: 'components/endpoints/patchLetter.yml'
2729
'/letters/{id}/data':
2830
parameters:
31+
- $ref: 'components/parameters/authorization.yml'
2932
- $ref: 'components/parameters/resourceId.yml'
3033
- $ref: 'components/parameters/requestId.yml'
3134
- $ref: 'components/parameters/correlationId.yml'
@@ -35,6 +38,7 @@ paths:
3538
# $ref: 'components/endpoints/headDataId.yml'
3639
/mi:
3740
parameters:
41+
- $ref: 'components/parameters/authorization.yml'
3842
- $ref: 'components/parameters/requestId.yml'
3943
- $ref: 'components/parameters/correlationId.yml'
4044
post:

0 commit comments

Comments
 (0)