forked from loafle/openapi-generator-original
* copy mustache templates from dart generator * Start with generator by copying the DartClientCodegen for now * at least we know this is not for a browser.. * First working version for a simple swagger configuration * remove browserClient parameter, since it doesn't make sense for flutter * Take care of complex types to support object hierarchies * add null safety * add small test for options * add flutter-petstore scripts * generate flutter petstore output * Add new flutter test project * move generated client to make it usable * use generated swagger petstore plugin * add support for lists of objects * add DateTime support * fix listFromJson implementation * fix NPEs in DateTime operations + place order in sample * Small readme changes * bugfixes * Use flutter-compatible implementation as default dart implementation * fix generated samples * Make lists serializable, now all dart test cases are working again * better list implementation * use StringBuffer * removed FlutterClientCodegen * fix browser client * fix dependencies * swagger-browser-client for browserClient testcases * fix scripts * removed flutter scripts * add map support and simplify code via using .toJson contract * remove unneeded devDependencies * Regenerated samples * fix call to mapFromJson, it is not a constructor * remove pointless string serialization * regenerated dart samples
846 B
846 B
swagger.model.User
Load the model package
import 'package:swagger/api.dart';
Properties
Name | Type | Description | Notes |
---|---|---|---|
id | int | [optional] [default to null] | |
username | String | [optional] [default to null] | |
firstName | String | [optional] [default to null] | |
lastName | String | [optional] [default to null] | |
String | [optional] [default to null] | ||
password | String | [optional] [default to null] | |
phone | String | [optional] [default to null] | |
userStatus | int | User Status | [optional] [default to null] |