mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-19 19:17:05 +00:00
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,36 @@
|
||||
/**
|
||||
*
|
||||
* 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
|
||||
|
||||
class DefaultApiTest : ShouldSpec() {
|
||||
init {
|
||||
// uncomment below to create an instance of DefaultApi
|
||||
//val apiInstance = DefaultApi()
|
||||
|
||||
// to test idsGet
|
||||
should("test idsGet") {
|
||||
// uncomment below to test idsGet
|
||||
//val ids : kotlin.collections.List<kotlin.String> = // kotlin.collections.List<kotlin.String> |
|
||||
//apiInstance.idsGet(ids)
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user