From e5b67f871c6758e97842c10c32a19bca8f8f506e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= Date: Fri, 29 Mar 2024 11:38:14 +0100 Subject: [PATCH] Fix definition of application-service API security scheme MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use the recommended way of declaring the `Authorization: Bearer` header. Signed-off-by: Kévin Commaille --- data/api/application-service/definitions/security.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/data/api/application-service/definitions/security.yaml b/data/api/application-service/definitions/security.yaml index b28d033a..b2ba1293 100644 --- a/data/api/application-service/definitions/security.yaml +++ b/data/api/application-service/definitions/security.yaml @@ -13,7 +13,6 @@ # See the License for the specific language governing permissions and # limitations under the License. homeserverAccessToken: - type: apiKey - name: Authorization - in: header + type: http + scheme: bearer description: The `Bearer` `hs_token` provided by the application service's registration.