generate errors only for generated files

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2024-06-11 20:45:09 +03:00
parent f22d8ed055
commit 55fa1ee403
8 changed files with 171 additions and 45 deletions

View File

@@ -8,9 +8,17 @@ import "tag/tag.proto";
import "api/annotations.proto";
import "openapiv2/annotations.proto";
import "google/protobuf/wrappers.proto";
import "graphql.proto";
service Example {
option (graphql.service) = {
host: "localhost:9090";
};
rpc Call(CallReq) returns (CallRsp) {
option (graphql.schema) = {
type: QUERY
name: "Call"
};
option (micro.openapiv3.openapiv3_operation) = {
operation_id: "Call";
responses: {