-
Notifications
You must be signed in to change notification settings - Fork 0
/
dtoGenerator.nswag
106 lines (106 loc) · 3.81 KB
/
dtoGenerator.nswag
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
"runtime": "NetCore21",
"defaultVariables": null,
"swaggerGenerator": {
"typesToSwagger": {
"classNames": [
"Ag.BusinessLogic.Models.IncomeListFilterParams",
"Ag.Common.Dtos.Request.ColorChangeDto",
"Ag.Common.Dtos.Request.IncomeChunkAddDto",
"Ag.Common.Dtos.Request.IncomeChunkUpdateDto",
"Ag.Common.Dtos.Request.IncomeEntryAddDto",
"Ag.Common.Dtos.Request.IncomeEntryUpdateDto",
"Ag.Common.Dtos.Request.UserForEditDto",
"Ag.Common.Dtos.Request.UserForLoginDto",
"Ag.Common.Dtos.Request.UserForRegisterDto",
"Ag.Common.Dtos.Response.ColorDto",
"Ag.Common.Dtos.Response.IncomeChunkForReturnDto",
"Ag.Common.Dtos.Response.IncomeEntryForReturnDto",
"Ag.Common.Dtos.Response.IncomeListDataReturnDto",
"Ag.Common.Dtos.Response.IncomeStatisticsDto",
"Ag.Common.Dtos.Response.IncomeStatisticsSiteSumDto",
"Ag.Common.Dtos.Response.UserAuthResponseDto",
"Ag.Common.Dtos.Response.UserDetailDto",
"Ag.Common.Dtos.Response.UserForListDto",
"Ag.Common.Dtos.Response.WorkDayForListDto",
"Ag.Common.Enums.Role",
"Ag.Common.Enums.Shift",
"Ag.Common.Enums.Site",
"Ag.Web.Models.ErrorDetails"
],
"defaultPropertyNameHandling": "Default",
"defaultReferenceTypeNullHandling": "Null",
"defaultEnumHandling": "String",
"flattenInheritanceHierarchy": false,
"ignoreObsoleteProperties": false,
"allowReferencesWithProperties": false,
"generateKnownTypes": true,
"generateXmlObjects": false,
"output": "AG-SPA/src/app/_models/generatedDtos.json",
"outputType": "Swagger2",
"assemblyPaths": [
"AG.API/Ag.Web/bin/Debug/netcoreapp2.1/Ag.Common.dll",
"AG.API/Ag.Web/bin/Debug/netcoreapp2.1/Ag.Web.dll",
"AG.API/Ag.Web/bin/Debug/netcoreapp2.1/Ag.BusinessLogic.dll"
],
"assemblyConfig": null,
"referencePaths": [],
"useNuGetCache": false
}
},
"codeGenerators": {
"swaggerToTypeScriptClient": {
"className": "{controller}Client",
"moduleName": "",
"namespace": "",
"typeScriptVersion": 2.7,
"template": "Fetch",
"promiseType": "Promise",
"httpClass": "Http",
"useSingletonProvider": false,
"injectionTokenType": "OpaqueToken",
"rxJsVersion": 5.0,
"dateTimeType": "Date",
"nullValue": "Null",
"generateClientClasses": false,
"generateClientInterfaces": false,
"generateOptionalParameters": false,
"exportTypes": true,
"wrapDtoExceptions": false,
"clientBaseClass": null,
"wrapResponses": false,
"wrapResponseMethods": [],
"generateResponseClasses": true,
"responseClass": "SwaggerResponse",
"protectedMethods": [],
"configurationClass": null,
"useTransformOptionsMethod": false,
"useTransformResultMethod": false,
"generateDtoTypes": true,
"operationGenerationMode": "MultipleClientsFromOperationId",
"markOptionalProperties": true,
"generateCloneMethod": true,
"typeStyle": "Class",
"classTypes": [],
"extendedClasses": [],
"extensionCode": null,
"generateDefaultValues": true,
"excludedTypeNames": [],
"handleReferences": false,
"generateConstructorInterface": true,
"convertConstructorInterfaceData": false,
"importRequiredTypes": true,
"useGetBaseUrlMethod": false,
"baseUrlTokenName": "API_BASE_URL",
"queryNullValue": "",
"inlineNamedDictionaries": false,
"templateDirectory": null,
"typeNameGeneratorType": null,
"propertyNameGeneratorType": null,
"enumNameGeneratorType": null,
"serviceHost": null,
"serviceSchemes": null,
"output": "AG-SPA/src/app/_models/generatedDtos.ts"
}
}
}