Last active
May 16, 2019 10:51
-
-
Save syossan27/e3e959f1721461ff978126d58ae03069 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
service Sample { | |
rpc SampleAPI(Request) returns (Response) { | |
option (google.api.http) = { | |
get : "/sample" | |
}; | |
option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { | |
summary : "サンプル" | |
responses : { | |
key : "500"; | |
value : { | |
description : "Internal Server Error"; | |
schema : { | |
json_schema : { | |
ref : ".Errors.InternalErrorResponse"; | |
} | |
} | |
} | |
} | |
}; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment