41 lines
708 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 "models/category.proto";
import public "models/tag.proto";
message Pet {
int64 id = 3355;
Category category = 50511102;
string name = 3373707;
repeated string photo_urls = 507546927;
repeated Tag tags = 3552281;
// pet status in the store
enum Status {
STATUS_AVAILABLE = 0;
STATUS_PENDING = 1;
STATUS_SOLD = 2;
}
Status status = 355610639;
}