Commit 0501f519 authored by Steven's avatar Steven

chore: buf format

parent 736637a3
This diff is collapsed.
...@@ -22,7 +22,7 @@ service IdentityProviderService { ...@@ -22,7 +22,7 @@ service IdentityProviderService {
// CreateIdentityProvider creates an identity provider. // CreateIdentityProvider creates an identity provider.
rpc CreateIdentityProvider(CreateIdentityProviderRequest) returns (IdentityProvider) { rpc CreateIdentityProvider(CreateIdentityProviderRequest) returns (IdentityProvider) {
option (google.api.http) = { option (google.api.http) = {
post: "/api/v1/identityProviders", post: "/api/v1/identityProviders"
body: "identity_provider" body: "identity_provider"
}; };
} }
......
...@@ -53,7 +53,7 @@ service MemoService { ...@@ -53,7 +53,7 @@ service MemoService {
// ExportMemos exports memos. // ExportMemos exports memos.
rpc ExportMemos(ExportMemosRequest) returns (ExportMemosResponse) { rpc ExportMemos(ExportMemosRequest) returns (ExportMemosResponse) {
option (google.api.http) = { option (google.api.http) = {
post: "/api/v1/memos:export", post: "/api/v1/memos:export"
body: "*" body: "*"
}; };
} }
...@@ -112,7 +112,7 @@ service MemoService { ...@@ -112,7 +112,7 @@ service MemoService {
// CreateMemoComment creates a comment for a memo. // CreateMemoComment creates a comment for a memo.
rpc CreateMemoComment(CreateMemoCommentRequest) returns (Memo) { rpc CreateMemoComment(CreateMemoCommentRequest) returns (Memo) {
option (google.api.http) = { option (google.api.http) = {
post: "/api/v1/{name=memos/*}/comments", post: "/api/v1/{name=memos/*}/comments"
body: "comment" body: "comment"
}; };
option (google.api.method_signature) = "name"; option (google.api.method_signature) = "name";
...@@ -135,7 +135,7 @@ service MemoService { ...@@ -135,7 +135,7 @@ service MemoService {
// UpsertMemoReaction upserts a reaction for a memo. // UpsertMemoReaction upserts a reaction for a memo.
rpc UpsertMemoReaction(UpsertMemoReactionRequest) returns (Reaction) { rpc UpsertMemoReaction(UpsertMemoReactionRequest) returns (Reaction) {
option (google.api.http) = { option (google.api.http) = {
post: "/api/v1/{name=memos/*}/reactions", post: "/api/v1/{name=memos/*}/reactions"
body: "*" body: "*"
}; };
option (google.api.method_signature) = "name"; option (google.api.method_signature) = "name";
......
...@@ -16,7 +16,7 @@ service ResourceService { ...@@ -16,7 +16,7 @@ service ResourceService {
// CreateResource creates a new resource. // CreateResource creates a new resource.
rpc CreateResource(CreateResourceRequest) returns (Resource) { rpc CreateResource(CreateResourceRequest) returns (Resource) {
option (google.api.http) = { option (google.api.http) = {
post: "/api/v1/resources", post: "/api/v1/resources"
body: "resource" body: "resource"
}; };
} }
...@@ -41,7 +41,7 @@ service ResourceService { ...@@ -41,7 +41,7 @@ service ResourceService {
// UpdateResource updates a resource. // UpdateResource updates a resource.
rpc UpdateResource(UpdateResourceRequest) returns (Resource) { rpc UpdateResource(UpdateResourceRequest) returns (Resource) {
option (google.api.http) = { option (google.api.http) = {
patch: "/api/v1/{resource.name=resources/*}", patch: "/api/v1/{resource.name=resources/*}"
body: "resource" body: "resource"
}; };
option (google.api.method_signature) = "resource,update_mask"; option (google.api.method_signature) = "resource,update_mask";
......
...@@ -17,7 +17,7 @@ service WorkspaceSettingService { ...@@ -17,7 +17,7 @@ service WorkspaceSettingService {
// SetWorkspaceSetting updates the setting. // SetWorkspaceSetting updates the setting.
rpc SetWorkspaceSetting(SetWorkspaceSettingRequest) returns (WorkspaceSetting) { rpc SetWorkspaceSetting(SetWorkspaceSettingRequest) returns (WorkspaceSetting) {
option (google.api.http) = { option (google.api.http) = {
patch: "/api/v1/workspace/{setting.name=settings/*}", patch: "/api/v1/workspace/{setting.name=settings/*}"
body: "setting" body: "setting"
}; };
option (google.api.method_signature) = "setting"; option (google.api.method_signature) = "setting";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment