You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
473 B
19 lines
473 B
3 years ago
|
syntax = "proto3";
|
||
|
|
||
3 years ago
|
option go_package = "github.com/go-kratos/kratos/cmd/protoc-gen-go-http/internal/encoding/complex/;complex";
|
||
3 years ago
|
|
||
|
package testproto;
|
||
|
|
||
|
|
||
|
// SimpleMessage represents a simple message sent to the Echo service.
|
||
|
message Complex {
|
||
|
// Id represents the message identifier.
|
||
|
int64 id = 1;
|
||
|
string no_one = 2 [json_name="numberOne"];
|
||
|
Simple simple = 3 [json_name="very_simple"];
|
||
|
repeated string simples = 4;
|
||
|
}
|
||
|
|
||
|
message Simple {
|
||
|
string component = 1;
|
||
|
}
|