File tree Expand file tree Collapse file tree 3 files changed +48
-0
lines changed
Expand file tree Collapse file tree 3 files changed +48
-0
lines changed Original file line number Diff line number Diff line change 1+ # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
2+ apis[] = {"apiId":"83bb80f9-8f24-4f53-ada8-73f898c07412"}
3+ configVersion = 1.0.0
4+ type = api
Original file line number Diff line number Diff line change 1+ # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
2+ configVersion = 1.1.0
3+ type = apiEntityData
4+
5+ [config]
6+ id = 83bb80f9-8f24-4f53-ada8-73f898c07412
7+
8+ [config.relations]
9+
10+ [config.relations.collections]
11+ rootDirectory = postman/collections
12+
13+ [config.relations.collections.metaData]
14+
15+ [config.relations.apiDefinition]
16+ files[] = {"path":"index.proto","metaData":{}}
17+
18+ [config.relations.apiDefinition.metaData]
19+ type = proto:3
20+ rootFiles[] = index.proto
Original file line number Diff line number Diff line change 1+ syntax = "proto3" ;
2+
3+ package com.book ;
4+
5+ message Book {
6+ int64 isbn = 1 ;
7+ string title = 2 ;
8+ string author = 3 ;
9+ }
10+
11+ message GetBookRequest {
12+ int64 isbn = 1 ;
13+ }
14+
15+ message GetBookViaAuthor {
16+ string author = 1 ;
17+ }
18+
19+ service BookService {
20+ rpc GetBook (GetBookRequest ) returns (Book ) {}
21+ rpc GetBooksViaAuthor (GetBookViaAuthor ) returns (stream Book ) {}
22+ rpc GetGreatestBook (stream GetBookRequest ) returns (Book ) {}
23+ rpc GetBooks (stream GetBookRequest ) returns (stream Book ) {}
24+ }
You can’t perform that action at this time.
0 commit comments