fix: Template contains unconditional ": Serializable" which creates wrong derive clause on data classes which have a parent as well as are serializable. (#19283)

This commit is contained in:
Dieter Eickstaedt
2024-08-01 15:18:46 +02:00
committed by GitHub
parent 7f551bb9a0
commit 484b87f22a
92 changed files with 92 additions and 92 deletions

View File

@@ -26,7 +26,7 @@ data class Category(
@Schema(example = "null", description = "")
@get:JsonProperty("name") val name: kotlin.String? = null
) : Serializable{
) : Serializable{
companion object {
private const val serialVersionUID: kotlin.Long = 1

View File

@@ -30,7 +30,7 @@ data class ModelApiResponse(
@Schema(example = "null", description = "")
@get:JsonProperty("message") val message: kotlin.String? = null
) : Serializable{
) : Serializable{
companion object {
private const val serialVersionUID: kotlin.Long = 1

View File

@@ -44,7 +44,7 @@ data class Order(
@Schema(example = "null", description = "")
@get:JsonProperty("complete") val complete: kotlin.Boolean? = false
) : Serializable{
) : Serializable{
/**
* Order Status

View File

@@ -48,7 +48,7 @@ data class Pet(
@Schema(example = "null", description = "pet status in the store")
@get:JsonProperty("status") val status: Pet.Status? = null
) : Serializable{
) : Serializable{
/**
* pet status in the store

View File

@@ -26,7 +26,7 @@ data class Tag(
@Schema(example = "null", description = "")
@get:JsonProperty("name") val name: kotlin.String? = null
) : Serializable{
) : Serializable{
companion object {
private const val serialVersionUID: kotlin.Long = 1

View File

@@ -50,7 +50,7 @@ data class User(
@Schema(example = "null", description = "User Status")
@get:JsonProperty("userStatus") val userStatus: kotlin.Int? = null
) : Serializable{
) : Serializable{
companion object {
private const val serialVersionUID: kotlin.Long = 1