forked from loafle/openapi-generator-original
36 lines
532 B
Protocol Buffer
36 lines
532 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 User {
|
|
|
|
int64 id = 1;
|
|
|
|
string username = 2;
|
|
|
|
string firstName = 3;
|
|
|
|
string lastName = 4;
|
|
|
|
string email = 5;
|
|
|
|
string password = 6;
|
|
|
|
string phone = 7;
|
|
|
|
// User Status
|
|
int32 userStatus = 8;
|
|
|
|
}
|