Skip to content

Commit

Permalink
Remove Doc type and update PluginInfo (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
bufdev authored Oct 23, 2024
1 parent 0b398d7 commit 3a41db4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 45 deletions.
34 changes: 0 additions & 34 deletions buf/plugin/info/v1/doc.proto

This file was deleted.

2 changes: 1 addition & 1 deletion buf/plugin/info/v1/license.proto
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ message License {

// The raw text of the license.
string text = 2;
// The url that contains the license
// The url that contains the license.
string url = 3 [
(buf.validate.field).ignore = IGNORE_IF_UNPOPULATED,
(buf.validate.field).string.uri = true
Expand Down
13 changes: 3 additions & 10 deletions buf/plugin/info/v1/plugin_info.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,23 +16,16 @@ syntax = "proto3";

package buf.plugin.info.v1;

import "buf/plugin/info/v1/doc.proto";
import "buf/plugin/info/v1/license.proto";
import "buf/validate/validate.proto";

option go_package = "buf.build/gen/go/bufbuild/bufplugin/protocolbuffers/go/buf/plugin/info/v1";

// Information about a plugin.
message PluginInfo {
// The url for the plugin.
// A long string providing more details on using the plugin.
//
// This typically is the source control repository that contains the plugin's implementation.
string url = 1 [
(buf.validate.field).ignore = IGNORE_IF_UNPOPULATED,
(buf.validate.field).string.uri = true
];
// This is equivalent to a README.md in effect.
string documentation = 1;
// The license of the plugin.
License license = 2;
// Documentation for a plugin.
Doc doc = 3;
}

0 comments on commit 3a41db4

Please sign in to comment.