Skip to content

Commit

Permalink
Add Support for CoreSwaggerClientBase
Browse files Browse the repository at this point in the history
  • Loading branch information
Ali-YousefiTelori committed Nov 25, 2023
1 parent 13276c3 commit 5bd619d
Show file tree
Hide file tree
Showing 13 changed files with 1,608 additions and 222 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"GenerateTypeScriptClient": false,
"GenerateCSharpController": false,
"OpenApiToCSharpClientCommand": {
"ClientBaseClass": null,
"ClientBaseClass": "EasyMicroservices.Cores.Clients.CoreSwaggerClientBase",
"ConfigurationClass": null,
"GenerateClientClasses": true,
"GenerateClientInterfaces": false,
Expand All @@ -27,7 +27,7 @@
"WrapDtoExceptions": true,
"UseHttpClientCreationMethod": false,
"HttpClientType": "System.Net.Http.HttpClient",
"UseHttpRequestMessageCreationMethod": false,
"UseHttpRequestMessageCreationMethod": true,
"UseBaseUrl": true,
"GenerateBaseUrlProperty": true,
"GenerateSyncMethods": false,
Expand Down Expand Up @@ -82,7 +82,7 @@
"HandleReferences": false,
"GenerateImmutableArrayProperties": false,
"GenerateImmutableDictionaryProperties": false,
"JsonSerializerSettingsTransformationMethod": "new EasyMicroservices.AuthenticationsMicroservice.Clients.MyJsonSerializerSettings",
"JsonSerializerSettingsTransformationMethod": "new EasyMicroservices.Cores.Clients.CoreSerializerSettings",
"InlineNamedArrays": false,
"InlineNamedDictionaries": false,
"InlineNamedTuples": true,
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"codeGenerators": {
"openApiToCSharpClient": {
"clientBaseClass": null,
"clientBaseClass": "EasyMicroservices.Cores.Clients.CoreSwaggerClientBase",
"configurationClass": null,
"generateClientClasses": true,
"generateClientInterfaces": false,
Expand All @@ -23,7 +23,7 @@
"wrapDtoExceptions": true,
"useHttpClientCreationMethod": false,
"httpClientType": "System.Net.Http.HttpClient",
"useHttpRequestMessageCreationMethod": false,
"useHttpRequestMessageCreationMethod": true,
"useBaseUrl": true,
"generateBaseUrlProperty": true,
"generateSyncMethods": false,
Expand Down Expand Up @@ -78,7 +78,7 @@
"handleReferences": false,
"generateImmutableArrayProperties": false,
"generateImmutableDictionaryProperties": false,
"jsonSerializerSettingsTransformationMethod": "new EasyMicroservices.AuthenticationsMicroservice.Clients.MyJsonSerializerSettings",
"jsonSerializerSettingsTransformationMethod": "new EasyMicroservices.Cores.Clients.CoreSerializerSettings",
"inlineNamedArrays": false,
"inlineNamedDictionaries": false,
"inlineNamedTuples": true,
Expand Down
Loading

0 comments on commit 5bd619d

Please sign in to comment.