forked from loafle/openapi-generator-original
[Kotlin][Spring] Fix required parameter in tests (#10705)
Should fix #10704
This commit is contained in:
parent
b117d29729
commit
68abbb34b1
@ -27,7 +27,7 @@ class {{classname}}Test {
|
||||
@Test
|
||||
fun {{operationId}}Test() {{#reactive}}= runBlockingTest {{/reactive}}{
|
||||
{{#allParams}}
|
||||
val {{paramName}}:{{{dataType}}}? = null
|
||||
val {{paramName}}:{{>optionalDataType}} = TODO()
|
||||
{{/allParams}}
|
||||
val response: ResponseEntity<{{>returnTypes}}> = api.{{operationId}}({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}})
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user