mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-06-29 12:10:54 +00:00
* feature/add-avro-generator * feature/add-avro-generator * review/test/change output folder generation for avro * doc/update copyright for avro generator
49 lines
848 B
JSON
49 lines
848 B
JSON
{
|
|
"namespace": "model",
|
|
"type": "record",
|
|
"doc": "A User who is purchasing from the pet store",
|
|
"name": "User",
|
|
"fields": [
|
|
{
|
|
"name": "id",
|
|
"type": ["null", "long"],
|
|
"doc": ""
|
|
},
|
|
{
|
|
"name": "username",
|
|
"type": ["null", "string"],
|
|
"doc": ""
|
|
},
|
|
{
|
|
"name": "firstName",
|
|
"type": ["null", "string"],
|
|
"doc": ""
|
|
},
|
|
{
|
|
"name": "lastName",
|
|
"type": ["null", "string"],
|
|
"doc": ""
|
|
},
|
|
{
|
|
"name": "email",
|
|
"type": ["null", "string"],
|
|
"doc": ""
|
|
},
|
|
{
|
|
"name": "password",
|
|
"type": ["null", "string"],
|
|
"doc": ""
|
|
},
|
|
{
|
|
"name": "phone",
|
|
"type": ["null", "string"],
|
|
"doc": ""
|
|
},
|
|
{
|
|
"name": "userStatus",
|
|
"type": ["null", "int"],
|
|
"doc": "User Status"
|
|
}
|
|
]
|
|
}
|