Skip to content

Commit

Permalink
[Kotlin Server] Remove setting Kotlin serialization flag to true
Browse files Browse the repository at this point in the history
  • Loading branch information
Stexxe committed Dec 10, 2024
1 parent a73ad15 commit 4763a37
Show file tree
Hide file tree
Showing 12 changed files with 24 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@
package org.openapitools.server.models


import kotlinx.serialization.Serializable
/**
* A category for a pet
* @param id
* @param name
*/
@Serializable
data class Category(
var id: kotlin.Long? = null,
var name: kotlin.String? = null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@
package org.openapitools.server.models


import kotlinx.serialization.Serializable
/**
* Describes the result of uploading an image resource
* @param code
* @param type
* @param message
*/
@Serializable
data class ModelApiResponse(
var code: kotlin.Int? = null,
var type: kotlin.String? = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
package org.openapitools.server.models


import kotlinx.serialization.Serializable
/**
* An order for a pets from the pet store
* @param id
Expand All @@ -21,6 +22,7 @@ package org.openapitools.server.models
* @param status Order Status
* @param complete
*/
@Serializable
data class Order(
var id: kotlin.Long? = null,
var petId: kotlin.Long? = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ package org.openapitools.server.models
import org.openapitools.server.models.Category
import org.openapitools.server.models.Tag

import kotlinx.serialization.Serializable
/**
* A pet for sale in the pet store
* @param name
Expand All @@ -23,6 +24,7 @@ import org.openapitools.server.models.Tag
* @param tags
* @param status pet status in the store
*/
@Serializable
data class Pet(
var name: kotlin.String,
var photoUrls: kotlin.collections.MutableList<kotlin.String>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@
package org.openapitools.server.models


import kotlinx.serialization.Serializable
/**
* A tag for a pet
* @param id
* @param name
*/
@Serializable
data class Tag(
var id: kotlin.Long? = null,
var name: kotlin.String? = null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
package org.openapitools.server.models


import kotlinx.serialization.Serializable
/**
* A User who is purchasing from the pet store
* @param id
Expand All @@ -23,6 +24,7 @@ package org.openapitools.server.models
* @param phone
* @param userStatus User Status
*/
@Serializable
data class User(
var id: kotlin.Long? = null,
var username: kotlin.String? = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@ package org.openapitools.server.models


import java.io.Serializable
import kotlinx.serialization.Serializable
/**
* A category for a pet
* @param id
* @param name
*/
@Serializable
data class Category(
val id: kotlin.Long? = null,
val name: kotlin.String? = null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,14 @@ package org.openapitools.server.models


import java.io.Serializable
import kotlinx.serialization.Serializable
/**
* Describes the result of uploading an image resource
* @param code
* @param type
* @param message
*/
@Serializable
data class ModelApiResponse(
val code: kotlin.Int? = null,
val type: kotlin.String? = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ package org.openapitools.server.models


import java.io.Serializable
import kotlinx.serialization.Serializable
/**
* An order for a pets from the pet store
* @param id
Expand All @@ -22,6 +23,7 @@ package org.openapitools.server.models
* @param status Order Status
* @param complete
*/
@Serializable
data class Order(
val id: kotlin.Long? = null,
val petId: kotlin.Long? = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import org.openapitools.server.models.Category
import org.openapitools.server.models.Tag

import java.io.Serializable
import kotlinx.serialization.Serializable
/**
* A pet for sale in the pet store
* @param name
Expand All @@ -24,6 +25,7 @@ import org.openapitools.server.models.Tag
* @param tags
* @param status pet status in the store
*/
@Serializable
data class Pet(
val name: kotlin.String,
val photoUrls: kotlin.collections.List<kotlin.String>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@ package org.openapitools.server.models


import java.io.Serializable
import kotlinx.serialization.Serializable
/**
* A tag for a pet
* @param id
* @param name
*/
@Serializable
data class Tag(
val id: kotlin.Long? = null,
val name: kotlin.String? = null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ package org.openapitools.server.models


import java.io.Serializable
import kotlinx.serialization.Serializable
/**
* A User who is purchasing from the pet store
* @param id
Expand All @@ -24,6 +25,7 @@ package org.openapitools.server.models
* @param phone
* @param userStatus User Status
*/
@Serializable
data class User(
val id: kotlin.Long? = null,
val username: kotlin.String? = null,
Expand Down

0 comments on commit 4763a37

Please sign in to comment.