1
- {
1
+ {
2
2
"runtime": "Default",
3
- "swaggerGenerator": {
4
- "fromSwagger": {
3
+ "defaultVariables": null,
4
+ "documentGenerator": {
5
+ "fromDocument": {
5
6
"url": "http://localhost:21021/swagger/v1/swagger.json",
6
7
"output": null
7
8
}
8
9
},
9
10
"codeGenerators": {
10
- "swaggerToTypeScriptClient ": {
11
+ "openApiToTypeScriptClient ": {
11
12
"className": "{controller}ServiceProxy",
12
13
"moduleName": "",
13
14
"namespace": "",
23
24
"generateClientClasses": true,
24
25
"generateClientInterfaces": false,
25
26
"generateOptionalParameters": false,
27
+ "exportTypes": true,
26
28
"wrapDtoExceptions": false,
29
+ "exceptionClass": "ApiException",
30
+ "clientBaseClass": null,
27
31
"wrapResponses": false,
32
+ "wrapResponseMethods": [],
28
33
"generateResponseClasses": true,
29
34
"responseClass": "SwaggerResponse",
35
+ "protectedMethods": [],
36
+ "configurationClass": null,
30
37
"useTransformOptionsMethod": false,
31
38
"useTransformResultMethod": false,
32
39
"generateDtoTypes": true,
33
40
"operationGenerationMode": "MultipleClientsFromPathSegments",
34
41
"markOptionalProperties": false,
35
42
"generateCloneMethod": true,
36
43
"typeStyle": "Class",
44
+ "classTypes": [],
45
+ "extendedClasses": [],
46
+ "extensionCode": null,
37
47
"generateDefaultValues": true,
38
48
"excludedTypeNames": [],
49
+ "excludedParameterNames": [],
39
50
"handleReferences": false,
40
51
"generateConstructorInterface": true,
41
52
"convertConstructorInterfaceData": false,
42
53
"importRequiredTypes": true,
43
54
"useGetBaseUrlMethod": false,
44
55
"baseUrlTokenName": "API_BASE_URL",
45
56
"queryNullValue": "",
57
+ "inlineNamedDictionaries": false,
58
+ "inlineNamedAny": false,
59
+ "templateDirectory": null,
60
+ "typeNameGeneratorType": null,
61
+ "propertyNameGeneratorType": null,
62
+ "enumNameGeneratorType": null,
63
+ "serviceHost": null,
64
+ "serviceSchemes": null,
46
65
"output": "../src/shared/service-proxies/service-proxies.ts"
47
66
},
48
- "swaggerToCSharpClient": {
67
+ "openApiToCSharpClient": {
68
+ "clientBaseClass": null,
69
+ "configurationClass": null,
49
70
"generateClientClasses": true,
50
71
"generateClientInterfaces": false,
51
- "generateDtoTypes": true,
52
72
"injectHttpClient": false,
53
73
"disposeHttpClient": true,
74
+ "protectedMethods": [],
54
75
"generateExceptionClasses": true,
55
76
"exceptionClass": "SwaggerException",
56
77
"wrapDtoExceptions": true,
64
85
"clientClassAccessModifier": "public",
65
86
"typeAccessModifier": "public",
66
87
"generateContractsOutput": false,
88
+ "contractsNamespace": null,
89
+ "contractsOutputFilePath": null,
67
90
"parameterDateTimeFormat": "s",
68
91
"generateUpdateJsonSerializerSettingsMethod": true,
69
92
"serializeTypeInformation": false,
70
93
"queryNullValue": "",
71
94
"className": "{controller}Client",
72
95
"operationGenerationMode": "MultipleClientsFromOperationId",
96
+ "additionalNamespaceUsages": [],
97
+ "additionalContractNamespaceUsages": [],
73
98
"generateOptionalParameters": false,
74
99
"generateJsonMethods": true,
100
+ "enforceFlagEnums": false,
75
101
"parameterArrayType": "System.Collections.Generic.IEnumerable",
76
102
"parameterDictionaryType": "System.Collections.Generic.IDictionary",
77
103
"responseArrayType": "System.Collections.ObjectModel.ObservableCollection",
78
104
"responseDictionaryType": "System.Collections.Generic.Dictionary",
79
105
"wrapResponses": false,
106
+ "wrapResponseMethods": [],
80
107
"generateResponseClasses": true,
81
108
"responseClass": "SwaggerResponse",
82
109
"namespace": "MyNamespace",
83
110
"requiredPropertiesMustBeDefined": true,
84
111
"dateType": "System.DateTime",
112
+ "jsonConverters": null,
113
+ "anyType": "object",
85
114
"dateTimeType": "System.DateTime",
86
115
"timeType": "System.TimeSpan",
87
116
"timeSpanType": "System.TimeSpan",
88
117
"arrayType": "System.Collections.ObjectModel.ObservableCollection",
118
+ "arrayInstanceType": "System.Collections.ObjectModel.Collection",
89
119
"dictionaryType": "System.Collections.Generic.Dictionary",
120
+ "dictionaryInstanceType": "System.Collections.Generic.Dictionary",
90
121
"arrayBaseType": "System.Collections.ObjectModel.ObservableCollection",
91
122
"dictionaryBaseType": "System.Collections.Generic.Dictionary",
92
123
"classStyle": "Inpc",
93
124
"generateDefaultValues": true,
94
125
"generateDataAnnotations": true,
95
126
"excludedTypeNames": [],
127
+ "excludedParameterNames": [],
96
128
"handleReferences": false,
97
129
"generateImmutableArrayProperties": false,
98
130
"generateImmutableDictionaryProperties": false,
131
+ "jsonSerializerSettingsTransformationMethod": null,
132
+ "inlineNamedArrays": false,
133
+ "inlineNamedDictionaries": false,
134
+ "inlineNamedTuples": true,
135
+ "inlineNamedAny": false,
136
+ "generateDtoTypes": true,
137
+ "generateOptionalPropertiesAsNullable": false,
138
+ "templateDirectory": null,
139
+ "typeNameGeneratorType": null,
140
+ "propertyNameGeneratorType": null,
141
+ "enumNameGeneratorType": null,
142
+ "serviceHost": null,
143
+ "serviceSchemes": null,
99
144
"output": null
100
145
},
101
- "swaggerToCSharpController": {
146
+ "openApiToCSharpController": {
147
+ "controllerBaseClass": null,
102
148
"controllerStyle": "Partial",
149
+ "controllerTarget": "AspNet",
103
150
"useCancellationToken": false,
104
- "aspNetNamespace": "System.Web.Http",
151
+ "useActionResultType": false,
152
+ "generateModelValidationAttributes": false,
153
+ "routeNamingStrategy": "None",
105
154
"className": "{controller}",
106
155
"operationGenerationMode": "MultipleClientsFromOperationId",
107
156
"additionalNamespaceUsages": [
108
157
"System.Web.Http"
109
158
],
159
+ "additionalContractNamespaceUsages": [],
110
160
"generateOptionalParameters": false,
111
161
"generateJsonMethods": true,
162
+ "enforceFlagEnums": false,
112
163
"parameterArrayType": "System.Collections.Generic.IEnumerable",
113
164
"parameterDictionaryType": "System.Collections.Generic.IDictionary",
114
165
"responseArrayType": "System.Collections.ObjectModel.ObservableCollection",
115
166
"responseDictionaryType": "System.Collections.Generic.Dictionary",
116
167
"wrapResponses": false,
168
+ "wrapResponseMethods": [],
117
169
"generateResponseClasses": true,
118
170
"responseClass": "SwaggerResponse",
119
171
"namespace": "MyNamespace",
120
172
"requiredPropertiesMustBeDefined": true,
121
173
"dateType": "System.DateTime",
174
+ "jsonConverters": null,
175
+ "anyType": "object",
122
176
"dateTimeType": "System.DateTime",
123
177
"timeType": "System.TimeSpan",
124
178
"timeSpanType": "System.TimeSpan",
125
179
"arrayType": "System.Collections.Generic.IEnumerable",
180
+ "arrayInstanceType": "System.Collections.ObjectModel.Collection",
126
181
"dictionaryType": "System.Collections.Generic.Dictionary",
182
+ "dictionaryInstanceType": "System.Collections.Generic.Dictionary",
127
183
"arrayBaseType": "System.Collections.ObjectModel.ObservableCollection",
128
184
"dictionaryBaseType": "System.Collections.Generic.Dictionary",
129
185
"classStyle": "Inpc",
130
186
"generateDefaultValues": true,
131
187
"generateDataAnnotations": true,
132
188
"excludedTypeNames": [],
189
+ "excludedParameterNames": [],
133
190
"handleReferences": false,
134
191
"generateImmutableArrayProperties": false,
135
192
"generateImmutableDictionaryProperties": false,
193
+ "jsonSerializerSettingsTransformationMethod": null,
194
+ "inlineNamedArrays": false,
195
+ "inlineNamedDictionaries": false,
196
+ "inlineNamedTuples": true,
197
+ "inlineNamedAny": false,
198
+ "generateDtoTypes": true,
199
+ "generateOptionalPropertiesAsNullable": false,
200
+ "templateDirectory": null,
201
+ "typeNameGeneratorType": null,
202
+ "propertyNameGeneratorType": null,
203
+ "enumNameGeneratorType": null,
204
+ "serviceHost": null,
205
+ "serviceSchemes": null,
136
206
"output": null
137
207
}
138
208
}
139
- }
209
+ }
0 commit comments