Skip to content

Commit

Permalink
commit
Browse files Browse the repository at this point in the history
  • Loading branch information
bufdev committed Sep 28, 2024
1 parent 73a2cb1 commit 10f9ea3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 deletions.
13 changes: 0 additions & 13 deletions buf/plugin/generate/v1/generate_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@ service GenerateService {
rpc Generate(GenerateRequest) returns (GenerateResponse) {
option idempotency_level = NO_SIDE_EFFECTS;
}
// Get information about a plugin.
rpc GetInfo(GetInfoRequest) returns (GetInfoResponse) {
option idempotency_level = NO_SIDE_EFFECTS;
}
}

// A request for generation.
Expand Down Expand Up @@ -83,12 +79,3 @@ message GenerateResponse {
expression: "this.map(file, file.path).unique()"
}];
}

// A request for info.
message GetInfoRequest {}

// The information about the plugin.
message GetInfoResponse {
// The maximum edition that the plugin supports.
int32 maximum_edition = 1;
}
4 changes: 4 additions & 0 deletions buf/plugin/info/v1/plugin_info.proto
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,8 @@ message PluginInfo {
License license = 2;
// Documentation for a plugin.
Doc doc = 3;
// The maximum edition that the plugin supports.
//
// If not set, the plugin is assumed to support all editions.
int32 maximum_edition = 4;
}

0 comments on commit 10f9ea3

Please sign in to comment.