mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-03 00:43:46 +00:00
Merge remote-tracking branch 'origin/master' into 5.1.x
This commit is contained in:
@@ -26,13 +26,11 @@ import io.swagger.annotations.ApiModelProperty
|
||||
*/
|
||||
data class Pet(
|
||||
|
||||
@get:NotNull
|
||||
@ApiModelProperty(example = "doggie", required = true, value = "")
|
||||
@field:JsonProperty("name") val name: kotlin.String,
|
||||
@field:JsonProperty("name", required = true) val name: kotlin.String,
|
||||
|
||||
@get:NotNull
|
||||
@ApiModelProperty(example = "null", required = true, value = "")
|
||||
@field:JsonProperty("photoUrls") val photoUrls: kotlin.collections.List<kotlin.String>,
|
||||
@field:JsonProperty("photoUrls", required = true) val photoUrls: kotlin.collections.List<kotlin.String>,
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@field:JsonProperty("id") val id: kotlin.Long? = null,
|
||||
|
||||
Reference in New Issue
Block a user