forked from loafle/openapi-generator-original
* [Protobuf-Schema] Add enum prefix * [Protobuf-Schema] Documentation updated * [Protobuf-Schema] Samples updated
38 lines
634 B
Protocol Buffer
38 lines
634 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 = 3355;
|
|
|
|
int64 petId = 106557082;
|
|
|
|
int32 quantity = 211262327;
|
|
|
|
string shipDate = 517554166;
|
|
|
|
// Order Status
|
|
enum StatusEnum {
|
|
StatusEnum_PLACED = 0;
|
|
StatusEnum_APPROVED = 1;
|
|
StatusEnum_DELIVERED = 2;
|
|
}
|
|
|
|
StatusEnum status = 355610639;
|
|
|
|
bool complete = 62574280;
|
|
|
|
}
|