File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change 6
6
7
7
airflow
8
8
customer
9
- vpn
10
9
privateendpoint
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ func Test_{{packageName}}_{{classname}}Service(t *testing.T) {
30
30
_apiUrlPath := " {{{path}}}" {{#pathParams} }
31
31
{ {^minLength} }
32
32
{ {^maxLength} }
33
- { {paramName} }Value := { {#isAnyType} }"unspecified type"{ {/isAnyType} }{ {#isString} }{ {#isUuid} }uuid.NewString(){ {/isUuid} }{ {^isUuid} }"{ {paramName} }-value"{ {/isUuid} }{ {/isString} }{ {#isNumber} }123{ {/isNumber} }{ {#isFloat} }float32(123){ {/isFloat} }{ {#isDouble} }float64(123){ {/isDouble} }{ {#isInteger} }int32(123){ {/isInteger} }{ {#isLong} }int64(123){ {/isLong} }{ {^isString} }{ {^isInteger} }{ {defaultValue} }{ {/isInteger} }{ {/isString} }
33
+ { {paramName} }Value := { {#isEnumRef } } { {^isString } } { {dataType } }( { {{defaultValue } }}) { {/isString } } { {/isEnumRef } } { {# isAnyType} }"unspecified type"{ {/isAnyType} }{ {#isString} }{ {#isUuid} }uuid.NewString(){ {/isUuid} }{ {^isUuid} }"{ {paramName} }-value"{ {/isUuid} }{ {/isString} }{ {#isNumber} }123{ {/isNumber} }{ {#isFloat} }float32(123){ {/isFloat} }{ {#isDouble} }float64(123){ {/isDouble} }{ {#isInteger} }int32(123){ {/isInteger} }{ {#isLong} }int64(123){ {/isLong} }{ {^isString} }{ {^isInteger} }{ {^isEnumRef } } { {{ defaultValue} }} { {/isEnumRef } }{ {/isInteger} }{ {/isString} }
34
34
{ {/maxLength} }
35
35
{ {/minLength} }
36
36
{ {#minLength} }
You can’t perform that action at this time.
0 commit comments