Skip to content

Commit

Permalink
Merge pull request #26 from Ali-YousefiTelori/develop
Browse files Browse the repository at this point in the history
Add Support for CoreSwaggerClientBase
  • Loading branch information
Ali-YousefiTelori authored Nov 25, 2023
2 parents 13276c3 + 5bd619d commit 74ae17c
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 74ae17c

Please sign in to comment.