From c510b1254022646803fb29fde96474d873cf8e89 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Tue, 2 Aug 2022 18:47:11 -0600 Subject: [PATCH] Fix for OpenAPI 2 --- data/api/application-service/definitions/security.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/data/api/application-service/definitions/security.yaml b/data/api/application-service/definitions/security.yaml index c273880e..b28d033a 100644 --- a/data/api/application-service/definitions/security.yaml +++ b/data/api/application-service/definitions/security.yaml @@ -13,7 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. homeserverAccessToken: - type: http - scheme: Bearer - # Per docs, this is basically a description. https://swagger.io/docs/specification/authentication/bearer-authentication/ - bearerFormat: The `hs_token` provided by the application service's registration. + type: apiKey + name: Authorization + in: header + description: The `Bearer` `hs_token` provided by the application service's registration.