Commit 80ecb27
committed
Fix for problems when a nullable parameter has a default value
When a default value is present the parameter is moved to non-nullable. This works because we could replace the null with a default value. This will actually set the default value.1 parent 701b6bd commit 80ecb27
4 files changed
Lines changed: 4 additions & 4 deletions
File tree
- modules/openapi-generator/src/main/resources/kotlin-server/libraries
- javalin5
- javalin6
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
modules/openapi-generator/src/main/resources/kotlin-server/libraries/javalin5/queryParams.mustache
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
modules/openapi-generator/src/main/resources/kotlin-server/libraries/javalin6/queryParams.mustache
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
0 commit comments