From ed894a800640efe5d03cd2064ff97b0cf9aae385 Mon Sep 17 00:00:00 2001 From: Paul Kinlan Date: Tue, 30 Jan 2024 22:00:13 +0000 Subject: [PATCH] Adding security schemas to opeanapi spec This will ensure that libraries know that the bearer token is required for auth --- openapi.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/openapi.yaml b/openapi.yaml index 1190c2c..c73274b 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -52,7 +52,13 @@ paths: application/json: schema: $ref: '#/components/schemas/ModelList' +security: + - ApiKeyAuth: [] components: + securitySchemes: + ApiKeyAuth: + type: http + scheme: "bearer" schemas: Error: type: object