diff --git a/authzed/api/v1/openapi.proto b/authzed/api/v1/openapi.proto index d6bcbff..7049426 100644 --- a/authzed/api/v1/openapi.proto +++ b/authzed/api/v1/openapi.proto @@ -32,13 +32,18 @@ option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = { produces: "application/json"; security_definitions: { security: { - key: "ApiKeyAuth"; + key: "bearer"; value: { type: TYPE_API_KEY; in: IN_HEADER; name: "Authorization"; + description: "SpiceDB preshared-key, prefixed by Bearer: Bearer " } } } + security: { + security_requirement: { + key: "bearer" + } + } }; -