Skip to content

Commit

Permalink
[csharp] Improved apiclient.mustache (#18915)
Browse files Browse the repository at this point in the history
* improved apiclient.mustache to keep it dry, sharing a single exec with Action<> delegate.

* updated samples and test

* Removed async from ApiClient.mustache

Updated samples

* Revert change to CSharpClientDeepObjectTest.java

* Fix async await (it was not waiting creating a null exception)

Updated samples

* Fix File IO namespace with using directive

* Improved comments on new methods

Added new DRY method DeserializeRestResponseFromPolicy

* Fix comments and parameters for new method DeserializeRestResponseFromPolicy

Updated samples
  • Loading branch information
filipe-silva committed Jun 15, 2024
1 parent 01fec76 commit 8bac93e
Show file tree
Hide file tree
Showing 12 changed files with 1,207 additions and 1,478 deletions.
241 changes: 106 additions & 135 deletions modules/openapi-generator/src/main/resources/csharp/ApiClient.mustache

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

0 comments on commit 8bac93e

Please sign in to comment.