Skip to content

Commit 78c8653

Browse files
committed
move custom templates into own directory
1 parent 211ee0e commit 78c8653

3 files changed

Lines changed: 2 additions & 2 deletions

File tree

openapi-generator-config-go.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
templateDir: templates/go
22
files:
3-
model_test.mustache:
3+
custom/model_test.mustache:
44
templateType: ModelTests
55
destinationFilename: .go
File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111

1212
{{#model}}
1313
{{^isEnum}}
14-
{{#oneOf}}{{#-first}}{{/-first}}{{/oneOf}}{{^oneOf}}{{#anyOf}}{{#-first}}{{/-first}}{{/anyOf}}{{^anyOf}}{{>model_simple_test}}{{/anyOf}}{{/oneOf}}
14+
{{#oneOf}}{{#-first}}{{/-first}}{{/oneOf}}{{^oneOf}}{{#anyOf}}{{#-first}}{{/-first}}{{/anyOf}}{{^anyOf}}{{>custom/model_simple_test}}{{/anyOf}}{{/oneOf}}
1515
{{/isEnum}}
1616
{{/model}}
1717
{{/models}}

0 commit comments

Comments
 (0)