forked from loafle/openapi-generator-original
Add auto-generated test files for kotlin client (#17916)
* add auto-generated test files for kotlin client * undo changes to doc * add auto-generated model test files in kotlin clients * update tests
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
/**
|
||||
*
|
||||
* Please note:
|
||||
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* Do not edit this file manually.
|
||||
*
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"ArrayInDataClass",
|
||||
"EnumEntryName",
|
||||
"RemoveRedundantQualifierName",
|
||||
"UnusedImport"
|
||||
)
|
||||
|
||||
package org.openapitools.client.apis
|
||||
|
||||
import io.kotlintest.shouldBe
|
||||
import io.kotlintest.specs.ShouldSpec
|
||||
|
||||
import org.openapitools.client.apis.AuthApi
|
||||
|
||||
class AuthApiTest : ShouldSpec() {
|
||||
init {
|
||||
// uncomment below to create an instance of AuthApi
|
||||
//val apiInstance = AuthApi()
|
||||
|
||||
// to test testAuthHttpBasic
|
||||
should("test testAuthHttpBasic") {
|
||||
// uncomment below to test testAuthHttpBasic
|
||||
//val result : kotlin.String = apiInstance.testAuthHttpBasic()
|
||||
//result shouldBe ("TODO")
|
||||
}
|
||||
|
||||
// to test testAuthHttpBearer
|
||||
should("test testAuthHttpBearer") {
|
||||
// uncomment below to test testAuthHttpBearer
|
||||
//val result : kotlin.String = apiInstance.testAuthHttpBearer()
|
||||
//result shouldBe ("TODO")
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,94 @@
|
||||
/**
|
||||
*
|
||||
* Please note:
|
||||
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* Do not edit this file manually.
|
||||
*
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"ArrayInDataClass",
|
||||
"EnumEntryName",
|
||||
"RemoveRedundantQualifierName",
|
||||
"UnusedImport"
|
||||
)
|
||||
|
||||
package org.openapitools.client.apis
|
||||
|
||||
import io.kotlintest.shouldBe
|
||||
import io.kotlintest.specs.ShouldSpec
|
||||
|
||||
import org.openapitools.client.apis.BodyApi
|
||||
import org.openapitools.client.models.Pet
|
||||
import org.openapitools.client.models.Tag
|
||||
|
||||
class BodyApiTest : ShouldSpec() {
|
||||
init {
|
||||
// uncomment below to create an instance of BodyApi
|
||||
//val apiInstance = BodyApi()
|
||||
|
||||
// to test testBinaryGif
|
||||
should("test testBinaryGif") {
|
||||
// uncomment below to test testBinaryGif
|
||||
//val result : java.io.File = apiInstance.testBinaryGif()
|
||||
//result shouldBe ("TODO")
|
||||
}
|
||||
|
||||
// to test testBodyApplicationOctetstreamBinary
|
||||
should("test testBodyApplicationOctetstreamBinary") {
|
||||
// uncomment below to test testBodyApplicationOctetstreamBinary
|
||||
//val body : java.io.File = BINARY_DATA_HERE // java.io.File |
|
||||
//val result : kotlin.String = apiInstance.testBodyApplicationOctetstreamBinary(body)
|
||||
//result shouldBe ("TODO")
|
||||
}
|
||||
|
||||
// to test testBodyMultipartFormdataArrayOfBinary
|
||||
should("test testBodyMultipartFormdataArrayOfBinary") {
|
||||
// uncomment below to test testBodyMultipartFormdataArrayOfBinary
|
||||
//val files : kotlin.collections.List<java.io.File> = /path/to/file.txt // kotlin.collections.List<java.io.File> |
|
||||
//val result : kotlin.String = apiInstance.testBodyMultipartFormdataArrayOfBinary(files)
|
||||
//result shouldBe ("TODO")
|
||||
}
|
||||
|
||||
// to test testBodyMultipartFormdataSingleBinary
|
||||
should("test testBodyMultipartFormdataSingleBinary") {
|
||||
// uncomment below to test testBodyMultipartFormdataSingleBinary
|
||||
//val myFile : java.io.File = BINARY_DATA_HERE // java.io.File |
|
||||
//val result : kotlin.String = apiInstance.testBodyMultipartFormdataSingleBinary(myFile)
|
||||
//result shouldBe ("TODO")
|
||||
}
|
||||
|
||||
// to test testEchoBodyFreeFormObjectResponseString
|
||||
should("test testEchoBodyFreeFormObjectResponseString") {
|
||||
// uncomment below to test testEchoBodyFreeFormObjectResponseString
|
||||
//val body : kotlin.Any = Object // kotlin.Any | Free form object
|
||||
//val result : kotlin.String = apiInstance.testEchoBodyFreeFormObjectResponseString(body)
|
||||
//result shouldBe ("TODO")
|
||||
}
|
||||
|
||||
// to test testEchoBodyPet
|
||||
should("test testEchoBodyPet") {
|
||||
// uncomment below to test testEchoBodyPet
|
||||
//val pet : Pet = // Pet | Pet object that needs to be added to the store
|
||||
//val result : Pet = apiInstance.testEchoBodyPet(pet)
|
||||
//result shouldBe ("TODO")
|
||||
}
|
||||
|
||||
// to test testEchoBodyPetResponseString
|
||||
should("test testEchoBodyPetResponseString") {
|
||||
// uncomment below to test testEchoBodyPetResponseString
|
||||
//val pet : Pet = // Pet | Pet object that needs to be added to the store
|
||||
//val result : kotlin.String = apiInstance.testEchoBodyPetResponseString(pet)
|
||||
//result shouldBe ("TODO")
|
||||
}
|
||||
|
||||
// to test testEchoBodyTagResponseString
|
||||
should("test testEchoBodyTagResponseString") {
|
||||
// uncomment below to test testEchoBodyTagResponseString
|
||||
//val tag : Tag = // Tag | Tag object
|
||||
//val result : kotlin.String = apiInstance.testEchoBodyTagResponseString(tag)
|
||||
//result shouldBe ("TODO")
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
/**
|
||||
*
|
||||
* Please note:
|
||||
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* Do not edit this file manually.
|
||||
*
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"ArrayInDataClass",
|
||||
"EnumEntryName",
|
||||
"RemoveRedundantQualifierName",
|
||||
"UnusedImport"
|
||||
)
|
||||
|
||||
package org.openapitools.client.apis
|
||||
|
||||
import io.kotlintest.shouldBe
|
||||
import io.kotlintest.specs.ShouldSpec
|
||||
|
||||
import org.openapitools.client.apis.FormApi
|
||||
|
||||
class FormApiTest : ShouldSpec() {
|
||||
init {
|
||||
// uncomment below to create an instance of FormApi
|
||||
//val apiInstance = FormApi()
|
||||
|
||||
// to test testFormIntegerBooleanString
|
||||
should("test testFormIntegerBooleanString") {
|
||||
// uncomment below to test testFormIntegerBooleanString
|
||||
//val integerForm : kotlin.Int = 56 // kotlin.Int |
|
||||
//val booleanForm : kotlin.Boolean = true // kotlin.Boolean |
|
||||
//val stringForm : kotlin.String = stringForm_example // kotlin.String |
|
||||
//val result : kotlin.String = apiInstance.testFormIntegerBooleanString(integerForm, booleanForm, stringForm)
|
||||
//result shouldBe ("TODO")
|
||||
}
|
||||
|
||||
// to test testFormOneof
|
||||
should("test testFormOneof") {
|
||||
// uncomment below to test testFormOneof
|
||||
//val form1 : kotlin.String = form1_example // kotlin.String |
|
||||
//val form2 : kotlin.Int = 56 // kotlin.Int |
|
||||
//val form3 : kotlin.String = form3_example // kotlin.String |
|
||||
//val form4 : kotlin.Boolean = true // kotlin.Boolean |
|
||||
//val id : kotlin.Long = 789 // kotlin.Long |
|
||||
//val name : kotlin.String = name_example // kotlin.String |
|
||||
//val result : kotlin.String = apiInstance.testFormOneof(form1, form2, form3, form4, id, name)
|
||||
//result shouldBe ("TODO")
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
/**
|
||||
*
|
||||
* Please note:
|
||||
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* Do not edit this file manually.
|
||||
*
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"ArrayInDataClass",
|
||||
"EnumEntryName",
|
||||
"RemoveRedundantQualifierName",
|
||||
"UnusedImport"
|
||||
)
|
||||
|
||||
package org.openapitools.client.apis
|
||||
|
||||
import io.kotlintest.shouldBe
|
||||
import io.kotlintest.specs.ShouldSpec
|
||||
|
||||
import org.openapitools.client.apis.HeaderApi
|
||||
import org.openapitools.client.models.StringEnumRef
|
||||
|
||||
class HeaderApiTest : ShouldSpec() {
|
||||
init {
|
||||
// uncomment below to create an instance of HeaderApi
|
||||
//val apiInstance = HeaderApi()
|
||||
|
||||
// to test testHeaderIntegerBooleanStringEnums
|
||||
should("test testHeaderIntegerBooleanStringEnums") {
|
||||
// uncomment below to test testHeaderIntegerBooleanStringEnums
|
||||
//val integerHeader : kotlin.Int = 56 // kotlin.Int |
|
||||
//val booleanHeader : kotlin.Boolean = true // kotlin.Boolean |
|
||||
//val stringHeader : kotlin.String = stringHeader_example // kotlin.String |
|
||||
//val enumNonrefStringHeader : kotlin.String = enumNonrefStringHeader_example // kotlin.String |
|
||||
//val enumRefStringHeader : StringEnumRef = // StringEnumRef |
|
||||
//val result : kotlin.String = apiInstance.testHeaderIntegerBooleanStringEnums(integerHeader, booleanHeader, stringHeader, enumNonrefStringHeader, enumRefStringHeader)
|
||||
//result shouldBe ("TODO")
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
/**
|
||||
*
|
||||
* Please note:
|
||||
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* Do not edit this file manually.
|
||||
*
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"ArrayInDataClass",
|
||||
"EnumEntryName",
|
||||
"RemoveRedundantQualifierName",
|
||||
"UnusedImport"
|
||||
)
|
||||
|
||||
package org.openapitools.client.apis
|
||||
|
||||
import io.kotlintest.shouldBe
|
||||
import io.kotlintest.specs.ShouldSpec
|
||||
|
||||
import org.openapitools.client.apis.PathApi
|
||||
import org.openapitools.client.models.StringEnumRef
|
||||
|
||||
class PathApiTest : ShouldSpec() {
|
||||
init {
|
||||
// uncomment below to create an instance of PathApi
|
||||
//val apiInstance = PathApi()
|
||||
|
||||
// to test testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath
|
||||
should("test testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath") {
|
||||
// uncomment below to test testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath
|
||||
//val pathString : kotlin.String = pathString_example // kotlin.String |
|
||||
//val pathInteger : kotlin.Int = 56 // kotlin.Int |
|
||||
//val enumNonrefStringPath : kotlin.String = enumNonrefStringPath_example // kotlin.String |
|
||||
//val enumRefStringPath : StringEnumRef = // StringEnumRef |
|
||||
//val result : kotlin.String = apiInstance.testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath)
|
||||
//result shouldBe ("TODO")
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,85 @@
|
||||
/**
|
||||
*
|
||||
* Please note:
|
||||
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* Do not edit this file manually.
|
||||
*
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"ArrayInDataClass",
|
||||
"EnumEntryName",
|
||||
"RemoveRedundantQualifierName",
|
||||
"UnusedImport"
|
||||
)
|
||||
|
||||
package org.openapitools.client.apis
|
||||
|
||||
import io.kotlintest.shouldBe
|
||||
import io.kotlintest.specs.ShouldSpec
|
||||
|
||||
import org.openapitools.client.apis.QueryApi
|
||||
import org.openapitools.client.models.Pet
|
||||
import org.openapitools.client.models.StringEnumRef
|
||||
import org.openapitools.client.models.TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter
|
||||
|
||||
class QueryApiTest : ShouldSpec() {
|
||||
init {
|
||||
// uncomment below to create an instance of QueryApi
|
||||
//val apiInstance = QueryApi()
|
||||
|
||||
// to test testEnumRefString
|
||||
should("test testEnumRefString") {
|
||||
// uncomment below to test testEnumRefString
|
||||
//val enumNonrefStringQuery : kotlin.String = enumNonrefStringQuery_example // kotlin.String |
|
||||
//val enumRefStringQuery : StringEnumRef = // StringEnumRef |
|
||||
//val result : kotlin.String = apiInstance.testEnumRefString(enumNonrefStringQuery, enumRefStringQuery)
|
||||
//result shouldBe ("TODO")
|
||||
}
|
||||
|
||||
// to test testQueryDatetimeDateString
|
||||
should("test testQueryDatetimeDateString") {
|
||||
// uncomment below to test testQueryDatetimeDateString
|
||||
//val datetimeQuery : java.time.OffsetDateTime = 2013-10-20T19:20:30+01:00 // java.time.OffsetDateTime |
|
||||
//val dateQuery : java.time.LocalDate = 2013-10-20 // java.time.LocalDate |
|
||||
//val stringQuery : kotlin.String = stringQuery_example // kotlin.String |
|
||||
//val result : kotlin.String = apiInstance.testQueryDatetimeDateString(datetimeQuery, dateQuery, stringQuery)
|
||||
//result shouldBe ("TODO")
|
||||
}
|
||||
|
||||
// to test testQueryIntegerBooleanString
|
||||
should("test testQueryIntegerBooleanString") {
|
||||
// uncomment below to test testQueryIntegerBooleanString
|
||||
//val integerQuery : kotlin.Int = 56 // kotlin.Int |
|
||||
//val booleanQuery : kotlin.Boolean = true // kotlin.Boolean |
|
||||
//val stringQuery : kotlin.String = stringQuery_example // kotlin.String |
|
||||
//val result : kotlin.String = apiInstance.testQueryIntegerBooleanString(integerQuery, booleanQuery, stringQuery)
|
||||
//result shouldBe ("TODO")
|
||||
}
|
||||
|
||||
// to test testQueryStyleDeepObjectExplodeTrueObject
|
||||
should("test testQueryStyleDeepObjectExplodeTrueObject") {
|
||||
// uncomment below to test testQueryStyleDeepObjectExplodeTrueObject
|
||||
//val queryObject : Pet = // Pet |
|
||||
//val result : kotlin.String = apiInstance.testQueryStyleDeepObjectExplodeTrueObject(queryObject)
|
||||
//result shouldBe ("TODO")
|
||||
}
|
||||
|
||||
// to test testQueryStyleFormExplodeTrueArrayString
|
||||
should("test testQueryStyleFormExplodeTrueArrayString") {
|
||||
// uncomment below to test testQueryStyleFormExplodeTrueArrayString
|
||||
//val queryObject : TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter = // TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter |
|
||||
//val result : kotlin.String = apiInstance.testQueryStyleFormExplodeTrueArrayString(queryObject)
|
||||
//result shouldBe ("TODO")
|
||||
}
|
||||
|
||||
// to test testQueryStyleFormExplodeTrueObject
|
||||
should("test testQueryStyleFormExplodeTrueObject") {
|
||||
// uncomment below to test testQueryStyleFormExplodeTrueObject
|
||||
//val queryObject : Pet = // Pet |
|
||||
//val result : kotlin.String = apiInstance.testQueryStyleFormExplodeTrueObject(queryObject)
|
||||
//result shouldBe ("TODO")
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
/**
|
||||
*
|
||||
* Please note:
|
||||
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* Do not edit this file manually.
|
||||
*
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"ArrayInDataClass",
|
||||
"EnumEntryName",
|
||||
"RemoveRedundantQualifierName",
|
||||
"UnusedImport"
|
||||
)
|
||||
|
||||
package org.openapitools.client.models
|
||||
|
||||
import io.kotlintest.shouldBe
|
||||
import io.kotlintest.specs.ShouldSpec
|
||||
|
||||
import org.openapitools.client.models.Bird
|
||||
|
||||
class BirdTest : ShouldSpec() {
|
||||
init {
|
||||
// uncomment below to create an instance of Bird
|
||||
//val modelInstance = Bird()
|
||||
|
||||
// to test the property `propertySize`
|
||||
should("test propertySize") {
|
||||
// uncomment below to test the property
|
||||
//modelInstance.propertySize shouldBe ("TODO")
|
||||
}
|
||||
|
||||
// to test the property `color`
|
||||
should("test color") {
|
||||
// uncomment below to test the property
|
||||
//modelInstance.color shouldBe ("TODO")
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
/**
|
||||
*
|
||||
* Please note:
|
||||
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* Do not edit this file manually.
|
||||
*
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"ArrayInDataClass",
|
||||
"EnumEntryName",
|
||||
"RemoveRedundantQualifierName",
|
||||
"UnusedImport"
|
||||
)
|
||||
|
||||
package org.openapitools.client.models
|
||||
|
||||
import io.kotlintest.shouldBe
|
||||
import io.kotlintest.specs.ShouldSpec
|
||||
|
||||
import org.openapitools.client.models.Category
|
||||
|
||||
class CategoryTest : ShouldSpec() {
|
||||
init {
|
||||
// uncomment below to create an instance of Category
|
||||
//val modelInstance = Category()
|
||||
|
||||
// to test the property `id`
|
||||
should("test id") {
|
||||
// uncomment below to test the property
|
||||
//modelInstance.id shouldBe ("TODO")
|
||||
}
|
||||
|
||||
// to test the property `name`
|
||||
should("test name") {
|
||||
// uncomment below to test the property
|
||||
//modelInstance.name shouldBe ("TODO")
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,78 @@
|
||||
/**
|
||||
*
|
||||
* Please note:
|
||||
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* Do not edit this file manually.
|
||||
*
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"ArrayInDataClass",
|
||||
"EnumEntryName",
|
||||
"RemoveRedundantQualifierName",
|
||||
"UnusedImport"
|
||||
)
|
||||
|
||||
package org.openapitools.client.models
|
||||
|
||||
import io.kotlintest.shouldBe
|
||||
import io.kotlintest.specs.ShouldSpec
|
||||
|
||||
import org.openapitools.client.models.DefaultValue
|
||||
import org.openapitools.client.models.StringEnumRef
|
||||
|
||||
class DefaultValueTest : ShouldSpec() {
|
||||
init {
|
||||
// uncomment below to create an instance of DefaultValue
|
||||
//val modelInstance = DefaultValue()
|
||||
|
||||
// to test the property `arrayStringEnumRefDefault`
|
||||
should("test arrayStringEnumRefDefault") {
|
||||
// uncomment below to test the property
|
||||
//modelInstance.arrayStringEnumRefDefault shouldBe ("TODO")
|
||||
}
|
||||
|
||||
// to test the property `arrayStringEnumDefault`
|
||||
should("test arrayStringEnumDefault") {
|
||||
// uncomment below to test the property
|
||||
//modelInstance.arrayStringEnumDefault shouldBe ("TODO")
|
||||
}
|
||||
|
||||
// to test the property `arrayStringDefault`
|
||||
should("test arrayStringDefault") {
|
||||
// uncomment below to test the property
|
||||
//modelInstance.arrayStringDefault shouldBe ("TODO")
|
||||
}
|
||||
|
||||
// to test the property `arrayIntegerDefault`
|
||||
should("test arrayIntegerDefault") {
|
||||
// uncomment below to test the property
|
||||
//modelInstance.arrayIntegerDefault shouldBe ("TODO")
|
||||
}
|
||||
|
||||
// to test the property `arrayString`
|
||||
should("test arrayString") {
|
||||
// uncomment below to test the property
|
||||
//modelInstance.arrayString shouldBe ("TODO")
|
||||
}
|
||||
|
||||
// to test the property `arrayStringNullable`
|
||||
should("test arrayStringNullable") {
|
||||
// uncomment below to test the property
|
||||
//modelInstance.arrayStringNullable shouldBe ("TODO")
|
||||
}
|
||||
|
||||
// to test the property `arrayStringExtensionNullable`
|
||||
should("test arrayStringExtensionNullable") {
|
||||
// uncomment below to test the property
|
||||
//modelInstance.arrayStringExtensionNullable shouldBe ("TODO")
|
||||
}
|
||||
|
||||
// to test the property `stringNullable`
|
||||
should("test stringNullable") {
|
||||
// uncomment below to test the property
|
||||
//modelInstance.stringNullable shouldBe ("TODO")
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
/**
|
||||
*
|
||||
* Please note:
|
||||
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* Do not edit this file manually.
|
||||
*
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"ArrayInDataClass",
|
||||
"EnumEntryName",
|
||||
"RemoveRedundantQualifierName",
|
||||
"UnusedImport"
|
||||
)
|
||||
|
||||
package org.openapitools.client.models
|
||||
|
||||
import io.kotlintest.shouldBe
|
||||
import io.kotlintest.specs.ShouldSpec
|
||||
|
||||
import org.openapitools.client.models.NumberPropertiesOnly
|
||||
|
||||
class NumberPropertiesOnlyTest : ShouldSpec() {
|
||||
init {
|
||||
// uncomment below to create an instance of NumberPropertiesOnly
|
||||
//val modelInstance = NumberPropertiesOnly()
|
||||
|
||||
// to test the property `number`
|
||||
should("test number") {
|
||||
// uncomment below to test the property
|
||||
//modelInstance.number shouldBe ("TODO")
|
||||
}
|
||||
|
||||
// to test the property `float`
|
||||
should("test float") {
|
||||
// uncomment below to test the property
|
||||
//modelInstance.float shouldBe ("TODO")
|
||||
}
|
||||
|
||||
// to test the property `double`
|
||||
should("test double") {
|
||||
// uncomment below to test the property
|
||||
//modelInstance.double shouldBe ("TODO")
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,67 @@
|
||||
/**
|
||||
*
|
||||
* Please note:
|
||||
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* Do not edit this file manually.
|
||||
*
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"ArrayInDataClass",
|
||||
"EnumEntryName",
|
||||
"RemoveRedundantQualifierName",
|
||||
"UnusedImport"
|
||||
)
|
||||
|
||||
package org.openapitools.client.models
|
||||
|
||||
import io.kotlintest.shouldBe
|
||||
import io.kotlintest.specs.ShouldSpec
|
||||
|
||||
import org.openapitools.client.models.Pet
|
||||
import org.openapitools.client.models.Category
|
||||
import org.openapitools.client.models.Tag
|
||||
|
||||
class PetTest : ShouldSpec() {
|
||||
init {
|
||||
// uncomment below to create an instance of Pet
|
||||
//val modelInstance = Pet()
|
||||
|
||||
// to test the property `name`
|
||||
should("test name") {
|
||||
// uncomment below to test the property
|
||||
//modelInstance.name shouldBe ("TODO")
|
||||
}
|
||||
|
||||
// to test the property `photoUrls`
|
||||
should("test photoUrls") {
|
||||
// uncomment below to test the property
|
||||
//modelInstance.photoUrls shouldBe ("TODO")
|
||||
}
|
||||
|
||||
// to test the property `id`
|
||||
should("test id") {
|
||||
// uncomment below to test the property
|
||||
//modelInstance.id shouldBe ("TODO")
|
||||
}
|
||||
|
||||
// to test the property `category`
|
||||
should("test category") {
|
||||
// uncomment below to test the property
|
||||
//modelInstance.category shouldBe ("TODO")
|
||||
}
|
||||
|
||||
// to test the property `tags`
|
||||
should("test tags") {
|
||||
// uncomment below to test the property
|
||||
//modelInstance.tags shouldBe ("TODO")
|
||||
}
|
||||
|
||||
// to test the property `status` - pet status in the store
|
||||
should("test status") {
|
||||
// uncomment below to test the property
|
||||
//modelInstance.status shouldBe ("TODO")
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
/**
|
||||
*
|
||||
* Please note:
|
||||
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* Do not edit this file manually.
|
||||
*
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"ArrayInDataClass",
|
||||
"EnumEntryName",
|
||||
"RemoveRedundantQualifierName",
|
||||
"UnusedImport"
|
||||
)
|
||||
|
||||
package org.openapitools.client.models
|
||||
|
||||
import io.kotlintest.shouldBe
|
||||
import io.kotlintest.specs.ShouldSpec
|
||||
|
||||
import org.openapitools.client.models.Query
|
||||
|
||||
class QueryTest : ShouldSpec() {
|
||||
init {
|
||||
// uncomment below to create an instance of Query
|
||||
//val modelInstance = Query()
|
||||
|
||||
// to test the property `id` - Query
|
||||
should("test id") {
|
||||
// uncomment below to test the property
|
||||
//modelInstance.id shouldBe ("TODO")
|
||||
}
|
||||
|
||||
// to test the property `outcomes`
|
||||
should("test outcomes") {
|
||||
// uncomment below to test the property
|
||||
//modelInstance.outcomes shouldBe ("TODO")
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
/**
|
||||
*
|
||||
* Please note:
|
||||
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* Do not edit this file manually.
|
||||
*
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"ArrayInDataClass",
|
||||
"EnumEntryName",
|
||||
"RemoveRedundantQualifierName",
|
||||
"UnusedImport"
|
||||
)
|
||||
|
||||
package org.openapitools.client.models
|
||||
|
||||
import io.kotlintest.shouldBe
|
||||
import io.kotlintest.specs.ShouldSpec
|
||||
|
||||
import org.openapitools.client.models.StringEnumRef
|
||||
|
||||
class StringEnumRefTest : ShouldSpec() {
|
||||
init {
|
||||
// uncomment below to create an instance of StringEnumRef
|
||||
//val modelInstance = StringEnumRef()
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
/**
|
||||
*
|
||||
* Please note:
|
||||
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* Do not edit this file manually.
|
||||
*
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"ArrayInDataClass",
|
||||
"EnumEntryName",
|
||||
"RemoveRedundantQualifierName",
|
||||
"UnusedImport"
|
||||
)
|
||||
|
||||
package org.openapitools.client.models
|
||||
|
||||
import io.kotlintest.shouldBe
|
||||
import io.kotlintest.specs.ShouldSpec
|
||||
|
||||
import org.openapitools.client.models.Tag
|
||||
|
||||
class TagTest : ShouldSpec() {
|
||||
init {
|
||||
// uncomment below to create an instance of Tag
|
||||
//val modelInstance = Tag()
|
||||
|
||||
// to test the property `id`
|
||||
should("test id") {
|
||||
// uncomment below to test the property
|
||||
//modelInstance.id shouldBe ("TODO")
|
||||
}
|
||||
|
||||
// to test the property `name`
|
||||
should("test name") {
|
||||
// uncomment below to test the property
|
||||
//modelInstance.name shouldBe ("TODO")
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
/**
|
||||
*
|
||||
* Please note:
|
||||
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* Do not edit this file manually.
|
||||
*
|
||||
*/
|
||||
|
||||
@file:Suppress(
|
||||
"ArrayInDataClass",
|
||||
"EnumEntryName",
|
||||
"RemoveRedundantQualifierName",
|
||||
"UnusedImport"
|
||||
)
|
||||
|
||||
package org.openapitools.client.models
|
||||
|
||||
import io.kotlintest.shouldBe
|
||||
import io.kotlintest.specs.ShouldSpec
|
||||
|
||||
import org.openapitools.client.models.TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter
|
||||
|
||||
class TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameterTest : ShouldSpec() {
|
||||
init {
|
||||
// uncomment below to create an instance of TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter
|
||||
//val modelInstance = TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter()
|
||||
|
||||
// to test the property `propertyValues`
|
||||
should("test propertyValues") {
|
||||
// uncomment below to test the property
|
||||
//modelInstance.propertyValues shouldBe ("TODO")
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user