18 lines
443 B
Protocol Buffer
18 lines
443 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package subreddits.v1;
|
|
|
|
import "buf/validate/validate.proto";
|
|
|
|
option go_package = "github.com/tigorlazuardi/bluemage/go/gen/proto/subreddits/v1";
|
|
|
|
message ResolveSubredditNameRequest {
|
|
// name of the subreddit to resolve (check existence and casing).
|
|
string name = 1 [(buf.validate.field).string.min_len = 1];
|
|
}
|
|
|
|
message ResolveSubredditNameResponse {
|
|
// resolved the actual subreddit name.
|
|
string resolved = 1;
|
|
}
|