1- {
1+ {
22 "runtime": "Default",
3- "swaggerGenerator": {
4- "fromSwagger": {
3+ "defaultVariables": null,
4+ "documentGenerator": {
5+ "fromDocument": {
56 "url": "http://localhost:21021/swagger/v1/swagger.json",
67 "output": null
78 }
89 },
910 "codeGenerators": {
10- "swaggerToTypeScriptClient ": {
11+ "openApiToTypeScriptClient ": {
1112 "className": "{controller}ServiceProxy",
1213 "moduleName": "",
1314 "namespace": "",
2324 "generateClientClasses": true,
2425 "generateClientInterfaces": false,
2526 "generateOptionalParameters": false,
27+ "exportTypes": true,
2628 "wrapDtoExceptions": false,
29+ "exceptionClass": "ApiException",
30+ "clientBaseClass": null,
2731 "wrapResponses": false,
32+ "wrapResponseMethods": [],
2833 "generateResponseClasses": true,
2934 "responseClass": "SwaggerResponse",
35+ "protectedMethods": [],
36+ "configurationClass": null,
3037 "useTransformOptionsMethod": false,
3138 "useTransformResultMethod": false,
3239 "generateDtoTypes": true,
3340 "operationGenerationMode": "MultipleClientsFromPathSegments",
3441 "markOptionalProperties": false,
3542 "generateCloneMethod": true,
3643 "typeStyle": "Class",
44+ "classTypes": [],
45+ "extendedClasses": [],
46+ "extensionCode": null,
3747 "generateDefaultValues": true,
3848 "excludedTypeNames": [],
49+ "excludedParameterNames": [],
3950 "handleReferences": false,
4051 "generateConstructorInterface": true,
4152 "convertConstructorInterfaceData": false,
4253 "importRequiredTypes": true,
4354 "useGetBaseUrlMethod": false,
4455 "baseUrlTokenName": "API_BASE_URL",
4556 "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,
4665 "output": "../src/shared/service-proxies/service-proxies.ts"
4766 },
48- "swaggerToCSharpClient": {
67+ "openApiToCSharpClient": {
68+ "clientBaseClass": null,
69+ "configurationClass": null,
4970 "generateClientClasses": true,
5071 "generateClientInterfaces": false,
51- "generateDtoTypes": true,
5272 "injectHttpClient": false,
5373 "disposeHttpClient": true,
74+ "protectedMethods": [],
5475 "generateExceptionClasses": true,
5576 "exceptionClass": "SwaggerException",
5677 "wrapDtoExceptions": true,
6485 "clientClassAccessModifier": "public",
6586 "typeAccessModifier": "public",
6687 "generateContractsOutput": false,
88+ "contractsNamespace": null,
89+ "contractsOutputFilePath": null,
6790 "parameterDateTimeFormat": "s",
6891 "generateUpdateJsonSerializerSettingsMethod": true,
6992 "serializeTypeInformation": false,
7093 "queryNullValue": "",
7194 "className": "{controller}Client",
7295 "operationGenerationMode": "MultipleClientsFromOperationId",
96+ "additionalNamespaceUsages": [],
97+ "additionalContractNamespaceUsages": [],
7398 "generateOptionalParameters": false,
7499 "generateJsonMethods": true,
100+ "enforceFlagEnums": false,
75101 "parameterArrayType": "System.Collections.Generic.IEnumerable",
76102 "parameterDictionaryType": "System.Collections.Generic.IDictionary",
77103 "responseArrayType": "System.Collections.ObjectModel.ObservableCollection",
78104 "responseDictionaryType": "System.Collections.Generic.Dictionary",
79105 "wrapResponses": false,
106+ "wrapResponseMethods": [],
80107 "generateResponseClasses": true,
81108 "responseClass": "SwaggerResponse",
82109 "namespace": "MyNamespace",
83110 "requiredPropertiesMustBeDefined": true,
84111 "dateType": "System.DateTime",
112+ "jsonConverters": null,
113+ "anyType": "object",
85114 "dateTimeType": "System.DateTime",
86115 "timeType": "System.TimeSpan",
87116 "timeSpanType": "System.TimeSpan",
88117 "arrayType": "System.Collections.ObjectModel.ObservableCollection",
118+ "arrayInstanceType": "System.Collections.ObjectModel.Collection",
89119 "dictionaryType": "System.Collections.Generic.Dictionary",
120+ "dictionaryInstanceType": "System.Collections.Generic.Dictionary",
90121 "arrayBaseType": "System.Collections.ObjectModel.ObservableCollection",
91122 "dictionaryBaseType": "System.Collections.Generic.Dictionary",
92123 "classStyle": "Inpc",
93124 "generateDefaultValues": true,
94125 "generateDataAnnotations": true,
95126 "excludedTypeNames": [],
127+ "excludedParameterNames": [],
96128 "handleReferences": false,
97129 "generateImmutableArrayProperties": false,
98130 "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,
99144 "output": null
100145 },
101- "swaggerToCSharpController": {
146+ "openApiToCSharpController": {
147+ "controllerBaseClass": null,
102148 "controllerStyle": "Partial",
149+ "controllerTarget": "AspNet",
103150 "useCancellationToken": false,
104- "aspNetNamespace": "System.Web.Http",
151+ "useActionResultType": false,
152+ "generateModelValidationAttributes": false,
153+ "routeNamingStrategy": "None",
105154 "className": "{controller}",
106155 "operationGenerationMode": "MultipleClientsFromOperationId",
107156 "additionalNamespaceUsages": [
108157 "System.Web.Http"
109158 ],
159+ "additionalContractNamespaceUsages": [],
110160 "generateOptionalParameters": false,
111161 "generateJsonMethods": true,
162+ "enforceFlagEnums": false,
112163 "parameterArrayType": "System.Collections.Generic.IEnumerable",
113164 "parameterDictionaryType": "System.Collections.Generic.IDictionary",
114165 "responseArrayType": "System.Collections.ObjectModel.ObservableCollection",
115166 "responseDictionaryType": "System.Collections.Generic.Dictionary",
116167 "wrapResponses": false,
168+ "wrapResponseMethods": [],
117169 "generateResponseClasses": true,
118170 "responseClass": "SwaggerResponse",
119171 "namespace": "MyNamespace",
120172 "requiredPropertiesMustBeDefined": true,
121173 "dateType": "System.DateTime",
174+ "jsonConverters": null,
175+ "anyType": "object",
122176 "dateTimeType": "System.DateTime",
123177 "timeType": "System.TimeSpan",
124178 "timeSpanType": "System.TimeSpan",
125179 "arrayType": "System.Collections.Generic.IEnumerable",
180+ "arrayInstanceType": "System.Collections.ObjectModel.Collection",
126181 "dictionaryType": "System.Collections.Generic.Dictionary",
182+ "dictionaryInstanceType": "System.Collections.Generic.Dictionary",
127183 "arrayBaseType": "System.Collections.ObjectModel.ObservableCollection",
128184 "dictionaryBaseType": "System.Collections.Generic.Dictionary",
129185 "classStyle": "Inpc",
130186 "generateDefaultValues": true,
131187 "generateDataAnnotations": true,
132188 "excludedTypeNames": [],
189+ "excludedParameterNames": [],
133190 "handleReferences": false,
134191 "generateImmutableArrayProperties": false,
135192 "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,
136206 "output": null
137207 }
138208 }
139- }
209+ }
0 commit comments