forked from loafle/openapi-generator-original
* protobuf enum prefix use upper underscore Add json name parameters and change parameter field name to snake case * rerun generate-samples.sh * Add CI test * rebase master --------- Co-authored-by: xil <xil@uber.com>
25 lines
399 B
Protocol Buffer
25 lines
399 B
Protocol Buffer
/*
|
|
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;
|
|
|
|
|
|
message ApiResponse {
|
|
|
|
int32 code = 1;
|
|
|
|
string type = 2;
|
|
|
|
string message = 3;
|
|
|
|
}
|