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

@@ -24,7 +24,7 @@ data class Category(
@get:Pattern(regexp="^[a-zA-Z0-9]+[a-zA-Z0-9\\.\\-_]*[a-zA-Z0-9]+$")
@get:JsonProperty("name") val name: kotlin.String? = null
) : Serializable{
) : Serializable{
companion object {
private const val serialVersionUID: kotlin.Long = 1

View File

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

View File

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

View File

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

View File

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

View File

@@ -41,7 +41,7 @@ data class User(
@get:JsonProperty("phone") val phone: kotlin.String? = null,
@get:JsonProperty("userStatus") val userStatus: kotlin.Int? = null
) : Serializable{
) : Serializable{
companion object {
private const val serialVersionUID: kotlin.Long = 1