From 82e61a6e6b7673cf53fa2922bab556ec2d37275e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20S=C3=A4ume?= Date: Fri, 27 Sep 2024 08:30:31 +0200 Subject: [PATCH] PMT-14: Add Auth Info to API Spec --- src/main/resources/api.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/main/resources/api.yml b/src/main/resources/api.yml index 7e46e48..da8df45 100644 --- a/src/main/resources/api.yml +++ b/src/main/resources/api.yml @@ -5,6 +5,8 @@ info: version: 1.0.0 servers: - url: /api/v1 +security: + - JWTAuth: [] components: schemas: @@ -14,6 +16,11 @@ components: properties: msg: type: string + securitySchemes: + JWTAuth: + type: http + scheme: bearer + bearerFormat: JWT responses: OK: description: "OK"