William Cheng 51800471fa
[java][Okhttp] replace okhttp-gson with okhttp-gson-nextgen (#11538)
* replace okhttp-gson with okhttp-gson-nextgen

* add new files

* update doc

* clean up pom

* update test

* restore error handling in doc

* add back changes

* uncomment tests

* update samples
2022-02-08 00:05:44 +08:00

1.4 KiB

User

Properties

Name Type Description Notes
id Long [optional]
username String [optional]
firstName String [optional]
lastName String [optional]
email String [optional]
password String [optional]
phone String [optional]
userStatus Integer User Status [optional]
objectWithNoDeclaredProps Object test code generation for objects Value must be a map of strings to values. It cannot be the 'null' value. [optional]
objectWithNoDeclaredPropsNullable Object test code generation for nullable objects. Value must be a map of strings to values or the 'null' value. [optional]
anyTypeProp Object test code generation for any type Here the 'type' attribute is not specified, which means the value can be anything, including the null value, string, number, boolean, array or object. See https://github.com/OAI/OpenAPI-Specification/issues/1389 [optional]
anyTypePropNullable Object test code generation for any type Here the 'type' attribute is not specified, which means the value can be anything, including the null value, string, number, boolean, array or object. The 'nullable' attribute does not change the allowed values. [optional]