blob: 693f52a849ec69598cef573b26ad6b31a4548cb6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
syntax = "proto3";
package authzed.api.v1;
option go_package = "github.com/authzed/authzed-go/proto/authzed/api/v1";
option java_package = "com.authzed.api.v1";
import "protoc-gen-openapiv2/options/annotations.proto";
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
info: {
title: "Authzed";
version: "1.0";
contact: {
name: "Authzed, Inc.";
url: "https://github.com/authzed/api";
email: "support@authzed.com";
};
license: {
name: "Apache 2.0 License";
url: "https://github.com/authzed/api/blob/main/LICENSE";
};
};
external_docs: {
url: "https://docs.authzed.com/reference/api";
description: "More about the Authzed API.";
}
schemes: HTTP;
schemes: HTTPS;
schemes: WSS;
consumes: "application/json";
produces: "application/json";
security_definitions: {
security: {
key: "ApiKeyAuth";
value: {
type: TYPE_API_KEY;
in: IN_HEADER;
name: "Authorization";
}
}
}
};
|