forked from loafle/openapi-generator-original
Merge remote-tracking branch 'origin/4.2.x' into 5.0.x
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
package org.openapitools.server.models
|
||||
|
||||
|
||||
import java.io.Serializable
|
||||
/**
|
||||
* Describes the result of uploading an image resource
|
||||
* @param code
|
||||
@@ -22,7 +23,10 @@ data class ApiResponse (
|
||||
val code: kotlin.Int? = null,
|
||||
val type: kotlin.String? = null,
|
||||
val message: kotlin.String? = null
|
||||
) {
|
||||
)
|
||||
: Serializable
|
||||
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
package org.openapitools.server.models
|
||||
|
||||
|
||||
import java.io.Serializable
|
||||
/**
|
||||
* A category for a pet
|
||||
* @param id
|
||||
@@ -20,7 +21,10 @@ package org.openapitools.server.models
|
||||
data class Category (
|
||||
val id: kotlin.Long? = null,
|
||||
val name: kotlin.String? = null
|
||||
) {
|
||||
)
|
||||
: Serializable
|
||||
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
package org.openapitools.server.models
|
||||
|
||||
|
||||
import java.io.Serializable
|
||||
/**
|
||||
* An order for a pets from the pet store
|
||||
* @param id
|
||||
@@ -29,7 +30,10 @@ data class Order (
|
||||
/* Order Status */
|
||||
val status: Order.Status? = null,
|
||||
val complete: kotlin.Boolean? = null
|
||||
) {
|
||||
)
|
||||
: Serializable
|
||||
|
||||
{
|
||||
|
||||
/**
|
||||
* Order Status
|
||||
|
||||
@@ -14,6 +14,7 @@ package org.openapitools.server.models
|
||||
import org.openapitools.server.models.Category
|
||||
import org.openapitools.server.models.Tag
|
||||
|
||||
import java.io.Serializable
|
||||
/**
|
||||
* A pet for sale in the pet store
|
||||
* @param id
|
||||
@@ -31,7 +32,10 @@ data class Pet (
|
||||
val tags: kotlin.Array<Tag>? = null,
|
||||
/* pet status in the store */
|
||||
val status: Pet.Status? = null
|
||||
) {
|
||||
)
|
||||
: Serializable
|
||||
|
||||
{
|
||||
|
||||
/**
|
||||
* pet status in the store
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
package org.openapitools.server.models
|
||||
|
||||
|
||||
import java.io.Serializable
|
||||
/**
|
||||
* A tag for a pet
|
||||
* @param id
|
||||
@@ -20,7 +21,10 @@ package org.openapitools.server.models
|
||||
data class Tag (
|
||||
val id: kotlin.Long? = null,
|
||||
val name: kotlin.String? = null
|
||||
) {
|
||||
)
|
||||
: Serializable
|
||||
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
package org.openapitools.server.models
|
||||
|
||||
|
||||
import java.io.Serializable
|
||||
/**
|
||||
* A User who is purchasing from the pet store
|
||||
* @param id
|
||||
@@ -33,7 +34,10 @@ data class User (
|
||||
val phone: kotlin.String? = null,
|
||||
/* User Status */
|
||||
val userStatus: kotlin.Int? = null
|
||||
) {
|
||||
)
|
||||
: Serializable
|
||||
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user