-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
Expand file tree
/
Copy pathdefault_service.proto
More file actions
38 lines (23 loc) · 848 Bytes
/
default_service.proto
File metadata and controls
38 lines (23 loc) · 848 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*
OpenAPI Petstore
This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
The version of the OpenAPI document: 1.0.0
Generated by OpenAPI Generator: https://openapi-generator.tech
*/
syntax = "proto3";
package petstore.services.defaultservice;
option java_multiple_files = true;
option java_package = "com.example.tutorial.protos.api";
option java_outer_classname = "ExampleProtos";
import "google/protobuf/empty.proto";
import public "models/data.proto";
service DefaultService {
rpc PetsGet (PetsGetRequest) returns (google.protobuf.Empty);
rpc PetsPost (PetsPostRequest) returns (google.protobuf.Empty);
}
message PetsGetRequest {
PetsGetRequest pets_get_request = 1;
}
message PetsPostRequest {
PetsPostRequest pets_post_request = 1;
}