1
1
/* Options:
2
- Date: 2018-05-01 05:12:23
2
+ Date: 2018-08-08 01:56:56
3
3
Version: 5.00
4
4
Tip: To override a DTO option, remove "//" prefix before updating
5
5
BaseUrl: http://localhost:55799
@@ -145,6 +145,25 @@ class Rockstar implements IConvertible
145
145
TypeContext context = _ctx;
146
146
}
147
147
148
+ class ArrayElementInDictionary implements IConvertible
149
+ {
150
+ int id;
151
+
152
+ ArrayElementInDictionary ({this .id});
153
+ ArrayElementInDictionary .fromJson (Map <String , dynamic > json) { fromMap (json); }
154
+
155
+ fromMap (Map <String , dynamic > json) {
156
+ id = json['id' ];
157
+ return this ;
158
+ }
159
+
160
+ Map <String , dynamic > toJson () => {
161
+ 'id' : id
162
+ };
163
+
164
+ TypeContext context = _ctx;
165
+ }
166
+
148
167
class ObjectDesign implements IConvertible
149
168
{
150
169
int id;
@@ -1071,6 +1090,16 @@ class EnumFlags
1071
1090
static List <EnumFlags > get values => const [Value0 ,Value1 ,Value2 ,Value3 ,Value123 ];
1072
1091
}
1073
1092
1093
+ enum EnumStyle
1094
+ {
1095
+ lower,
1096
+ UPPER ,
1097
+ PascalCase ,
1098
+ camelCase,
1099
+ camelUPPER,
1100
+ PascalUPPER ,
1101
+ }
1102
+
1074
1103
class Poco implements IConvertible
1075
1104
{
1076
1105
String name;
@@ -1795,6 +1824,27 @@ class ChangeRequestResponse implements IConvertible
1795
1824
TypeContext context = _ctx;
1796
1825
}
1797
1826
1827
+ class DiscoverTypes implements IReturn <DiscoverTypes >, IConvertible
1828
+ {
1829
+ Map <String ,List <ArrayElementInDictionary >> elementInDictionary;
1830
+
1831
+ DiscoverTypes ({this .elementInDictionary});
1832
+ DiscoverTypes .fromJson (Map <String , dynamic > json) { fromMap (json); }
1833
+
1834
+ fromMap (Map <String , dynamic > json) {
1835
+ elementInDictionary = JsonConverters .fromJson (json['elementInDictionary' ],'Map<String,List<ArrayElementInDictionary>>' ,context);
1836
+ return this ;
1837
+ }
1838
+
1839
+ Map <String , dynamic > toJson () => {
1840
+ 'elementInDictionary' : JsonConverters .toJson (elementInDictionary,'Map<String,List<ArrayElementInDictionary>>' ,context)
1841
+ };
1842
+
1843
+ createResponse () { return new DiscoverTypes (); }
1844
+ String getTypeName () { return "DiscoverTypes" ; }
1845
+ TypeContext context = _ctx;
1846
+ }
1847
+
1798
1848
class CustomHttpErrorResponse implements IConvertible
1799
1849
{
1800
1850
String custom;
@@ -2823,7 +2873,7 @@ class HelloAuthenticatedResponse implements IConvertible
2823
2873
TypeContext context = _ctx;
2824
2874
}
2825
2875
2826
- class Echo implements IConvertible
2876
+ class Echo implements IEcho , IConvertible
2827
2877
{
2828
2878
String sentence;
2829
2879
@@ -4065,23 +4115,26 @@ class HelloWithEnum implements IConvertible
4065
4115
EnumWithValues enumWithValues;
4066
4116
EnumType nullableEnumProp;
4067
4117
EnumFlags enumFlags;
4118
+ EnumStyle enumStyle;
4068
4119
4069
- HelloWithEnum ({this .enumProp,this .enumWithValues,this .nullableEnumProp,this .enumFlags});
4120
+ HelloWithEnum ({this .enumProp,this .enumWithValues,this .nullableEnumProp,this .enumFlags, this .enumStyle });
4070
4121
HelloWithEnum .fromJson (Map <String , dynamic > json) { fromMap (json); }
4071
4122
4072
4123
fromMap (Map <String , dynamic > json) {
4073
4124
enumProp = JsonConverters .fromJson (json['enumProp' ],'EnumType' ,context);
4074
4125
enumWithValues = JsonConverters .fromJson (json['enumWithValues' ],'EnumWithValues' ,context);
4075
4126
nullableEnumProp = JsonConverters .fromJson (json['nullableEnumProp' ],'EnumType' ,context);
4076
4127
enumFlags = JsonConverters .fromJson (json['enumFlags' ],'EnumFlags' ,context);
4128
+ enumStyle = JsonConverters .fromJson (json['enumStyle' ],'EnumStyle' ,context);
4077
4129
return this ;
4078
4130
}
4079
4131
4080
4132
Map <String , dynamic > toJson () => {
4081
4133
'enumProp' : JsonConverters .toJson (enumProp,'EnumType' ,context),
4082
4134
'enumWithValues' : JsonConverters .toJson (enumWithValues,'EnumWithValues' ,context),
4083
4135
'nullableEnumProp' : JsonConverters .toJson (nullableEnumProp,'EnumType' ,context),
4084
- 'enumFlags' : JsonConverters .toJson (enumFlags,'EnumFlags' ,context)
4136
+ 'enumFlags' : JsonConverters .toJson (enumFlags,'EnumFlags' ,context),
4137
+ 'enumStyle' : JsonConverters .toJson (enumStyle,'EnumStyle' ,context)
4085
4138
};
4086
4139
4087
4140
TypeContext context = _ctx;
@@ -5305,6 +5358,29 @@ class SwaggerVersionTest implements IConvertible
5305
5358
TypeContext context = _ctx;
5306
5359
}
5307
5360
5361
+ // @Route("/swagger/range")
5362
+ class SwaggerRangeTest implements IConvertible
5363
+ {
5364
+ String intRange;
5365
+ String doubleRange;
5366
+
5367
+ SwaggerRangeTest ({this .intRange,this .doubleRange});
5368
+ SwaggerRangeTest .fromJson (Map <String , dynamic > json) { fromMap (json); }
5369
+
5370
+ fromMap (Map <String , dynamic > json) {
5371
+ intRange = json['intRange' ];
5372
+ doubleRange = json['doubleRange' ];
5373
+ return this ;
5374
+ }
5375
+
5376
+ Map <String , dynamic > toJson () => {
5377
+ 'intRange' : intRange,
5378
+ 'doubleRange' : doubleRange
5379
+ };
5380
+
5381
+ TypeContext context = _ctx;
5382
+ }
5383
+
5308
5384
// @Route("/test/errorview")
5309
5385
class TestErrorView implements IConvertible
5310
5386
{
@@ -5536,6 +5612,52 @@ class MatchLang implements IReturn<HelloResponse>, IConvertible
5536
5612
TypeContext context = _ctx;
5537
5613
}
5538
5614
5615
+ // @Route("/reqlogstest/{Name}")
5616
+ class RequestLogsTest implements IReturn <String >, IConvertible
5617
+ {
5618
+ String name;
5619
+
5620
+ RequestLogsTest ({this .name});
5621
+ RequestLogsTest .fromJson (Map <String , dynamic > json) { fromMap (json); }
5622
+
5623
+ fromMap (Map <String , dynamic > json) {
5624
+ name = json['name' ];
5625
+ return this ;
5626
+ }
5627
+
5628
+ Map <String , dynamic > toJson () => {
5629
+ 'name' : name
5630
+ };
5631
+
5632
+ createResponse () { return "" ; }
5633
+ String getTypeName () { return "RequestLogsTest" ; }
5634
+ TypeContext context = _ctx;
5635
+ }
5636
+
5637
+ class InProcRequest1 implements IConvertible
5638
+ {
5639
+ InProcRequest1 ();
5640
+ InProcRequest1 .fromJson (Map <String , dynamic > json) : super ();
5641
+ fromMap (Map <String , dynamic > json) {
5642
+ return this ;
5643
+ }
5644
+
5645
+ Map <String , dynamic > toJson () => {};
5646
+ TypeContext context = _ctx;
5647
+ }
5648
+
5649
+ class InProcRequest2 implements IConvertible
5650
+ {
5651
+ InProcRequest2 ();
5652
+ InProcRequest2 .fromJson (Map <String , dynamic > json) : super ();
5653
+ fromMap (Map <String , dynamic > json) {
5654
+ return this ;
5655
+ }
5656
+
5657
+ Map <String , dynamic > toJson () => {};
5658
+ TypeContext context = _ctx;
5659
+ }
5660
+
5539
5661
/**
5540
5662
* SwaggerTest Service Description
5541
5663
*/
@@ -5795,6 +5917,32 @@ class SwaggerMultiApiResponseTest implements IReturnVoid, IConvertible
5795
5917
TypeContext context = _ctx;
5796
5918
}
5797
5919
5920
+ // @Route("/defaultview/class")
5921
+ class DefaultViewAttr implements IConvertible
5922
+ {
5923
+ DefaultViewAttr ();
5924
+ DefaultViewAttr .fromJson (Map <String , dynamic > json) : super ();
5925
+ fromMap (Map <String , dynamic > json) {
5926
+ return this ;
5927
+ }
5928
+
5929
+ Map <String , dynamic > toJson () => {};
5930
+ TypeContext context = _ctx;
5931
+ }
5932
+
5933
+ // @Route("/defaultview/action")
5934
+ class DefaultViewActionAttr implements IConvertible
5935
+ {
5936
+ DefaultViewActionAttr ();
5937
+ DefaultViewActionAttr .fromJson (Map <String , dynamic > json) : super ();
5938
+ fromMap (Map <String , dynamic > json) {
5939
+ return this ;
5940
+ }
5941
+
5942
+ Map <String , dynamic > toJson () => {};
5943
+ TypeContext context = _ctx;
5944
+ }
5945
+
5798
5946
// @Route("/dynamically/registered/{Name}")
5799
5947
class DynamicallyRegistered implements IConvertible
5800
5948
{
@@ -6454,6 +6602,7 @@ class QueryDataRockstars extends QueryData<Rockstar> implements IReturn<QueryRes
6454
6602
TypeContext _ctx = new TypeContext (library: 'localhost' , types: < String , TypeInfo > {
6455
6603
'RequestLogEntry' : new TypeInfo (TypeOf .Class , create: () => new RequestLogEntry ()),
6456
6604
'Rockstar' : new TypeInfo (TypeOf .Class , create: () => new Rockstar ()),
6605
+ 'ArrayElementInDictionary' : new TypeInfo (TypeOf .Class , create: () => new ArrayElementInDictionary ()),
6457
6606
'ObjectDesign' : new TypeInfo (TypeOf .Class , create: () => new ObjectDesign ()),
6458
6607
'IAuthTokens' : new TypeInfo (TypeOf .Interface ),
6459
6608
'AuthUserSession' : new TypeInfo (TypeOf .Class , create: () => new AuthUserSession ()),
@@ -6488,6 +6637,7 @@ TypeContext _ctx = new TypeContext(library: 'localhost', types: <String, TypeInf
6488
6637
'EnumType' : new TypeInfo (TypeOf .Enum , enumValues: EnumType .values),
6489
6638
'EnumWithValues' : new TypeInfo (TypeOf .Enum , enumValues: EnumWithValues .values),
6490
6639
'EnumFlags' : new TypeInfo (TypeOf .Enum , enumValues: EnumFlags .values),
6640
+ 'EnumStyle' : new TypeInfo (TypeOf .Enum , enumValues: EnumStyle .values),
6491
6641
'Poco' : new TypeInfo (TypeOf .Class , create: () => new Poco ()),
6492
6642
'AllCollectionTypes' : new TypeInfo (TypeOf .Class , create: () => new AllCollectionTypes ()),
6493
6643
'List<Poco>' : new TypeInfo (TypeOf .Class , create: () => new List <Poco >()),
@@ -6535,6 +6685,9 @@ TypeContext _ctx = new TypeContext(library: 'localhost', types: <String, TypeInf
6535
6685
'OnlyDefinedInGenericTypeInto' : new TypeInfo (TypeOf .Class , create: () => new OnlyDefinedInGenericTypeInto ()),
6536
6686
'TypesGroup' : new TypeInfo (TypeOf .Class , create: () => new TypesGroup ()),
6537
6687
'ChangeRequestResponse' : new TypeInfo (TypeOf .Class , create: () => new ChangeRequestResponse ()),
6688
+ 'DiscoverTypes' : new TypeInfo (TypeOf .Class , create: () => new DiscoverTypes ()),
6689
+ 'Map<String,List<ArrayElementInDictionary>>' : new TypeInfo (TypeOf .Class , create: () => new Map <String ,List <ArrayElementInDictionary >>()),
6690
+ 'List<ArrayElementInDictionary>' : new TypeInfo (TypeOf .Class , create: () => new List <ArrayElementInDictionary >()),
6538
6691
'CustomHttpErrorResponse' : new TypeInfo (TypeOf .Class , create: () => new CustomHttpErrorResponse ()),
6539
6692
'AlwaysThrows' : new TypeInfo (TypeOf .Class , create: () => new AlwaysThrows ()),
6540
6693
'AlwaysThrowsFilterAttribute' : new TypeInfo (TypeOf .Class , create: () => new AlwaysThrowsFilterAttribute ()),
@@ -6700,6 +6853,7 @@ TypeContext _ctx = new TypeContext(library: 'localhost', types: <String, TypeInf
6700
6853
'MatchesId' : new TypeInfo (TypeOf .Class , create: () => new MatchesId ()),
6701
6854
'MatchesSlug' : new TypeInfo (TypeOf .Class , create: () => new MatchesSlug ()),
6702
6855
'SwaggerVersionTest' : new TypeInfo (TypeOf .Class , create: () => new SwaggerVersionTest ()),
6856
+ 'SwaggerRangeTest' : new TypeInfo (TypeOf .Class , create: () => new SwaggerRangeTest ()),
6703
6857
'TestErrorView' : new TypeInfo (TypeOf .Class , create: () => new TestErrorView ()),
6704
6858
'GetTimestamp' : new TypeInfo (TypeOf .Class , create: () => new GetTimestamp ()),
6705
6859
'TestMiniverView' : new TypeInfo (TypeOf .Class , create: () => new TestMiniverView ()),
@@ -6712,12 +6866,17 @@ TypeContext _ctx = new TypeContext(library: 'localhost', types: <String, TypeInf
6712
6866
'DownloadGzipFile' : new TypeInfo (TypeOf .Class , create: () => new DownloadGzipFile ()),
6713
6867
'MatchName' : new TypeInfo (TypeOf .Class , create: () => new MatchName ()),
6714
6868
'MatchLang' : new TypeInfo (TypeOf .Class , create: () => new MatchLang ()),
6869
+ 'RequestLogsTest' : new TypeInfo (TypeOf .Class , create: () => new RequestLogsTest ()),
6870
+ 'InProcRequest1' : new TypeInfo (TypeOf .Class , create: () => new InProcRequest1 ()),
6871
+ 'InProcRequest2' : new TypeInfo (TypeOf .Class , create: () => new InProcRequest2 ()),
6715
6872
'SwaggerTest' : new TypeInfo (TypeOf .Class , create: () => new SwaggerTest ()),
6716
6873
'SwaggerTest2' : new TypeInfo (TypeOf .Class , create: () => new SwaggerTest2 ()),
6717
6874
'SwaggerComplex' : new TypeInfo (TypeOf .Class , create: () => new SwaggerComplex ()),
6718
6875
'SwaggerPostTest' : new TypeInfo (TypeOf .Class , create: () => new SwaggerPostTest ()),
6719
6876
'SwaggerPostTest2' : new TypeInfo (TypeOf .Class , create: () => new SwaggerPostTest2 ()),
6720
6877
'SwaggerMultiApiResponseTest' : new TypeInfo (TypeOf .Class , create: () => new SwaggerMultiApiResponseTest ()),
6878
+ 'DefaultViewAttr' : new TypeInfo (TypeOf .Class , create: () => new DefaultViewAttr ()),
6879
+ 'DefaultViewActionAttr' : new TypeInfo (TypeOf .Class , create: () => new DefaultViewActionAttr ()),
6721
6880
'DynamicallyRegistered' : new TypeInfo (TypeOf .Class , create: () => new DynamicallyRegistered ()),
6722
6881
'QueryPostgresRockstars' : new TypeInfo (TypeOf .Class , create: () => new QueryPostgresRockstars ()),
6723
6882
'QueryPostgresPgRockstars' : new TypeInfo (TypeOf .Class , create: () => new QueryPostgresPgRockstars ()),
0 commit comments