Skip to content

Commit 57fb959

Browse files
committed
Remove UUID template logic
1 parent 01b706e commit 57fb959

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/resources/handlebars/typescript-fetch/api_test.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ describe("{{classname}}", () => {
1414
{{#operation}}
1515
test("{{operationId}}", () => {
1616
{{#allParams}}
17-
const {{{paramName}}}: {{^isPrimitiveType}}api.{{/isPrimitiveType}}{{{dataType}}} = {{#example}}{{#isString}}"{{{example}}}"{{/isString}}{{#isUuid}}"{{{example}}}"{{/isUuid}}{{^isUuid}}{{^isString}}{{{example}}}{{/isString}}{{/isUuid}}{{/example}}{{^example}}undefined{{/example}}
17+
const {{{paramName}}}: {{^isPrimitiveType}}api.{{/isPrimitiveType}}{{{dataType}}} = {{#example}}{{#isString}}"{{{example}}}"{{/isString}}{{^isString}}{{{example}}}{{/isString}}{{/example}}{{^example}}undefined{{/example}}
1818
{{/allParams}}
1919
expect(instance.{{operationId}}({{#allParams}}{{{paramName}}}, {{/allParams}}{})).toBe(null)
2020
})

0 commit comments

Comments
 (0)