Skip to content

Commit c19e697

Browse files
committed
update openapi file
1 parent 0e11bf7 commit c19e697

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

coinapi/indexes-api-rest/spec/openapi.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1692,10 +1692,10 @@
16921692
"in": "header"
16931693
},
16941694
"JWT": {
1695-
"type": "apiKey",
1696-
"description": "JWT token needed to access the endpoints",
1697-
"name": "Authorization",
1698-
"in": "header"
1695+
"type": "http",
1696+
"description": "JWT Authorization header using the Bearer scheme. Example: \"Bearer {token}\"",
1697+
"scheme": "bearer",
1698+
"bearerFormat": "JWT"
16991699
}
17001700
}
17011701
},

coinapi/indexes-api-rest/spec/openapi.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1259,10 +1259,10 @@ components:
12591259
name: Authorization
12601260
in: header
12611261
JWT:
1262-
type: apiKey
1263-
description: JWT token needed to access the endpoints
1264-
name: Authorization
1265-
in: header
1262+
type: http
1263+
description: 'JWT Authorization header using the Bearer scheme. Example: "Bearer {token}"'
1264+
scheme: bearer
1265+
bearerFormat: JWT
12661266
security:
12671267
- APIKey: [ ]
12681268
- JWT: [ ]

0 commit comments

Comments
 (0)