2020-07-30 11:30:29 +08:00

38 lines
563 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 StatusEnum {
PLACED = 0;
APPROVED = 1;
DELIVERED = 2;
}
StatusEnum status = 5;
bool complete = 6;
}