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:
William Cheng
2024-02-21 18:29:23 +08:00
committed by GitHub
parent 3af7363e76
commit f191904297
318 changed files with 19705 additions and 1 deletions

View File

@@ -0,0 +1,37 @@
/**
*
* 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.DefaultApi
import org.openapitools.client.models.Apa
class DefaultApiTest : ShouldSpec() {
init {
// uncomment below to create an instance of DefaultApi
//val apiInstance = DefaultApi()
// to test testPost
should("test testPost") {
// uncomment below to test testPost
//val apa : Apa = // Apa |
//apiInstance.testPost(apa)
}
}
}

View File

@@ -0,0 +1,65 @@
/**
*
* 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.Apa
class ApaTest : ShouldSpec() {
init {
// uncomment below to create an instance of Apa
//val modelInstance = Apa()
// to test the property `bepa`
should("test bepa") {
// uncomment below to test the property
//modelInstance.bepa shouldBe ("TODO")
}
// to test the property `cepa`
should("test cepa") {
// uncomment below to test the property
//modelInstance.cepa shouldBe ("TODO")
}
// to test the property `depa`
should("test depa") {
// uncomment below to test the property
//modelInstance.depa shouldBe ("TODO")
}
// to test the property `epa`
should("test epa") {
// uncomment below to test the property
//modelInstance.epa shouldBe ("TODO")
}
// to test the property `fepa`
should("test fepa") {
// uncomment below to test the property
//modelInstance.fepa shouldBe ("TODO")
}
// to test the property `gepa`
should("test gepa") {
// uncomment below to test the property
//modelInstance.gepa shouldBe ("TODO")
}
}
}