fix #11353 use @get:JsonProperty instead of @field:JsonProperty (#19186)

This commit is contained in:
Peter Storch 2024-07-17 13:06:32 +02:00 committed by GitHub
parent 045f4b6067
commit 2f5529a184
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
72 changed files with 297 additions and 297 deletions

View File

@ -9,7 +9,7 @@
@SerializedName("{{{vendorExtensions.x-base-name-literal}}}") @SerializedName("{{{vendorExtensions.x-base-name-literal}}}")
{{/gson}} {{/gson}}
{{#jackson}} {{#jackson}}
@field:JsonProperty("{{{vendorExtensions.x-base-name-literal}}}") @get:JsonProperty("{{{vendorExtensions.x-base-name-literal}}}")
{{/jackson}} {{/jackson}}
{{#kotlinx_serialization}} {{#kotlinx_serialization}}
{{^isEnum}}{{^isArray}}{{^isPrimitiveType}}{{^isModel}}@Contextual {{/isModel}}{{/isPrimitiveType}}{{/isArray}}{{/isEnum}}@SerialName(value = "{{{vendorExtensions.x-base-name-literal}}}") {{^isEnum}}{{^isArray}}{{^isPrimitiveType}}{{^isModel}}@Contextual {{/isModel}}{{/isPrimitiveType}}{{/isArray}}{{/isEnum}}@SerialName(value = "{{{vendorExtensions.x-base-name-literal}}}")

View File

@ -9,7 +9,7 @@
@SerializedName("{{{vendorExtensions.x-base-name-literal}}}") @SerializedName("{{{vendorExtensions.x-base-name-literal}}}")
{{/gson}} {{/gson}}
{{#jackson}} {{#jackson}}
@field:JsonProperty("{{{vendorExtensions.x-base-name-literal}}}") @get:JsonProperty("{{{vendorExtensions.x-base-name-literal}}}")
{{/jackson}} {{/jackson}}
{{#kotlinx_serialization}} {{#kotlinx_serialization}}
{{^isEnum}}{{^isArray}}{{^isPrimitiveType}}{{^isModel}}@Contextual {{/isModel}}{{/isPrimitiveType}}{{/isArray}}{{/isEnum}}@SerialName(value = "{{{vendorExtensions.x-base-name-literal}}}") {{^isEnum}}{{^isArray}}{{^isPrimitiveType}}{{^isModel}}@Contextual {{/isModel}}{{/isPrimitiveType}}{{/isArray}}{{/isEnum}}@SerialName(value = "{{{vendorExtensions.x-base-name-literal}}}")

View File

@ -29,10 +29,10 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class Bird ( data class Bird (
@field:JsonProperty("size") @get:JsonProperty("size")
val propertySize: kotlin.String? = null, val propertySize: kotlin.String? = null,
@field:JsonProperty("color") @get:JsonProperty("color")
val color: kotlin.String? = null val color: kotlin.String? = null
) { ) {

View File

@ -29,10 +29,10 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class Category ( data class Category (
@field:JsonProperty("id") @get:JsonProperty("id")
val id: kotlin.Long? = null, val id: kotlin.Long? = null,
@field:JsonProperty("name") @get:JsonProperty("name")
val name: kotlin.String? = null val name: kotlin.String? = null
) { ) {

View File

@ -36,28 +36,28 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class DefaultValue ( data class DefaultValue (
@field:JsonProperty("array_string_enum_ref_default") @get:JsonProperty("array_string_enum_ref_default")
val arrayStringEnumRefDefault: kotlin.collections.List<StringEnumRef>? = null, val arrayStringEnumRefDefault: kotlin.collections.List<StringEnumRef>? = null,
@field:JsonProperty("array_string_enum_default") @get:JsonProperty("array_string_enum_default")
val arrayStringEnumDefault: kotlin.collections.List<DefaultValue.ArrayStringEnumDefault>? = null, val arrayStringEnumDefault: kotlin.collections.List<DefaultValue.ArrayStringEnumDefault>? = null,
@field:JsonProperty("array_string_default") @get:JsonProperty("array_string_default")
val arrayStringDefault: kotlin.collections.List<kotlin.String>? = arrayListOf("failure","skipped"), val arrayStringDefault: kotlin.collections.List<kotlin.String>? = arrayListOf("failure","skipped"),
@field:JsonProperty("array_integer_default") @get:JsonProperty("array_integer_default")
val arrayIntegerDefault: kotlin.collections.List<kotlin.Int>? = arrayListOf(1,3), val arrayIntegerDefault: kotlin.collections.List<kotlin.Int>? = arrayListOf(1,3),
@field:JsonProperty("array_string") @get:JsonProperty("array_string")
val arrayString: kotlin.collections.List<kotlin.String>? = null, val arrayString: kotlin.collections.List<kotlin.String>? = null,
@field:JsonProperty("array_string_nullable") @get:JsonProperty("array_string_nullable")
val arrayStringNullable: kotlin.collections.List<kotlin.String>? = null, val arrayStringNullable: kotlin.collections.List<kotlin.String>? = null,
@field:JsonProperty("array_string_extension_nullable") @get:JsonProperty("array_string_extension_nullable")
val arrayStringExtensionNullable: kotlin.collections.List<kotlin.String>? = null, val arrayStringExtensionNullable: kotlin.collections.List<kotlin.String>? = null,
@field:JsonProperty("string_nullable") @get:JsonProperty("string_nullable")
val stringNullable: kotlin.String? = null val stringNullable: kotlin.String? = null
) { ) {

View File

@ -30,13 +30,13 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class NumberPropertiesOnly ( data class NumberPropertiesOnly (
@field:JsonProperty("number") @get:JsonProperty("number")
val number: java.math.BigDecimal? = null, val number: java.math.BigDecimal? = null,
@field:JsonProperty("float") @get:JsonProperty("float")
val float: kotlin.Float? = null, val float: kotlin.Float? = null,
@field:JsonProperty("double") @get:JsonProperty("double")
val double: kotlin.Double? = null val double: kotlin.Double? = null
) { ) {

View File

@ -35,23 +35,23 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class Pet ( data class Pet (
@field:JsonProperty("name") @get:JsonProperty("name")
val name: kotlin.String, val name: kotlin.String,
@field:JsonProperty("photoUrls") @get:JsonProperty("photoUrls")
val photoUrls: kotlin.collections.List<kotlin.String>, val photoUrls: kotlin.collections.List<kotlin.String>,
@field:JsonProperty("id") @get:JsonProperty("id")
val id: kotlin.Long? = null, val id: kotlin.Long? = null,
@field:JsonProperty("category") @get:JsonProperty("category")
val category: Category? = null, val category: Category? = null,
@field:JsonProperty("tags") @get:JsonProperty("tags")
val tags: kotlin.collections.List<Tag>? = null, val tags: kotlin.collections.List<Tag>? = null,
/* pet status in the store */ /* pet status in the store */
@field:JsonProperty("status") @get:JsonProperty("status")
val status: Pet.Status? = null val status: Pet.Status? = null
) { ) {

View File

@ -30,10 +30,10 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class Query ( data class Query (
/* Query */ /* Query */
@field:JsonProperty("id") @get:JsonProperty("id")
val id: kotlin.Long? = null, val id: kotlin.Long? = null,
@field:JsonProperty("outcomes") @get:JsonProperty("outcomes")
val outcomes: kotlin.collections.List<Query.Outcomes>? = null val outcomes: kotlin.collections.List<Query.Outcomes>? = null
) { ) {

View File

@ -29,10 +29,10 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class Tag ( data class Tag (
@field:JsonProperty("id") @get:JsonProperty("id")
val id: kotlin.Long? = null, val id: kotlin.Long? = null,
@field:JsonProperty("name") @get:JsonProperty("name")
val name: kotlin.String? = null val name: kotlin.String? = null
) { ) {

View File

@ -28,7 +28,7 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter ( data class TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter (
@field:JsonProperty("values") @get:JsonProperty("values")
val propertyValues: kotlin.collections.List<kotlin.String>? = null val propertyValues: kotlin.collections.List<kotlin.String>? = null
) { ) {

View File

@ -29,10 +29,10 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class Bird ( data class Bird (
@field:JsonProperty("size") @get:JsonProperty("size")
val propertySize: kotlin.String? = null, val propertySize: kotlin.String? = null,
@field:JsonProperty("color") @get:JsonProperty("color")
val color: kotlin.String? = null val color: kotlin.String? = null
) { ) {

View File

@ -29,10 +29,10 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class Category ( data class Category (
@field:JsonProperty("id") @get:JsonProperty("id")
val id: kotlin.Long? = null, val id: kotlin.Long? = null,
@field:JsonProperty("name") @get:JsonProperty("name")
val name: kotlin.String? = null val name: kotlin.String? = null
) { ) {

View File

@ -36,28 +36,28 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class DefaultValue ( data class DefaultValue (
@field:JsonProperty("array_string_enum_ref_default") @get:JsonProperty("array_string_enum_ref_default")
val arrayStringEnumRefDefault: kotlin.collections.List<StringEnumRef>? = null, val arrayStringEnumRefDefault: kotlin.collections.List<StringEnumRef>? = null,
@field:JsonProperty("array_string_enum_default") @get:JsonProperty("array_string_enum_default")
val arrayStringEnumDefault: kotlin.collections.List<DefaultValue.ArrayStringEnumDefault>? = null, val arrayStringEnumDefault: kotlin.collections.List<DefaultValue.ArrayStringEnumDefault>? = null,
@field:JsonProperty("array_string_default") @get:JsonProperty("array_string_default")
val arrayStringDefault: kotlin.collections.List<kotlin.String>? = arrayListOf("failure","skipped"), val arrayStringDefault: kotlin.collections.List<kotlin.String>? = arrayListOf("failure","skipped"),
@field:JsonProperty("array_integer_default") @get:JsonProperty("array_integer_default")
val arrayIntegerDefault: kotlin.collections.List<kotlin.Int>? = arrayListOf(1,3), val arrayIntegerDefault: kotlin.collections.List<kotlin.Int>? = arrayListOf(1,3),
@field:JsonProperty("array_string") @get:JsonProperty("array_string")
val arrayString: kotlin.collections.List<kotlin.String>? = null, val arrayString: kotlin.collections.List<kotlin.String>? = null,
@field:JsonProperty("array_string_nullable") @get:JsonProperty("array_string_nullable")
val arrayStringNullable: kotlin.collections.List<kotlin.String>? = null, val arrayStringNullable: kotlin.collections.List<kotlin.String>? = null,
@field:JsonProperty("array_string_extension_nullable") @get:JsonProperty("array_string_extension_nullable")
val arrayStringExtensionNullable: kotlin.collections.List<kotlin.String>? = null, val arrayStringExtensionNullable: kotlin.collections.List<kotlin.String>? = null,
@field:JsonProperty("string_nullable") @get:JsonProperty("string_nullable")
val stringNullable: kotlin.String? = null val stringNullable: kotlin.String? = null
) { ) {

View File

@ -30,13 +30,13 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class NumberPropertiesOnly ( data class NumberPropertiesOnly (
@field:JsonProperty("number") @get:JsonProperty("number")
val number: java.math.BigDecimal? = null, val number: java.math.BigDecimal? = null,
@field:JsonProperty("float") @get:JsonProperty("float")
val float: kotlin.Float? = null, val float: kotlin.Float? = null,
@field:JsonProperty("double") @get:JsonProperty("double")
val double: kotlin.Double? = null val double: kotlin.Double? = null
) { ) {

View File

@ -35,23 +35,23 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class Pet ( data class Pet (
@field:JsonProperty("name") @get:JsonProperty("name")
val name: kotlin.String, val name: kotlin.String,
@field:JsonProperty("photoUrls") @get:JsonProperty("photoUrls")
val photoUrls: kotlin.collections.List<kotlin.String>, val photoUrls: kotlin.collections.List<kotlin.String>,
@field:JsonProperty("id") @get:JsonProperty("id")
val id: kotlin.Long? = null, val id: kotlin.Long? = null,
@field:JsonProperty("category") @get:JsonProperty("category")
val category: Category? = null, val category: Category? = null,
@field:JsonProperty("tags") @get:JsonProperty("tags")
val tags: kotlin.collections.List<Tag>? = null, val tags: kotlin.collections.List<Tag>? = null,
/* pet status in the store */ /* pet status in the store */
@field:JsonProperty("status") @get:JsonProperty("status")
val status: Pet.Status? = null val status: Pet.Status? = null
) { ) {

View File

@ -30,10 +30,10 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class Query ( data class Query (
/* Query */ /* Query */
@field:JsonProperty("id") @get:JsonProperty("id")
val id: kotlin.Long? = null, val id: kotlin.Long? = null,
@field:JsonProperty("outcomes") @get:JsonProperty("outcomes")
val outcomes: kotlin.collections.List<Query.Outcomes>? = null val outcomes: kotlin.collections.List<Query.Outcomes>? = null
) { ) {

View File

@ -29,10 +29,10 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class Tag ( data class Tag (
@field:JsonProperty("id") @get:JsonProperty("id")
val id: kotlin.Long? = null, val id: kotlin.Long? = null,
@field:JsonProperty("name") @get:JsonProperty("name")
val name: kotlin.String? = null val name: kotlin.String? = null
) { ) {

View File

@ -28,7 +28,7 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter ( data class TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter (
@field:JsonProperty("values") @get:JsonProperty("values")
val propertyValues: kotlin.collections.List<kotlin.String>? = null val propertyValues: kotlin.collections.List<kotlin.String>? = null
) { ) {

View File

@ -29,10 +29,10 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class Category ( data class Category (
@field:JsonProperty("id") @get:JsonProperty("id")
val id: kotlin.Long? = null, val id: kotlin.Long? = null,
@field:JsonProperty("name") @get:JsonProperty("name")
val name: kotlin.String? = null val name: kotlin.String? = null
) { ) {

View File

@ -30,13 +30,13 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class ModelApiResponse ( data class ModelApiResponse (
@field:JsonProperty("code") @get:JsonProperty("code")
val code: kotlin.Int? = null, val code: kotlin.Int? = null,
@field:JsonProperty("type") @get:JsonProperty("type")
val type: kotlin.String? = null, val type: kotlin.String? = null,
@field:JsonProperty("message") @get:JsonProperty("message")
val message: kotlin.String? = null val message: kotlin.String? = null
) { ) {

View File

@ -33,23 +33,23 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class Order ( data class Order (
@field:JsonProperty("id") @get:JsonProperty("id")
val id: kotlin.Long? = null, val id: kotlin.Long? = null,
@field:JsonProperty("petId") @get:JsonProperty("petId")
val petId: kotlin.Long? = null, val petId: kotlin.Long? = null,
@field:JsonProperty("quantity") @get:JsonProperty("quantity")
val quantity: kotlin.Int? = null, val quantity: kotlin.Int? = null,
@field:JsonProperty("shipDate") @get:JsonProperty("shipDate")
val shipDate: java.time.OffsetDateTime? = null, val shipDate: java.time.OffsetDateTime? = null,
/* Order Status */ /* Order Status */
@field:JsonProperty("status") @get:JsonProperty("status")
val status: Order.Status? = null, val status: Order.Status? = null,
@field:JsonProperty("complete") @get:JsonProperty("complete")
val complete: kotlin.Boolean? = false val complete: kotlin.Boolean? = false
) { ) {

View File

@ -35,23 +35,23 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class Pet ( data class Pet (
@field:JsonProperty("name") @get:JsonProperty("name")
val name: kotlin.String, val name: kotlin.String,
@field:JsonProperty("photoUrls") @get:JsonProperty("photoUrls")
val photoUrls: kotlin.collections.List<kotlin.String>, val photoUrls: kotlin.collections.List<kotlin.String>,
@field:JsonProperty("id") @get:JsonProperty("id")
val id: kotlin.Long? = null, val id: kotlin.Long? = null,
@field:JsonProperty("category") @get:JsonProperty("category")
val category: Category? = null, val category: Category? = null,
@field:JsonProperty("tags") @get:JsonProperty("tags")
val tags: kotlin.collections.List<Tag>? = null, val tags: kotlin.collections.List<Tag>? = null,
/* pet status in the store */ /* pet status in the store */
@field:JsonProperty("status") @get:JsonProperty("status")
val status: Pet.Status? = null val status: Pet.Status? = null
) { ) {

View File

@ -29,10 +29,10 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class Tag ( data class Tag (
@field:JsonProperty("id") @get:JsonProperty("id")
val id: kotlin.Long? = null, val id: kotlin.Long? = null,
@field:JsonProperty("name") @get:JsonProperty("name")
val name: kotlin.String? = null val name: kotlin.String? = null
) { ) {

View File

@ -35,29 +35,29 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class User ( data class User (
@field:JsonProperty("id") @get:JsonProperty("id")
val id: kotlin.Long? = null, val id: kotlin.Long? = null,
@field:JsonProperty("username") @get:JsonProperty("username")
val username: kotlin.String? = null, val username: kotlin.String? = null,
@field:JsonProperty("firstName") @get:JsonProperty("firstName")
val firstName: kotlin.String? = null, val firstName: kotlin.String? = null,
@field:JsonProperty("lastName") @get:JsonProperty("lastName")
val lastName: kotlin.String? = null, val lastName: kotlin.String? = null,
@field:JsonProperty("email") @get:JsonProperty("email")
val email: kotlin.String? = null, val email: kotlin.String? = null,
@field:JsonProperty("password") @get:JsonProperty("password")
val password: kotlin.String? = null, val password: kotlin.String? = null,
@field:JsonProperty("phone") @get:JsonProperty("phone")
val phone: kotlin.String? = null, val phone: kotlin.String? = null,
/* User Status */ /* User Status */
@field:JsonProperty("userStatus") @get:JsonProperty("userStatus")
val userStatus: kotlin.Int? = null val userStatus: kotlin.Int? = null
) { ) {

View File

@ -29,10 +29,10 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class Category ( data class Category (
@field:JsonProperty("id") @get:JsonProperty("id")
val id: kotlin.Long? = null, val id: kotlin.Long? = null,
@field:JsonProperty("name") @get:JsonProperty("name")
val name: kotlin.String? = null val name: kotlin.String? = null
) { ) {

View File

@ -30,13 +30,13 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class ModelApiResponse ( data class ModelApiResponse (
@field:JsonProperty("code") @get:JsonProperty("code")
val code: kotlin.Int? = null, val code: kotlin.Int? = null,
@field:JsonProperty("type") @get:JsonProperty("type")
val type: kotlin.String? = null, val type: kotlin.String? = null,
@field:JsonProperty("message") @get:JsonProperty("message")
val message: kotlin.String? = null val message: kotlin.String? = null
) { ) {

View File

@ -33,23 +33,23 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class Order ( data class Order (
@field:JsonProperty("id") @get:JsonProperty("id")
val id: kotlin.Long? = null, val id: kotlin.Long? = null,
@field:JsonProperty("petId") @get:JsonProperty("petId")
val petId: kotlin.Long? = null, val petId: kotlin.Long? = null,
@field:JsonProperty("quantity") @get:JsonProperty("quantity")
val quantity: kotlin.Int? = null, val quantity: kotlin.Int? = null,
@field:JsonProperty("shipDate") @get:JsonProperty("shipDate")
val shipDate: java.time.OffsetDateTime? = null, val shipDate: java.time.OffsetDateTime? = null,
/* Order Status */ /* Order Status */
@field:JsonProperty("status") @get:JsonProperty("status")
val status: Order.Status? = null, val status: Order.Status? = null,
@field:JsonProperty("complete") @get:JsonProperty("complete")
val complete: kotlin.Boolean? = false val complete: kotlin.Boolean? = false
) { ) {

View File

@ -35,23 +35,23 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class Pet ( data class Pet (
@field:JsonProperty("name") @get:JsonProperty("name")
val name: kotlin.String, val name: kotlin.String,
@field:JsonProperty("photoUrls") @get:JsonProperty("photoUrls")
val photoUrls: kotlin.collections.List<kotlin.String>, val photoUrls: kotlin.collections.List<kotlin.String>,
@field:JsonProperty("id") @get:JsonProperty("id")
val id: kotlin.Long? = null, val id: kotlin.Long? = null,
@field:JsonProperty("category") @get:JsonProperty("category")
val category: Category? = null, val category: Category? = null,
@field:JsonProperty("tags") @get:JsonProperty("tags")
val tags: kotlin.collections.List<Tag>? = null, val tags: kotlin.collections.List<Tag>? = null,
/* pet status in the store */ /* pet status in the store */
@field:JsonProperty("status") @get:JsonProperty("status")
@Deprecated(message = "This property is deprecated.") @Deprecated(message = "This property is deprecated.")
val status: Pet.Status? = null val status: Pet.Status? = null

View File

@ -29,10 +29,10 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class Tag ( data class Tag (
@field:JsonProperty("id") @get:JsonProperty("id")
val id: kotlin.Long? = null, val id: kotlin.Long? = null,
@field:JsonProperty("name") @get:JsonProperty("name")
val name: kotlin.String? = null val name: kotlin.String? = null
) { ) {

View File

@ -35,29 +35,29 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class User ( data class User (
@field:JsonProperty("id") @get:JsonProperty("id")
val id: kotlin.Long? = null, val id: kotlin.Long? = null,
@field:JsonProperty("username") @get:JsonProperty("username")
val username: kotlin.String? = null, val username: kotlin.String? = null,
@field:JsonProperty("firstName") @get:JsonProperty("firstName")
val firstName: kotlin.String? = null, val firstName: kotlin.String? = null,
@field:JsonProperty("lastName") @get:JsonProperty("lastName")
val lastName: kotlin.String? = null, val lastName: kotlin.String? = null,
@field:JsonProperty("email") @get:JsonProperty("email")
val email: kotlin.String? = null, val email: kotlin.String? = null,
@field:JsonProperty("password") @get:JsonProperty("password")
val password: kotlin.String? = null, val password: kotlin.String? = null,
@field:JsonProperty("phone") @get:JsonProperty("phone")
val phone: kotlin.String? = null, val phone: kotlin.String? = null,
/* User Status */ /* User Status */
@field:JsonProperty("userStatus") @get:JsonProperty("userStatus")
val userStatus: kotlin.Int? = null val userStatus: kotlin.Int? = null
) { ) {

View File

@ -29,10 +29,10 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class Category ( data class Category (
@field:JsonProperty("id") @get:JsonProperty("id")
val id: kotlin.Long? = null, val id: kotlin.Long? = null,
@field:JsonProperty("name") @get:JsonProperty("name")
val name: kotlin.String? = null val name: kotlin.String? = null
) { ) {

View File

@ -30,13 +30,13 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class ModelApiResponse ( data class ModelApiResponse (
@field:JsonProperty("code") @get:JsonProperty("code")
val code: kotlin.Int? = null, val code: kotlin.Int? = null,
@field:JsonProperty("type") @get:JsonProperty("type")
val type: kotlin.String? = null, val type: kotlin.String? = null,
@field:JsonProperty("message") @get:JsonProperty("message")
val message: kotlin.String? = null val message: kotlin.String? = null
) { ) {

View File

@ -33,23 +33,23 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class Order ( data class Order (
@field:JsonProperty("id") @get:JsonProperty("id")
val id: kotlin.Long? = null, val id: kotlin.Long? = null,
@field:JsonProperty("petId") @get:JsonProperty("petId")
val petId: kotlin.Long? = null, val petId: kotlin.Long? = null,
@field:JsonProperty("quantity") @get:JsonProperty("quantity")
val quantity: kotlin.Int? = null, val quantity: kotlin.Int? = null,
@field:JsonProperty("shipDate") @get:JsonProperty("shipDate")
val shipDate: java.time.OffsetDateTime? = null, val shipDate: java.time.OffsetDateTime? = null,
/* Order Status */ /* Order Status */
@field:JsonProperty("status") @get:JsonProperty("status")
val status: Order.Status? = null, val status: Order.Status? = null,
@field:JsonProperty("complete") @get:JsonProperty("complete")
val complete: kotlin.Boolean? = false val complete: kotlin.Boolean? = false
) { ) {

View File

@ -35,23 +35,23 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class Pet ( data class Pet (
@field:JsonProperty("name") @get:JsonProperty("name")
val name: kotlin.String, val name: kotlin.String,
@field:JsonProperty("photoUrls") @get:JsonProperty("photoUrls")
val photoUrls: kotlin.collections.List<kotlin.String>, val photoUrls: kotlin.collections.List<kotlin.String>,
@field:JsonProperty("id") @get:JsonProperty("id")
val id: kotlin.Long? = null, val id: kotlin.Long? = null,
@field:JsonProperty("category") @get:JsonProperty("category")
val category: Category? = null, val category: Category? = null,
@field:JsonProperty("tags") @get:JsonProperty("tags")
val tags: kotlin.collections.List<Tag>? = null, val tags: kotlin.collections.List<Tag>? = null,
/* pet status in the store */ /* pet status in the store */
@field:JsonProperty("status") @get:JsonProperty("status")
val status: Pet.Status? = null val status: Pet.Status? = null
) { ) {

View File

@ -29,10 +29,10 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class Tag ( data class Tag (
@field:JsonProperty("id") @get:JsonProperty("id")
val id: kotlin.Long? = null, val id: kotlin.Long? = null,
@field:JsonProperty("name") @get:JsonProperty("name")
val name: kotlin.String? = null val name: kotlin.String? = null
) { ) {

View File

@ -35,29 +35,29 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class User ( data class User (
@field:JsonProperty("id") @get:JsonProperty("id")
val id: kotlin.Long? = null, val id: kotlin.Long? = null,
@field:JsonProperty("username") @get:JsonProperty("username")
val username: kotlin.String? = null, val username: kotlin.String? = null,
@field:JsonProperty("firstName") @get:JsonProperty("firstName")
val firstName: kotlin.String? = null, val firstName: kotlin.String? = null,
@field:JsonProperty("lastName") @get:JsonProperty("lastName")
val lastName: kotlin.String? = null, val lastName: kotlin.String? = null,
@field:JsonProperty("email") @get:JsonProperty("email")
val email: kotlin.String? = null, val email: kotlin.String? = null,
@field:JsonProperty("password") @get:JsonProperty("password")
val password: kotlin.String? = null, val password: kotlin.String? = null,
@field:JsonProperty("phone") @get:JsonProperty("phone")
val phone: kotlin.String? = null, val phone: kotlin.String? = null,
/* User Status */ /* User Status */
@field:JsonProperty("userStatus") @get:JsonProperty("userStatus")
val userStatus: kotlin.Int? = null val userStatus: kotlin.Int? = null
) { ) {

View File

@ -29,10 +29,10 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class Category ( data class Category (
@field:JsonProperty("id") @get:JsonProperty("id")
val id: kotlin.Long? = null, val id: kotlin.Long? = null,
@field:JsonProperty("name") @get:JsonProperty("name")
val name: kotlin.String? = null val name: kotlin.String? = null
) { ) {

View File

@ -30,13 +30,13 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class ModelApiResponse ( data class ModelApiResponse (
@field:JsonProperty("code") @get:JsonProperty("code")
val code: kotlin.Int? = null, val code: kotlin.Int? = null,
@field:JsonProperty("type") @get:JsonProperty("type")
val type: kotlin.String? = null, val type: kotlin.String? = null,
@field:JsonProperty("message") @get:JsonProperty("message")
val message: kotlin.String? = null val message: kotlin.String? = null
) { ) {

View File

@ -33,23 +33,23 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class Order ( data class Order (
@field:JsonProperty("id") @get:JsonProperty("id")
val id: kotlin.Long? = null, val id: kotlin.Long? = null,
@field:JsonProperty("petId") @get:JsonProperty("petId")
val petId: kotlin.Long? = null, val petId: kotlin.Long? = null,
@field:JsonProperty("quantity") @get:JsonProperty("quantity")
val quantity: kotlin.Int? = null, val quantity: kotlin.Int? = null,
@field:JsonProperty("shipDate") @get:JsonProperty("shipDate")
val shipDate: java.time.OffsetDateTime? = null, val shipDate: java.time.OffsetDateTime? = null,
/* Order Status */ /* Order Status */
@field:JsonProperty("status") @get:JsonProperty("status")
val status: Order.Status? = null, val status: Order.Status? = null,
@field:JsonProperty("complete") @get:JsonProperty("complete")
val complete: kotlin.Boolean? = false val complete: kotlin.Boolean? = false
) { ) {

View File

@ -35,23 +35,23 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class Pet ( data class Pet (
@field:JsonProperty("name") @get:JsonProperty("name")
val name: kotlin.String, val name: kotlin.String,
@field:JsonProperty("photoUrls") @get:JsonProperty("photoUrls")
val photoUrls: kotlin.collections.List<kotlin.String>, val photoUrls: kotlin.collections.List<kotlin.String>,
@field:JsonProperty("id") @get:JsonProperty("id")
val id: kotlin.Long? = null, val id: kotlin.Long? = null,
@field:JsonProperty("category") @get:JsonProperty("category")
val category: Category? = null, val category: Category? = null,
@field:JsonProperty("tags") @get:JsonProperty("tags")
val tags: kotlin.collections.List<Tag>? = null, val tags: kotlin.collections.List<Tag>? = null,
/* pet status in the store */ /* pet status in the store */
@field:JsonProperty("status") @get:JsonProperty("status")
@Deprecated(message = "This property is deprecated.") @Deprecated(message = "This property is deprecated.")
val status: Pet.Status? = null val status: Pet.Status? = null

View File

@ -29,10 +29,10 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class Tag ( data class Tag (
@field:JsonProperty("id") @get:JsonProperty("id")
val id: kotlin.Long? = null, val id: kotlin.Long? = null,
@field:JsonProperty("name") @get:JsonProperty("name")
val name: kotlin.String? = null val name: kotlin.String? = null
) { ) {

View File

@ -35,29 +35,29 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class User ( data class User (
@field:JsonProperty("id") @get:JsonProperty("id")
val id: kotlin.Long? = null, val id: kotlin.Long? = null,
@field:JsonProperty("username") @get:JsonProperty("username")
val username: kotlin.String? = null, val username: kotlin.String? = null,
@field:JsonProperty("firstName") @get:JsonProperty("firstName")
val firstName: kotlin.String? = null, val firstName: kotlin.String? = null,
@field:JsonProperty("lastName") @get:JsonProperty("lastName")
val lastName: kotlin.String? = null, val lastName: kotlin.String? = null,
@field:JsonProperty("email") @get:JsonProperty("email")
val email: kotlin.String? = null, val email: kotlin.String? = null,
@field:JsonProperty("password") @get:JsonProperty("password")
val password: kotlin.String? = null, val password: kotlin.String? = null,
@field:JsonProperty("phone") @get:JsonProperty("phone")
val phone: kotlin.String? = null, val phone: kotlin.String? = null,
/* User Status */ /* User Status */
@field:JsonProperty("userStatus") @get:JsonProperty("userStatus")
val userStatus: kotlin.Int? = null val userStatus: kotlin.Int? = null
) { ) {

View File

@ -29,10 +29,10 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class Category ( data class Category (
@field:JsonProperty("id") @get:JsonProperty("id")
val id: kotlin.Long? = null, val id: kotlin.Long? = null,
@field:JsonProperty("name") @get:JsonProperty("name")
val name: kotlin.String? = null val name: kotlin.String? = null
) { ) {

View File

@ -30,13 +30,13 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class ModelApiResponse ( data class ModelApiResponse (
@field:JsonProperty("code") @get:JsonProperty("code")
val code: kotlin.Int? = null, val code: kotlin.Int? = null,
@field:JsonProperty("type") @get:JsonProperty("type")
val type: kotlin.String? = null, val type: kotlin.String? = null,
@field:JsonProperty("message") @get:JsonProperty("message")
val message: kotlin.String? = null val message: kotlin.String? = null
) { ) {

View File

@ -33,23 +33,23 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class Order ( data class Order (
@field:JsonProperty("id") @get:JsonProperty("id")
val id: kotlin.Long? = null, val id: kotlin.Long? = null,
@field:JsonProperty("petId") @get:JsonProperty("petId")
val petId: kotlin.Long? = null, val petId: kotlin.Long? = null,
@field:JsonProperty("quantity") @get:JsonProperty("quantity")
val quantity: kotlin.Int? = null, val quantity: kotlin.Int? = null,
@field:JsonProperty("shipDate") @get:JsonProperty("shipDate")
val shipDate: java.time.OffsetDateTime? = null, val shipDate: java.time.OffsetDateTime? = null,
/* Order Status */ /* Order Status */
@field:JsonProperty("status") @get:JsonProperty("status")
val status: Order.Status? = null, val status: Order.Status? = null,
@field:JsonProperty("complete") @get:JsonProperty("complete")
val complete: kotlin.Boolean? = false val complete: kotlin.Boolean? = false
) { ) {

View File

@ -35,23 +35,23 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class Pet ( data class Pet (
@field:JsonProperty("name") @get:JsonProperty("name")
val name: kotlin.String, val name: kotlin.String,
@field:JsonProperty("photoUrls") @get:JsonProperty("photoUrls")
val photoUrls: kotlin.collections.List<kotlin.String>, val photoUrls: kotlin.collections.List<kotlin.String>,
@field:JsonProperty("id") @get:JsonProperty("id")
val id: kotlin.Long? = null, val id: kotlin.Long? = null,
@field:JsonProperty("category") @get:JsonProperty("category")
val category: Category? = null, val category: Category? = null,
@field:JsonProperty("tags") @get:JsonProperty("tags")
val tags: kotlin.collections.List<Tag>? = null, val tags: kotlin.collections.List<Tag>? = null,
/* pet status in the store */ /* pet status in the store */
@field:JsonProperty("status") @get:JsonProperty("status")
@Deprecated(message = "This property is deprecated.") @Deprecated(message = "This property is deprecated.")
val status: Pet.Status? = null val status: Pet.Status? = null

View File

@ -29,10 +29,10 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class Tag ( data class Tag (
@field:JsonProperty("id") @get:JsonProperty("id")
val id: kotlin.Long? = null, val id: kotlin.Long? = null,
@field:JsonProperty("name") @get:JsonProperty("name")
val name: kotlin.String? = null val name: kotlin.String? = null
) { ) {

View File

@ -35,29 +35,29 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class User ( data class User (
@field:JsonProperty("id") @get:JsonProperty("id")
val id: kotlin.Long? = null, val id: kotlin.Long? = null,
@field:JsonProperty("username") @get:JsonProperty("username")
val username: kotlin.String? = null, val username: kotlin.String? = null,
@field:JsonProperty("firstName") @get:JsonProperty("firstName")
val firstName: kotlin.String? = null, val firstName: kotlin.String? = null,
@field:JsonProperty("lastName") @get:JsonProperty("lastName")
val lastName: kotlin.String? = null, val lastName: kotlin.String? = null,
@field:JsonProperty("email") @get:JsonProperty("email")
val email: kotlin.String? = null, val email: kotlin.String? = null,
@field:JsonProperty("password") @get:JsonProperty("password")
val password: kotlin.String? = null, val password: kotlin.String? = null,
@field:JsonProperty("phone") @get:JsonProperty("phone")
val phone: kotlin.String? = null, val phone: kotlin.String? = null,
/* User Status */ /* User Status */
@field:JsonProperty("userStatus") @get:JsonProperty("userStatus")
val userStatus: kotlin.Int? = null val userStatus: kotlin.Int? = null
) { ) {

View File

@ -29,10 +29,10 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class Category ( data class Category (
@field:JsonProperty("id") @get:JsonProperty("id")
val id: kotlin.Long? = null, val id: kotlin.Long? = null,
@field:JsonProperty("name") @get:JsonProperty("name")
val name: kotlin.String? = null val name: kotlin.String? = null
) { ) {

View File

@ -30,13 +30,13 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class ModelApiResponse ( data class ModelApiResponse (
@field:JsonProperty("code") @get:JsonProperty("code")
val code: kotlin.Int? = null, val code: kotlin.Int? = null,
@field:JsonProperty("type") @get:JsonProperty("type")
val type: kotlin.String? = null, val type: kotlin.String? = null,
@field:JsonProperty("message") @get:JsonProperty("message")
val message: kotlin.String? = null val message: kotlin.String? = null
) { ) {

View File

@ -33,23 +33,23 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class Order ( data class Order (
@field:JsonProperty("id") @get:JsonProperty("id")
val id: kotlin.Long? = null, val id: kotlin.Long? = null,
@field:JsonProperty("petId") @get:JsonProperty("petId")
val petId: kotlin.Long? = null, val petId: kotlin.Long? = null,
@field:JsonProperty("quantity") @get:JsonProperty("quantity")
val quantity: kotlin.Int? = null, val quantity: kotlin.Int? = null,
@field:JsonProperty("shipDate") @get:JsonProperty("shipDate")
val shipDate: java.time.OffsetDateTime? = null, val shipDate: java.time.OffsetDateTime? = null,
/* Order Status */ /* Order Status */
@field:JsonProperty("status") @get:JsonProperty("status")
val status: Order.Status? = null, val status: Order.Status? = null,
@field:JsonProperty("complete") @get:JsonProperty("complete")
val complete: kotlin.Boolean? = false val complete: kotlin.Boolean? = false
) { ) {

View File

@ -35,23 +35,23 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class Pet ( data class Pet (
@field:JsonProperty("name") @get:JsonProperty("name")
val name: kotlin.String, val name: kotlin.String,
@field:JsonProperty("photoUrls") @get:JsonProperty("photoUrls")
val photoUrls: kotlin.collections.List<kotlin.String>, val photoUrls: kotlin.collections.List<kotlin.String>,
@field:JsonProperty("id") @get:JsonProperty("id")
val id: kotlin.Long? = null, val id: kotlin.Long? = null,
@field:JsonProperty("category") @get:JsonProperty("category")
val category: Category? = null, val category: Category? = null,
@field:JsonProperty("tags") @get:JsonProperty("tags")
val tags: kotlin.collections.List<Tag>? = null, val tags: kotlin.collections.List<Tag>? = null,
/* pet status in the store */ /* pet status in the store */
@field:JsonProperty("status") @get:JsonProperty("status")
@Deprecated(message = "This property is deprecated.") @Deprecated(message = "This property is deprecated.")
val status: Pet.Status? = null val status: Pet.Status? = null

View File

@ -29,10 +29,10 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class Tag ( data class Tag (
@field:JsonProperty("id") @get:JsonProperty("id")
val id: kotlin.Long? = null, val id: kotlin.Long? = null,
@field:JsonProperty("name") @get:JsonProperty("name")
val name: kotlin.String? = null val name: kotlin.String? = null
) { ) {

View File

@ -35,29 +35,29 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class User ( data class User (
@field:JsonProperty("id") @get:JsonProperty("id")
val id: kotlin.Long? = null, val id: kotlin.Long? = null,
@field:JsonProperty("username") @get:JsonProperty("username")
val username: kotlin.String? = null, val username: kotlin.String? = null,
@field:JsonProperty("firstName") @get:JsonProperty("firstName")
val firstName: kotlin.String? = null, val firstName: kotlin.String? = null,
@field:JsonProperty("lastName") @get:JsonProperty("lastName")
val lastName: kotlin.String? = null, val lastName: kotlin.String? = null,
@field:JsonProperty("email") @get:JsonProperty("email")
val email: kotlin.String? = null, val email: kotlin.String? = null,
@field:JsonProperty("password") @get:JsonProperty("password")
val password: kotlin.String? = null, val password: kotlin.String? = null,
@field:JsonProperty("phone") @get:JsonProperty("phone")
val phone: kotlin.String? = null, val phone: kotlin.String? = null,
/* User Status */ /* User Status */
@field:JsonProperty("userStatus") @get:JsonProperty("userStatus")
val userStatus: kotlin.Int? = null val userStatus: kotlin.Int? = null
) { ) {

View File

@ -28,10 +28,10 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class Category ( data class Category (
@field:JsonProperty("id") @get:JsonProperty("id")
val id: kotlin.Long? = null, val id: kotlin.Long? = null,
@field:JsonProperty("name") @get:JsonProperty("name")
val name: kotlin.String? = null val name: kotlin.String? = null
) { ) {

View File

@ -29,13 +29,13 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class ModelApiResponse ( data class ModelApiResponse (
@field:JsonProperty("code") @get:JsonProperty("code")
val code: kotlin.Int? = null, val code: kotlin.Int? = null,
@field:JsonProperty("type") @get:JsonProperty("type")
val type: kotlin.String? = null, val type: kotlin.String? = null,
@field:JsonProperty("message") @get:JsonProperty("message")
val message: kotlin.String? = null val message: kotlin.String? = null
) { ) {

View File

@ -32,23 +32,23 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class Order ( data class Order (
@field:JsonProperty("id") @get:JsonProperty("id")
val id: kotlin.Long? = null, val id: kotlin.Long? = null,
@field:JsonProperty("petId") @get:JsonProperty("petId")
val petId: kotlin.Long? = null, val petId: kotlin.Long? = null,
@field:JsonProperty("quantity") @get:JsonProperty("quantity")
val quantity: kotlin.Int? = null, val quantity: kotlin.Int? = null,
@field:JsonProperty("shipDate") @get:JsonProperty("shipDate")
val shipDate: java.time.OffsetDateTime? = null, val shipDate: java.time.OffsetDateTime? = null,
/* Order Status */ /* Order Status */
@field:JsonProperty("status") @get:JsonProperty("status")
val status: Order.Status? = null, val status: Order.Status? = null,
@field:JsonProperty("complete") @get:JsonProperty("complete")
val complete: kotlin.Boolean? = false val complete: kotlin.Boolean? = false
) { ) {

View File

@ -34,23 +34,23 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class Pet ( data class Pet (
@field:JsonProperty("name") @get:JsonProperty("name")
val name: kotlin.String, val name: kotlin.String,
@field:JsonProperty("photoUrls") @get:JsonProperty("photoUrls")
val photoUrls: kotlin.collections.List<kotlin.String>, val photoUrls: kotlin.collections.List<kotlin.String>,
@field:JsonProperty("id") @get:JsonProperty("id")
val id: kotlin.Long? = null, val id: kotlin.Long? = null,
@field:JsonProperty("category") @get:JsonProperty("category")
val category: Category? = null, val category: Category? = null,
@field:JsonProperty("tags") @get:JsonProperty("tags")
val tags: kotlin.collections.List<Tag>? = null, val tags: kotlin.collections.List<Tag>? = null,
/* pet status in the store */ /* pet status in the store */
@field:JsonProperty("status") @get:JsonProperty("status")
@Deprecated(message = "This property is deprecated.") @Deprecated(message = "This property is deprecated.")
val status: Pet.Status? = null val status: Pet.Status? = null

View File

@ -28,10 +28,10 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class Tag ( data class Tag (
@field:JsonProperty("id") @get:JsonProperty("id")
val id: kotlin.Long? = null, val id: kotlin.Long? = null,
@field:JsonProperty("name") @get:JsonProperty("name")
val name: kotlin.String? = null val name: kotlin.String? = null
) { ) {

View File

@ -34,29 +34,29 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class User ( data class User (
@field:JsonProperty("id") @get:JsonProperty("id")
val id: kotlin.Long? = null, val id: kotlin.Long? = null,
@field:JsonProperty("username") @get:JsonProperty("username")
val username: kotlin.String? = null, val username: kotlin.String? = null,
@field:JsonProperty("firstName") @get:JsonProperty("firstName")
val firstName: kotlin.String? = null, val firstName: kotlin.String? = null,
@field:JsonProperty("lastName") @get:JsonProperty("lastName")
val lastName: kotlin.String? = null, val lastName: kotlin.String? = null,
@field:JsonProperty("email") @get:JsonProperty("email")
val email: kotlin.String? = null, val email: kotlin.String? = null,
@field:JsonProperty("password") @get:JsonProperty("password")
val password: kotlin.String? = null, val password: kotlin.String? = null,
@field:JsonProperty("phone") @get:JsonProperty("phone")
val phone: kotlin.String? = null, val phone: kotlin.String? = null,
/* User Status */ /* User Status */
@field:JsonProperty("userStatus") @get:JsonProperty("userStatus")
val userStatus: kotlin.Int? = null val userStatus: kotlin.Int? = null
) { ) {

View File

@ -28,10 +28,10 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class Category ( data class Category (
@field:JsonProperty("id") @get:JsonProperty("id")
val id: kotlin.Long? = null, val id: kotlin.Long? = null,
@field:JsonProperty("name") @get:JsonProperty("name")
val name: kotlin.String? = null val name: kotlin.String? = null
) { ) {

View File

@ -29,13 +29,13 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class ModelApiResponse ( data class ModelApiResponse (
@field:JsonProperty("code") @get:JsonProperty("code")
val code: kotlin.Int? = null, val code: kotlin.Int? = null,
@field:JsonProperty("type") @get:JsonProperty("type")
val type: kotlin.String? = null, val type: kotlin.String? = null,
@field:JsonProperty("message") @get:JsonProperty("message")
val message: kotlin.String? = null val message: kotlin.String? = null
) { ) {

View File

@ -32,23 +32,23 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class Order ( data class Order (
@field:JsonProperty("id") @get:JsonProperty("id")
val id: kotlin.Long? = null, val id: kotlin.Long? = null,
@field:JsonProperty("petId") @get:JsonProperty("petId")
val petId: kotlin.Long? = null, val petId: kotlin.Long? = null,
@field:JsonProperty("quantity") @get:JsonProperty("quantity")
val quantity: kotlin.Int? = null, val quantity: kotlin.Int? = null,
@field:JsonProperty("shipDate") @get:JsonProperty("shipDate")
val shipDate: java.time.OffsetDateTime? = null, val shipDate: java.time.OffsetDateTime? = null,
/* Order Status */ /* Order Status */
@field:JsonProperty("status") @get:JsonProperty("status")
val status: Order.Status? = null, val status: Order.Status? = null,
@field:JsonProperty("complete") @get:JsonProperty("complete")
val complete: kotlin.Boolean? = false val complete: kotlin.Boolean? = false
) { ) {

View File

@ -34,23 +34,23 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class Pet ( data class Pet (
@field:JsonProperty("name") @get:JsonProperty("name")
val name: kotlin.String, val name: kotlin.String,
@field:JsonProperty("photoUrls") @get:JsonProperty("photoUrls")
val photoUrls: kotlin.collections.List<kotlin.String>, val photoUrls: kotlin.collections.List<kotlin.String>,
@field:JsonProperty("id") @get:JsonProperty("id")
val id: kotlin.Long? = null, val id: kotlin.Long? = null,
@field:JsonProperty("category") @get:JsonProperty("category")
val category: Category? = null, val category: Category? = null,
@field:JsonProperty("tags") @get:JsonProperty("tags")
val tags: kotlin.collections.List<Tag>? = null, val tags: kotlin.collections.List<Tag>? = null,
/* pet status in the store */ /* pet status in the store */
@field:JsonProperty("status") @get:JsonProperty("status")
@Deprecated(message = "This property is deprecated.") @Deprecated(message = "This property is deprecated.")
val status: Pet.Status? = null val status: Pet.Status? = null

View File

@ -28,10 +28,10 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class Tag ( data class Tag (
@field:JsonProperty("id") @get:JsonProperty("id")
val id: kotlin.Long? = null, val id: kotlin.Long? = null,
@field:JsonProperty("name") @get:JsonProperty("name")
val name: kotlin.String? = null val name: kotlin.String? = null
) { ) {

View File

@ -34,29 +34,29 @@ import com.fasterxml.jackson.annotation.JsonProperty
data class User ( data class User (
@field:JsonProperty("id") @get:JsonProperty("id")
val id: kotlin.Long? = null, val id: kotlin.Long? = null,
@field:JsonProperty("username") @get:JsonProperty("username")
val username: kotlin.String? = null, val username: kotlin.String? = null,
@field:JsonProperty("firstName") @get:JsonProperty("firstName")
val firstName: kotlin.String? = null, val firstName: kotlin.String? = null,
@field:JsonProperty("lastName") @get:JsonProperty("lastName")
val lastName: kotlin.String? = null, val lastName: kotlin.String? = null,
@field:JsonProperty("email") @get:JsonProperty("email")
val email: kotlin.String? = null, val email: kotlin.String? = null,
@field:JsonProperty("password") @get:JsonProperty("password")
val password: kotlin.String? = null, val password: kotlin.String? = null,
@field:JsonProperty("phone") @get:JsonProperty("phone")
val phone: kotlin.String? = null, val phone: kotlin.String? = null,
/* User Status */ /* User Status */
@field:JsonProperty("userStatus") @get:JsonProperty("userStatus")
val userStatus: kotlin.Int? = null val userStatus: kotlin.Int? = null
) { ) {

View File

@ -29,10 +29,10 @@ import java.io.Serializable
data class Category ( data class Category (
@field:JsonProperty("id") @get:JsonProperty("id")
val id: kotlin.Long? = null, val id: kotlin.Long? = null,
@field:JsonProperty("name") @get:JsonProperty("name")
val name: kotlin.String? = null val name: kotlin.String? = null
) : Serializable { ) : Serializable {

View File

@ -30,13 +30,13 @@ import java.io.Serializable
data class ModelApiResponse ( data class ModelApiResponse (
@field:JsonProperty("code") @get:JsonProperty("code")
val code: kotlin.Int? = null, val code: kotlin.Int? = null,
@field:JsonProperty("type") @get:JsonProperty("type")
val type: kotlin.String? = null, val type: kotlin.String? = null,
@field:JsonProperty("message") @get:JsonProperty("message")
val message: kotlin.String? = null val message: kotlin.String? = null
) : Serializable { ) : Serializable {

View File

@ -33,23 +33,23 @@ import java.io.Serializable
data class Order ( data class Order (
@field:JsonProperty("id") @get:JsonProperty("id")
val id: kotlin.Long? = null, val id: kotlin.Long? = null,
@field:JsonProperty("petId") @get:JsonProperty("petId")
val petId: kotlin.Long? = null, val petId: kotlin.Long? = null,
@field:JsonProperty("quantity") @get:JsonProperty("quantity")
val quantity: kotlin.Int? = null, val quantity: kotlin.Int? = null,
@field:JsonProperty("shipDate") @get:JsonProperty("shipDate")
val shipDate: java.time.OffsetDateTime? = null, val shipDate: java.time.OffsetDateTime? = null,
/* Order Status */ /* Order Status */
@field:JsonProperty("status") @get:JsonProperty("status")
val status: Order.Status? = null, val status: Order.Status? = null,
@field:JsonProperty("complete") @get:JsonProperty("complete")
val complete: kotlin.Boolean? = false val complete: kotlin.Boolean? = false
) : Serializable { ) : Serializable {

View File

@ -35,23 +35,23 @@ import java.io.Serializable
data class Pet ( data class Pet (
@field:JsonProperty("name") @get:JsonProperty("name")
val name: kotlin.String, val name: kotlin.String,
@field:JsonProperty("photoUrls") @get:JsonProperty("photoUrls")
val photoUrls: kotlin.collections.List<kotlin.String>, val photoUrls: kotlin.collections.List<kotlin.String>,
@field:JsonProperty("id") @get:JsonProperty("id")
val id: kotlin.Long? = null, val id: kotlin.Long? = null,
@field:JsonProperty("category") @get:JsonProperty("category")
val category: Category? = null, val category: Category? = null,
@field:JsonProperty("tags") @get:JsonProperty("tags")
val tags: kotlin.collections.List<Tag>? = null, val tags: kotlin.collections.List<Tag>? = null,
/* pet status in the store */ /* pet status in the store */
@field:JsonProperty("status") @get:JsonProperty("status")
@Deprecated(message = "This property is deprecated.") @Deprecated(message = "This property is deprecated.")
val status: Pet.Status? = null val status: Pet.Status? = null

View File

@ -29,10 +29,10 @@ import java.io.Serializable
data class Tag ( data class Tag (
@field:JsonProperty("id") @get:JsonProperty("id")
val id: kotlin.Long? = null, val id: kotlin.Long? = null,
@field:JsonProperty("name") @get:JsonProperty("name")
val name: kotlin.String? = null val name: kotlin.String? = null
) : Serializable { ) : Serializable {

View File

@ -35,29 +35,29 @@ import java.io.Serializable
data class User ( data class User (
@field:JsonProperty("id") @get:JsonProperty("id")
val id: kotlin.Long? = null, val id: kotlin.Long? = null,
@field:JsonProperty("username") @get:JsonProperty("username")
val username: kotlin.String? = null, val username: kotlin.String? = null,
@field:JsonProperty("firstName") @get:JsonProperty("firstName")
val firstName: kotlin.String? = null, val firstName: kotlin.String? = null,
@field:JsonProperty("lastName") @get:JsonProperty("lastName")
val lastName: kotlin.String? = null, val lastName: kotlin.String? = null,
@field:JsonProperty("email") @get:JsonProperty("email")
val email: kotlin.String? = null, val email: kotlin.String? = null,
@field:JsonProperty("password") @get:JsonProperty("password")
val password: kotlin.String? = null, val password: kotlin.String? = null,
@field:JsonProperty("phone") @get:JsonProperty("phone")
val phone: kotlin.String? = null, val phone: kotlin.String? = null,
/* User Status */ /* User Status */
@field:JsonProperty("userStatus") @get:JsonProperty("userStatus")
val userStatus: kotlin.Int? = null val userStatus: kotlin.Int? = null
) : Serializable { ) : Serializable {