2025-03-22 10:00:01 +08:00

42 lines
727 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;
import public "google/protobuf/struct.proto";
message Order {
int64 id = 1;
int64 pet_id = 2 [json_name="petId"];
int32 quantity = 3;
string ship_date = 4 [json_name="shipDate"];
// Order Status
enum Status {
STATUS_UNSPECIFIED = 0;
STATUS_PLACED = 1;
STATUS_APPROVED = 2;
STATUS_DELIVERED = 3;
}
Status status = 5;
bool complete = 6;
google.protobuf.Struct meta = 7;
}