Skip to content

Commit a8eb3cb

Browse files
Stefan SchubertStefan Schubert
authored andcommitted
move namespace below class declaration
1 parent 6716039 commit a8eb3cb

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

src/mustache/api.service.mustache

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,6 @@ import { {{classname}}Interface } from './{{classFile
4343
{{/withInterfaces}}
4444

4545
{{#operations}}
46-
47-
export namespace {{classname}} {
48-
export enum Operations {
49-
{{#operation}}
50-
{{operationIdOriginal}} = '{{operationIdOriginal}}'{{^-last}},{{/-last}}
51-
{{/operation}}
52-
}
53-
}
54-
5546
{{>apiPartialMap}}
5647

5748
{{#description}}
@@ -427,4 +418,12 @@ export class {{classname}} {
427418
}
428419

429420
{{/operation}}}
421+
422+
export namespace {{classname}} {
423+
export enum Operations {
424+
{{#operation}}
425+
{{operationIdOriginal}} = '{{operationIdOriginal}}'{{^-last}},{{/-last}}
426+
{{/operation}}
427+
}
428+
}
430429
{{/operations}}

0 commit comments

Comments
 (0)