chore: update buf version to 1.15.1 (#3102)

This commit is contained in:
Jim authored and GitHub committed 2023-03-20 10:37:40 -04:00
1 parent bf955b60d4
commit 982c9c263c
45 files changed
+441 -762

No files matched your search

@@ -54,12 +54,8 @@ message TestCustomTransformation {
service TestResourceService {
rpc TestListResource(TestListResourceRequest) returns (TestListResourceResponse) {
option (google.api.http) = {
get: "/v1/test-resources"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Test list"
};
option (google.api.http) = {get: "/v1/test-resources"};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Test list"};
}
rpc TestCreateResource(TestCreateResourceRequest) returns (TestCreateResourceResponse) {
@@ -68,9 +64,7 @@ service TestResourceService {
body: "item"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Test create"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Test create"};
}
rpc TestUpdateResource(TestUpdateResourceRequest) returns (TestUpdateResourceResponse) {
@@ -79,9 +73,7 @@ service TestResourceService {
body: "item"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Test update"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Test update"};
}
rpc TestGetResource(TestGetResourceRequest) returns (TestGetResourceResponse) {
@@ -89,9 +81,7 @@ service TestResourceService {
get: "/v1/test-resources/{id}"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Test get"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Test get"};
}
}
+1 -3
View File
@@ -18,9 +18,7 @@ service TestAuthMethodService {
post: "/v1/auth-methods/{auth_method_id}:authenticate"
body: "*"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Authenticate a user to an scope and retrieve an authentication token."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Authenticate a user to an scope and retrieve an authentication token."};
}
}
message TestAuthenticateRequest {
@@ -16,9 +16,7 @@ service TestService {
option (google.api.http) = {
get: "/v1/test/{id}"
response_body: "item"
additional_bindings {
get: "/v2/test"
}
additional_bindings {get: "/v2/test"}
};
}
}