forked from loafle/openapi-generator-original
* Handle null type * Handle null type * Handle null type. Add 'null' type in the OAS document for testing purpose * Handle null type. Add 'null' type in the OAS document for testing purpose * Handle null type. Add 'null' type in the OAS document for testing purpose * Handle null type. Add 'null' type in the OAS document for testing purpose * Handle null type. Add 'null' type in the OAS document for testing purpose * Handle null type. Add 'null' type in the OAS document for testing purpose * improve documentation * Handle 'null' type * Handle 'null' type. Add unit tests * Add NullType for go * Add NullType for go * fix modeling of AnyType for go-experimental * execute scripts in bin directory * Add review comments * Add 'null' type in oneOf * Improve OAS YAML file for golang openapi3 samples * 'Any type' includes the null value, so 'isNullable' should be set to TRUE * 'Any type' includes the null value, so 'isNullable' should be set to TRUE * Handle AnyType and NullType * handle anytype for go-experimental * Log warning instead of error * anyOf/oneOf * Change x-golang-is-container extension to x-golang-has-wrapper * Add code comments * Handle Object and any type * Handle Object and any type * Handle object and any type * add code comments * handle additional properties * handle additional properties * handle additional properties * handle anytype and objecttype for go-exerimental * Move golang changes to a separate branch * Move golang changes to a separate branch * Better names for the OAS document test properties * Move golang changes to a separate branch * Run samples scripts * Run samples scripts * fix unit test issues * Handle none type * Fix index out of range exception * fix formatting issues * fix formatting issues * fix formatting issues. Finally figured out how to check formatting in local workspace * fix formatting issues * run samples scripts
1.8 KiB
1.8 KiB
user.User
Properties
Name | Type | Description | Notes |
---|---|---|---|
id | int | [optional] | |
username | str | [optional] | |
first_name | str | [optional] | |
last_name | str | [optional] | |
str | [optional] | ||
password | str | [optional] | |
phone | str | [optional] | |
user_status | int | User Status | [optional] |
object_with_no_declared_props | bool, date, datetime, dict, float, int, list, str | test code generation for objects Value must be a map of strings to values. It cannot be the 'null' value. | [optional] |
object_with_no_declared_props_nullable | bool, date, datetime, dict, float, int, list, str, none_type | test code generation for nullable objects. Value must be a map of strings to values or the 'null' value. | [optional] |
any_type_prop | bool, date, datetime, dict, float, int, list, str, none_type | 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] |
any_type_prop_nullable | bool, date, datetime, dict, float, int, list, str, none_type | 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] |