File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
modules/swagger-codegen/src/main/resources/csharp Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,16 @@ using {{modelPackage}};
9
9
10
10
namespace { {package} } {
11
11
{{#operations} }
12
- public class { {classname} } {
12
+
13
+ public interface I{ {classname} } {
14
+ {{#operation} }
15
+ { {#returnType} }{ {{returnType} }}{ {/returnType} }{ {^returnType} }void{ {/returnType} } { {nickname} } ({ {#allParams} }{ {{dataType} }} { {paramName} }{ {#hasMore} }, { {/hasMore} }{ {/allParams} });
16
+
17
+ { {#returnType} }Task<{ {{returnType} }}>{ {/returnType} }{ {^returnType} }Task{ {/returnType} } { {nickname} }Async ({ {#allParams} }{ {{dataType} }} { {paramName} }{ {#hasMore} }, { {/hasMore} }{ {/allParams} });
18
+ { {/operation} }
19
+ }
20
+
21
+ public class { {classname} } : I{ {classname} } {
13
22
string basePath;
14
23
protected RestClient restClient;
15
24
You can’t perform that action at this time.
0 commit comments