mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-05 08:16:13 +00:00
[Kotlin-Spring] Fix properties default value (#8373)
* [Kotlin-Spring] Fix properties default value * Fix kotlin enum default * Update go sample
This commit is contained in:
committed by
GitHub
parent
c96764f563
commit
06ad7a51ef
@@ -40,7 +40,7 @@ data class Order(
|
||||
@field:JsonProperty("status") val status: Order.Status? = null,
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@field:JsonProperty("complete") val complete: kotlin.Boolean? = null
|
||||
@field:JsonProperty("complete") val complete: kotlin.Boolean? = false
|
||||
) {
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user