forked from loafle/openapi-generator-original
* update surefire to newer version * more fixes * update pet.proto * update model protobuf template * add charset * set line separator * set proper line break in proto test * minor fix * use UTF-8 * use FileUtils.contentEquals * remove line break * remove line breaks * revert utf-8 change
36 lines
586 B
Protocol Buffer
36 lines
586 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 = 3355;
|
|
|
|
string username = 265713450;
|
|
|
|
string firstName = 132835675;
|
|
|
|
string lastName = 385857985;
|
|
|
|
string email = 96619420;
|
|
|
|
string password = 143243933;
|
|
|
|
string phone = 106642798;
|
|
|
|
// User Status
|
|
int32 userStatus = 517890975;
|
|
|
|
}
|