William Cheng e73bf9be1d
Rename gRPC generator to "protobuf-schema" (#3864)
* rename grpc generator to protobuf-schema

* update doc
2019-09-10 17:32:25 +08:00

36 lines
533 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 Order {
int64 id = 1;
int64 petId = 2;
int32 quantity = 3;
string shipDate = 4;
// Order Status
enum status {
PLACED = 0;
APPROVED = 1;
DELIVERED = 2;
}
bool complete = 6;
}