mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-05-12 20:50:55 +00:00
* protobuf enum prefix use upper underscore Add json name parameters and change parameter field name to snake case * rerun generate-samples.sh * Add CI test * rebase master --------- Co-authored-by: xil <xil@uber.com>
36 lines
589 B
Protocol Buffer
36 lines
589 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 first_name = 160985414;
|
|
|
|
string last_name = 402509463;
|
|
|
|
string email = 96619420;
|
|
|
|
string password = 143243933;
|
|
|
|
string phone = 106642798;
|
|
|
|
// User Status
|
|
int32 user_status = 150530330;
|
|
|
|
}
|