Skip to content

Commit 9ce037a

Browse files
authored
Merge pull request #120 from holgerstolzenberg/feature/add-security-section-to-openapi-specs
Add missing global 'security' declaration to openapi.proto
2 parents 8a6892e + fec64a0 commit 9ce037a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

authzed/api/v1/openapi.proto

+6-1
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,13 @@ option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
3737
type: TYPE_API_KEY;
3838
in: IN_HEADER;
3939
name: "Authorization";
40+
description: "SpiceDB preshared-key, prefixed by Bearer: Bearer <preshared-key>";
4041
}
4142
}
43+
},
44+
security: {
45+
security_requirement: {
46+
key: "ApiKeyAuth"
47+
}
4248
}
4349
};
44-

0 commit comments

Comments
 (0)