diff --git a/bin/configs/kotlin-model-prefix-type-mapping.yaml b/bin/configs/kotlin-model-prefix-type-mapping.yaml
index 841b5af060d0..15b0d3d885e0 100644
--- a/bin/configs/kotlin-model-prefix-type-mapping.yaml
+++ b/bin/configs/kotlin-model-prefix-type-mapping.yaml
@@ -11,5 +11,6 @@ additionalProperties:
library: jvm-retrofit2
enumPropertyNaming: UPPERCASE
serializationLibrary: gson
+ generateOneOfAnyOfWrappers: true
openapiNormalizer:
SIMPLIFY_ONEOF_ANYOF: false
diff --git a/docs/generators/kotlin.md b/docs/generators/kotlin.md
index 136f31d18716..060b0d2c6260 100644
--- a/docs/generators/kotlin.md
+++ b/docs/generators/kotlin.md
@@ -25,6 +25,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|collectionType|Option. Collection type to use|
- **array**
- kotlin.Array
- **list**
- kotlin.collections.List
|list|
|dateLibrary|Option. Date library to use|- **threetenbp-localdatetime**
- Threetenbp - Backport of JSR310 (jvm only, for legacy app only)
- **kotlinx-datetime**
- kotlinx-datetime (preferred for multiplatform)
- **string**
- String
- **java8-localdatetime**
- Java 8 native JSR310 (jvm only, for legacy app only)
- **java8**
- Java 8 native JSR310 (jvm only, preferred for jdk 1.8+)
- **threetenbp**
- Threetenbp - Backport of JSR310 (jvm only, preferred for jdk < 1.8)
|java8|
|enumPropertyNaming|Naming convention for enum properties: 'camelCase', 'PascalCase', 'snake_case', 'UPPERCASE', and 'original'| |original|
+|generateOneOfAnyOfWrappers|Generate oneOf, anyOf schemas as wrappers.| |false|
|generateRoomModels|Generate Android Room database models in addition to API models (JVM Volley library only)| |false|
|groupId|Generated artifact package's organization (i.e. maven groupId).| |org.openapitools|
|idea|Add IntellJ Idea plugin and mark Kotlin main and test folders as source folders.| |false|
diff --git a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/KotlinClientCodegen.java b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/KotlinClientCodegen.java
index d550c452f328..3d6aa533249b 100644
--- a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/KotlinClientCodegen.java
+++ b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/KotlinClientCodegen.java
@@ -26,6 +26,7 @@
import java.util.stream.Collectors;
import java.util.stream.Stream;
+import com.samskivert.mustache.Mustache;
import org.apache.commons.lang3.StringUtils;
import org.openapitools.codegen.CliOption;
import org.openapitools.codegen.CodegenConstants;
@@ -89,6 +90,8 @@ public class KotlinClientCodegen extends AbstractKotlinCodegen {
public static final String SUPPORT_ANDROID_API_LEVEL_25_AND_BELLOW = "supportAndroidApiLevel25AndBelow";
+ public static final String GENERATE_ONEOF_ANYOF_WRAPPERS = "generateOneOfAnyOfWrappers";
+
protected static final String VENDOR_EXTENSION_BASE_NAME_LITERAL = "x-base-name-literal";
protected String dateLibrary = DateLibrary.JAVA8.value;
@@ -102,11 +105,13 @@ public class KotlinClientCodegen extends AbstractKotlinCodegen {
protected boolean generateRoomModels = false;
protected String roomModelPackage = "";
protected boolean omitGradleWrapper = false;
+ protected boolean generateOneOfAnyOfWrappers = true;
protected String authFolder;
protected SERIALIZATION_LIBRARY_TYPE serializationLibrary = SERIALIZATION_LIBRARY_TYPE.moshi;
public static final String SERIALIZATION_LIBRARY_DESC = "What serialization library to use: 'moshi' (default), or 'gson' or 'jackson' or 'kotlinx_serialization'";
+
public enum SERIALIZATION_LIBRARY_TYPE {moshi, gson, jackson, kotlinx_serialization}
public enum DateLibrary {
@@ -259,6 +264,8 @@ public KotlinClientCodegen() {
cliOptions.add(CliOption.newBoolean(SUPPORT_ANDROID_API_LEVEL_25_AND_BELLOW, "[WARNING] This flag will generate code that has a known security vulnerability. It uses `kotlin.io.createTempFile` instead of `java.nio.file.Files.createTempFile` in order to support Android API level 25 and bellow. For more info, please check the following links https://github.com/OpenAPITools/openapi-generator/security/advisories/GHSA-23x4-m842-fmwf, https://github.com/OpenAPITools/openapi-generator/pull/9284"));
+ cliOptions.add(CliOption.newBoolean(GENERATE_ONEOF_ANYOF_WRAPPERS, "Generate oneOf, anyOf schemas as wrappers."));
+
CliOption serializationLibraryOpt = new CliOption(CodegenConstants.SERIALIZATION_LIBRARY, SERIALIZATION_LIBRARY_DESC);
cliOptions.add(serializationLibraryOpt.defaultValue(serializationLibrary.name()));
}
@@ -283,6 +290,10 @@ public boolean getOmitGradleWrapper() {
return omitGradleWrapper;
}
+ public boolean getGenerateOneOfAnyOfWrappers() {
+ return generateOneOfAnyOfWrappers;
+ }
+
public void setGenerateRoomModels(Boolean generateRoomModels) {
this.generateRoomModels = generateRoomModels;
}
@@ -332,6 +343,10 @@ public void setOmitGradleWrapper(boolean omitGradleWrapper) {
this.omitGradleWrapper = omitGradleWrapper;
}
+ public void setGenerateOneOfAnyOfWrappers(boolean generateOneOfAnyOfWrappers) {
+ this.generateOneOfAnyOfWrappers = generateOneOfAnyOfWrappers;
+ }
+
public SERIALIZATION_LIBRARY_TYPE getSerializationLibrary() {
return this.serializationLibrary;
}
@@ -443,6 +458,10 @@ public void processOpts() {
additionalProperties.put(this.serializationLibrary.name(), true);
}
+ if (additionalProperties.containsKey(GENERATE_ONEOF_ANYOF_WRAPPERS)) {
+ setGenerateOneOfAnyOfWrappers(Boolean.parseBoolean(additionalProperties.get(GENERATE_ONEOF_ANYOF_WRAPPERS).toString()));
+ }
+
commonSupportingFiles();
switch (getLibrary()) {
@@ -513,6 +532,14 @@ public void processOpts() {
supportingFiles.add(new SupportingFile("auth/HttpBasicAuth.kt.mustache", authFolder, "HttpBasicAuth.kt"));
}
}
+
+ additionalProperties.put("sanitizeGeneric", (Mustache.Lambda) (fragment, writer) -> {
+ String content = fragment.execute();
+ for (final String s : List.of("<", ">", ",", " ", ".")) {
+ content = content.replace(s, "");
+ }
+ writer.write(content);
+ });
}
private void processDateLibrary() {
@@ -874,7 +901,7 @@ public ModelsMap postProcessModels(ModelsMap objs) {
for (ModelMap mo : objects.getModels()) {
CodegenModel cm = mo.getModel();
- if (getGenerateRoomModels()) {
+ if (getGenerateRoomModels() || getGenerateOneOfAnyOfWrappers()) {
cm.vendorExtensions.put("x-has-data-class-body", true);
}
diff --git a/modules/openapi-generator/src/main/resources/kotlin-client/README.mustache b/modules/openapi-generator/src/main/resources/kotlin-client/README.mustache
index 3835db560739..5d4f0e1cdf81 100644
--- a/modules/openapi-generator/src/main/resources/kotlin-client/README.mustache
+++ b/modules/openapi-generator/src/main/resources/kotlin-client/README.mustache
@@ -59,9 +59,9 @@ This runs all tests and packages the library.
All URIs are relative to *{{{basePath}}}*
-Class | Method | HTTP request | Description
------------- | ------------- | ------------- | -------------
-{{#apiInfo}}{{#apis}}{{#operations}}{{#operation}}*{{classname}}* | [**{{operationId}}**]({{apiDocPath}}{{classname}}.md#{{operationIdLowerCase}}) | **{{httpMethod}}** {{path}} | {{{summary}}}
+| Class | Method | HTTP request | Description |
+| ------------ | ------------- | ------------- | ------------- |
+{{#apiInfo}}{{#apis}}{{#operations}}{{#operation}}| *{{classname}}* | [**{{operationId}}**]({{apiDocPath}}{{classname}}.md#{{operationIdLowerCase}}) | **{{httpMethod}}** {{path}} | {{{summary}}} |
{{/operation}}{{/operations}}{{/apis}}{{/apiInfo}}
{{/generateApiDocs}}
diff --git a/modules/openapi-generator/src/main/resources/kotlin-client/anyof_class.mustache b/modules/openapi-generator/src/main/resources/kotlin-client/anyof_class.mustache
new file mode 100644
index 000000000000..abdc6d529cf4
--- /dev/null
+++ b/modules/openapi-generator/src/main/resources/kotlin-client/anyof_class.mustache
@@ -0,0 +1,243 @@
+{{^multiplatform}}
+{{#gson}}
+{{#generateOneOfAnyOfWrappers}}
+import com.google.gson.Gson
+import com.google.gson.JsonElement
+import com.google.gson.TypeAdapter
+import com.google.gson.TypeAdapterFactory
+import com.google.gson.reflect.TypeToken
+import com.google.gson.stream.JsonReader
+import com.google.gson.stream.JsonWriter
+import com.google.gson.annotations.JsonAdapter
+{{/generateOneOfAnyOfWrappers}}
+import com.google.gson.annotations.SerializedName
+{{/gson}}
+{{#moshi}}
+import com.squareup.moshi.Json
+import com.squareup.moshi.JsonClass
+{{/moshi}}
+{{#jackson}}
+{{#enumUnknownDefaultCase}}
+import com.fasterxml.jackson.annotation.JsonEnumDefaultValue
+{{/enumUnknownDefaultCase}}
+import com.fasterxml.jackson.annotation.JsonProperty
+{{#discriminator}}
+import com.fasterxml.jackson.annotation.JsonSubTypes
+import com.fasterxml.jackson.annotation.JsonTypeInfo
+{{/discriminator}}
+{{/jackson}}
+{{#kotlinx_serialization}}
+import {{#serializableModel}}kotlinx.serialization.Serializable as KSerializable{{/serializableModel}}{{^serializableModel}}kotlinx.serialization.Serializable{{/serializableModel}}
+import kotlinx.serialization.SerialName
+import kotlinx.serialization.Contextual
+{{#enumUnknownDefaultCase}}
+import kotlinx.serialization.KSerializer
+import kotlinx.serialization.Serializer
+import kotlinx.serialization.builtins.serializer
+import kotlinx.serialization.encoding.Decoder
+import kotlinx.serialization.encoding.Encoder
+{{/enumUnknownDefaultCase}}
+{{#hasEnums}}
+{{/hasEnums}}
+{{/kotlinx_serialization}}
+{{#parcelizeModels}}
+import android.os.Parcelable
+import kotlinx.parcelize.Parcelize
+{{/parcelizeModels}}
+{{/multiplatform}}
+{{#multiplatform}}
+import kotlinx.serialization.*
+import kotlinx.serialization.descriptors.*
+import kotlinx.serialization.encoding.*
+{{/multiplatform}}
+{{#serializableModel}}
+import java.io.Serializable
+{{/serializableModel}}
+{{#generateRoomModels}}
+import {{roomModelPackage}}.{{classname}}RoomModel
+import {{packageName}}.infrastructure.ITransformForStorage
+{{/generateRoomModels}}
+import java.io.IOException
+
+/**
+ * {{{description}}}
+ *
+ */
+{{#parcelizeModels}}
+@Parcelize
+{{/parcelizeModels}}
+{{#multiplatform}}{{^discriminator}}@Serializable{{/discriminator}}{{/multiplatform}}{{#kotlinx_serialization}}{{#serializableModel}}@KSerializable{{/serializableModel}}{{^serializableModel}}@Serializable{{/serializableModel}}{{/kotlinx_serialization}}{{#moshi}}{{#moshiCodeGen}}@JsonClass(generateAdapter = true){{/moshiCodeGen}}{{/moshi}}{{#jackson}}{{#discriminator}}{{>typeInfoAnnotation}}{{/discriminator}}{{/jackson}}
+{{#isDeprecated}}
+@Deprecated(message = "This schema is deprecated.")
+{{/isDeprecated}}
+{{>additionalModelTypeAnnotations}}
+{{#nonPublicApi}}internal {{/nonPublicApi}}data class {{classname}}(var actualInstance: Any? = null) {
+
+ class CustomTypeAdapterFactory : TypeAdapterFactory {
+ override fun create(gson: Gson, type: TypeToken): TypeAdapter? {
+ if (!{{classname}}::class.java.isAssignableFrom(type.rawType)) {
+ return null // this class only serializes '{{classname}}' and its subtypes
+ }
+ val elementAdapter = gson.getAdapter(JsonElement::class.java)
+ {{#composedSchemas}}
+ {{#anyOf}}
+ {{^isArray}}
+ {{^vendorExtensions.x-duplicated-data-type}}
+ val adapter{{{dataType}}} = gson.getDelegateAdapter(this, TypeToken.get({{{dataType}}}::class.java))
+ {{/vendorExtensions.x-duplicated-data-type}}
+ {{/isArray}}
+ {{#isArray}}
+ @Suppress("UNCHECKED_CAST")
+ val adapter{{#sanitizeGeneric}}{{{dataType}}}{{/sanitizeGeneric}} = gson.getDelegateAdapter(this, TypeToken.get(object : TypeToken<{{{dataType}}}>() {}.type)) as TypeAdapter<{{{dataType}}}>
+ {{/isArray}}
+ {{/anyOf}}
+ {{/composedSchemas}}
+
+ @Suppress("UNCHECKED_CAST")
+ return object : TypeAdapter<{{classname}}?>() {
+ @Throws(IOException::class)
+ override fun write(out: JsonWriter,value: {{classname}}?) {
+ if (value?.actualInstance == null) {
+ elementAdapter.write(out, null)
+ return
+ }
+
+ {{#composedSchemas}}
+ {{#anyOf}}
+ {{^vendorExtensions.x-duplicated-data-type}}
+ // check if the actual instance is of the type `{{{dataType}}}`
+ if (value.actualInstance is {{#isArray}}List<*>{{/isArray}}{{^isArray}}{{{dataType}}}{{/isArray}}) {
+ {{#isPrimitiveType}}
+ val primitive = adapter{{#sanitizeGeneric}}{{{dataType}}}{{/sanitizeGeneric}}.toJsonTree(value.actualInstance as {{{dataType}}}?).getAsJsonPrimitive()
+ elementAdapter.write(out, primitive)
+ return
+ {{/isPrimitiveType}}
+ {{^isPrimitiveType}}
+ {{#isArray}}
+ List> list = (List>) value.actualInstance
+ if (list.get(0) is {{{items.dataType}}}) {
+ val array = adapter{{#sanitizeGeneric}}{{{dataType}}}{{/sanitizeGeneric}}.toJsonTree(value.actualInstance as {{{dataType}}}?).getAsJsonArray()
+ elementAdapter.write(out, array)
+ return
+ }
+ {{/isArray}}
+ {{/isPrimitiveType}}
+ {{^isArray}}
+ {{^isPrimitiveType}}
+ val element = adapter{{{dataType}}}.toJsonTree(value.actualInstance as {{{dataType}}}?)
+ elementAdapter.write(out, element)
+ return
+ {{/isPrimitiveType}}
+ {{/isArray}}
+ }
+ {{/vendorExtensions.x-duplicated-data-type}}
+ {{/anyOf}}
+ {{/composedSchemas}}
+ throw IOException("Failed to serialize as the type doesn't match anyOf schemas: {{#anyOf}}{{{.}}}{{^-last}}, {{/-last}}{{/anyOf}}")
+ }
+
+ @Throws(IOException::class)
+ override fun read(jsonReader: JsonReader): {{classname}} {
+ val jsonElement = elementAdapter.read(jsonReader)
+ val errorMessages = ArrayList()
+ var actualAdapter: TypeAdapter<*>
+ val ret = {{classname}}()
+
+ {{#composedSchemas}}
+ {{#anyOf}}
+ {{^vendorExtensions.x-duplicated-data-type}}
+ {{^hasVars}}
+ // deserialize {{{dataType}}}
+ try {
+ // validate the JSON object to see if any exception is thrown
+ {{^isArray}}
+ {{#isNumber}}
+ require(jsonElement.getAsJsonPrimitive().isNumber()) {
+ String.format("Expected json element to be of type Number in the JSON string but got `%s`", jsonElement.toString())
+ }
+ actualAdapter = adapter{{#sanitizeGeneric}}{{{dataType}}}{{/sanitizeGeneric}}
+ ret.actualInstance = actualAdapter.fromJsonTree(jsonElement)
+ return ret
+ {{/isNumber}}
+ {{^isNumber}}
+ {{#isPrimitiveType}}
+ require(jsonElement.getAsJsonPrimitive().is{{#isBoolean}}Boolean{{/isBoolean}}{{#isString}}String{{/isString}}{{^isString}}{{^isBoolean}}Number{{/isBoolean}}{{/isString}}()) {
+ String.format("Expected json element to be of type {{#isBoolean}}Boolean{{/isBoolean}}{{#isString}}String{{/isString}}{{^isString}}{{^isBoolean}}Number{{/isBoolean}}{{/isString}} in the JSON string but got `%s`", jsonElement.toString())
+ }
+ actualAdapter = adapter{{#sanitizeGeneric}}{{{dataType}}}{{/sanitizeGeneric}}
+ ret.actualInstance = actualAdapter.fromJsonTree(jsonElement)
+ return ret
+ {{/isPrimitiveType}}
+ {{/isNumber}}
+ {{^isNumber}}
+ {{^isPrimitiveType}}
+ {{{dataType}}}.validateJsonElement(jsonElement)
+ actualAdapter = adapter{{#sanitizeGeneric}}{{{dataType}}}{{/sanitizeGeneric}}
+ ret.actualInstance = actualAdapter.fromJsonTree(jsonElement)
+ return ret
+ {{/isPrimitiveType}}
+ {{/isNumber}}
+ {{/isArray}}
+ {{#isArray}}
+ require(jsonElement.isJsonArray) {
+ String.format("Expected json element to be a array type in the JSON string but got `%s`", jsonElement.toString())
+ }
+
+ // validate array items
+ for(element in jsonElement.getAsJsonArray()) {
+ {{#items}}
+ {{#isNumber}}
+ require(jsonElement.getAsJsonPrimitive().isNumber) {
+ String.format("Expected json element to be of type Number in the JSON string but got `%s`", jsonElement.toString())
+ }
+ {{/isNumber}}
+ {{^isNumber}}
+ {{#isPrimitiveType}}
+ require(element.getAsJsonPrimitive().is{{#isBoolean}}Boolean{{/isBoolean}}{{#isString}}String{{/isString}}{{^isString}}{{^isBoolean}}Number{{/isBoolean}}{{/isString}}) {
+ String.format("Expected array items to be of type {{#isBoolean}}Boolean{{/isBoolean}}{{#isString}}String{{/isString}}{{^isString}}{{^isBoolean}}Number{{/isBoolean}}{{/isString}} in the JSON string but got `%s`", jsonElement.toString())
+ }
+ {{/isPrimitiveType}}
+ {{/isNumber}}
+ {{^isNumber}}
+ {{^isPrimitiveType}}
+ {{{dataType}}}.validateJsonElement(element)
+ {{/isPrimitiveType}}
+ {{/isNumber}}
+ {{/items}}
+ }
+ actualAdapter = adapter{{#sanitizeGeneric}}{{{dataType}}}{{/sanitizeGeneric}}
+ ret.actualInstance = actualAdapter.fromJsonTree(jsonElement)
+ return ret
+ {{/isArray}}
+ //log.log(Level.FINER, "Input data matches schema '{{{dataType}}}'")
+ } catch (e: Exception) {
+ // deserialization failed, continue
+ errorMessages.add(String.format("Deserialization for {{{dataType}}} failed with `%s`.", e.message))
+ //log.log(Level.FINER, "Input data does not match schema '{{{dataType}}}'", e)
+ }
+ {{/hasVars}}
+ {{#hasVars}}
+ // deserialize {{{.}}}
+ try {
+ // validate the JSON object to see if any exception is thrown
+ {{.}}.validateJsonElement(jsonElement)
+ log.log(Level.FINER, "Input data matches schema '{{{.}}}'")
+ actualAdapter = adapter{{.}}
+ ret.actualInstance = actualAdapter.fromJsonTree(jsonElement)
+ return ret
+ } catch (e: Exception) {
+ // deserialization failed, continue
+ errorMessages.add(String.format("Deserialization for {{{.}}} failed with `%s`.", e.message))
+ //log.log(Level.FINER, "Input data does not match schema '{{{.}}}'", e)
+ }
+ {{/hasVars}}
+ {{/vendorExtensions.x-duplicated-data-type}}
+ {{/anyOf}}
+ {{/composedSchemas}}
+
+ throw IOException(String.format("Failed deserialization for {{classname}}: no schema match result. Detailed failure message for anyOf schemas: %s. JSON: %s", errorMessages, jsonElement.toString()))
+ }
+ }.nullSafe() as TypeAdapter
+ }
+ }
+}
\ No newline at end of file
diff --git a/modules/openapi-generator/src/main/resources/kotlin-client/api_doc.mustache b/modules/openapi-generator/src/main/resources/kotlin-client/api_doc.mustache
index 5104b96904ec..16eafac78f43 100644
--- a/modules/openapi-generator/src/main/resources/kotlin-client/api_doc.mustache
+++ b/modules/openapi-generator/src/main/resources/kotlin-client/api_doc.mustache
@@ -3,9 +3,9 @@
All URIs are relative to *{{basePath}}*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-{{#operations}}{{#operation}}[**{{operationId}}**]({{classname}}.md#{{operationId}}) | **{{httpMethod}}** {{path}} | {{summary}}
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+{{#operations}}{{#operation}}| [**{{operationId}}**]({{classname}}.md#{{operationId}}) | **{{httpMethod}}** {{path}} | {{summary}} |
{{/operation}}{{/operations}}
{{#operations}}
@@ -42,10 +42,15 @@ try {
```
### Parameters
-{{^allParams}}This endpoint does not need any parameter.{{/allParams}}{{#allParams}}{{#-last}}
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------{{/-last}}{{/allParams}}
-{{#allParams}} **{{paramName}}** | {{#isPrimitiveType}}**{{dataType}}**{{/isPrimitiveType}}{{^isPrimitiveType}}{{#isFile}}**{{dataType}}**{{/isFile}}{{^isFile}}{{#generateModelDocs}}[**{{dataType}}**]({{baseType}}.md){{/generateModelDocs}}{{^generateModelDocs}}**{{dataType}}**{{/generateModelDocs}}{{/isFile}}{{/isPrimitiveType}}| {{description}} |{{^required}} [optional]{{/required}}{{#defaultValue}} [default to {{.}}]{{/defaultValue}}{{#allowableValues}} [enum: {{#values}}{{{.}}}{{^-last}}, {{/-last}}{{/values}}]{{/allowableValues}}
+{{^allParams}}
+This endpoint does not need any parameter.
+{{/allParams}}
+{{#allParams}}
+{{#-last}}
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+{{/-last}}
+| **{{paramName}}** | {{#isPrimitiveType}}**{{dataType}}**{{/isPrimitiveType}}{{^isPrimitiveType}}{{#isFile}}**{{dataType}}**{{/isFile}}{{^isFile}}{{#generateModelDocs}}[**{{dataType}}**]({{baseType}}.md){{/generateModelDocs}}{{^generateModelDocs}}**{{dataType}}**{{/generateModelDocs}}{{/isFile}}{{/isPrimitiveType}}| {{description}} |{{^required}} [optional]{{/required}}{{#defaultValue}} [default to {{.}}]{{/defaultValue}}{{#allowableValues}} [enum: {{#values}}{{{.}}}{{^-last}}, {{/-last}}{{/values}}]{{/allowableValues}} |
{{/allParams}}
### Return type
@@ -84,4 +89,4 @@ Configure {{name}}:
- **Accept**: {{#produces}}{{{mediaType}}}{{^-last}}, {{/-last}}{{/produces}}{{^produces}}Not defined{{/produces}}
{{/operation}}
-{{/operations}}
+{{/operations}}
\ No newline at end of file
diff --git a/modules/openapi-generator/src/main/resources/kotlin-client/class_doc.mustache b/modules/openapi-generator/src/main/resources/kotlin-client/class_doc.mustache
index b6b482afb78b..6ab282918f35 100644
--- a/modules/openapi-generator/src/main/resources/kotlin-client/class_doc.mustache
+++ b/modules/openapi-generator/src/main/resources/kotlin-client/class_doc.mustache
@@ -1,15 +1,15 @@
# {{classname}}
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-{{#vars}}**{{name}}** | {{#isEnum}}[**inline**](#{{datatypeWithEnum}}){{/isEnum}}{{^isEnum}}{{#isPrimitiveType}}**{{dataType}}**{{/isPrimitiveType}}{{^isPrimitiveType}}[**{{dataType}}**]({{complexType}}.md){{/isPrimitiveType}}{{/isEnum}} | {{description}} | {{^required}} [optional]{{/required}}{{#isReadOnly}} [readonly]{{/isReadOnly}}
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+{{#vars}}| **{{name}}** | {{#isEnum}}[**inline**](#{{datatypeWithEnum}}){{/isEnum}}{{^isEnum}}{{#isPrimitiveType}}**{{dataType}}**{{/isPrimitiveType}}{{^isPrimitiveType}}[**{{dataType}}**]({{complexType}}.md){{/isPrimitiveType}}{{/isEnum}} | {{description}} | {{^required}} [optional]{{/required}}{{#isReadOnly}} [readonly]{{/isReadOnly}} |
{{/vars}}
{{#vars}}{{#isEnum}}
{{!NOTE: see java's resources "pojo_doc.mustache" once enums are fully implemented}}
## Enum: {{baseName}}
-Name | Value
----- | -----{{#allowableValues}}
-{{name}} | {{#values}}{{.}}{{^-last}}, {{/-last}}{{/values}}{{/allowableValues}}
+| Name | Value |
+| ---- | ----- |{{#allowableValues}}
+| {{name}} | {{#values}}{{.}}{{^-last}}, {{/-last}}{{/values}}{{/allowableValues}} |
{{/isEnum}}{{/vars}}
diff --git a/modules/openapi-generator/src/main/resources/kotlin-client/data_class.mustache b/modules/openapi-generator/src/main/resources/kotlin-client/data_class.mustache
index 6135a50b0e02..f8b84e10884c 100644
--- a/modules/openapi-generator/src/main/resources/kotlin-client/data_class.mustache
+++ b/modules/openapi-generator/src/main/resources/kotlin-client/data_class.mustache
@@ -1,5 +1,16 @@
{{^multiplatform}}
{{#gson}}
+{{#generateOneOfAnyOfWrappers}}
+import com.google.gson.Gson
+import com.google.gson.JsonElement
+import com.google.gson.TypeAdapter
+import com.google.gson.TypeAdapterFactory
+import com.google.gson.reflect.TypeToken
+import com.google.gson.stream.JsonReader
+import com.google.gson.stream.JsonWriter
+import com.google.gson.annotations.JsonAdapter
+import java.io.IOException
+{{/generateOneOfAnyOfWrappers}}
import com.google.gson.annotations.SerializedName
{{/gson}}
{{#moshi}}
@@ -128,7 +139,9 @@ import {{packageName}}.infrastructure.ITransformForStorage
{{/multiplatform}}
{{/enumVars}}
{{/allowableValues}}
- }{{#kotlinx_serialization}}{{#enumUnknownDefaultCase}}
+ }
+ {{#kotlinx_serialization}}
+ {{#enumUnknownDefaultCase}}
@Serializer(forClass = {{{nameInPascalCase}}}::class)
internal object {{nameInPascalCase}}Serializer : KSerializer<{{nameInPascalCase}}> {
@@ -143,10 +156,208 @@ import {{packageName}}.infrastructure.ITransformForStorage
override fun serialize(encoder: Encoder, value: {{nameInPascalCase}}) {
encoder.encodeSerializableValue({{{dataType}}}.serializer(), value.value)
}
- }{{/enumUnknownDefaultCase}}{{/kotlinx_serialization}}
+ }
+ {{/enumUnknownDefaultCase}}
+ {{/kotlinx_serialization}}
{{/isEnum}}
{{/vars}}
{{/hasEnums}}
+{{#generateOneOfAnyOfWrappers}}
+
+ class CustomTypeAdapterFactory : TypeAdapterFactory {
+ override fun create(gson: Gson, type: TypeToken): TypeAdapter? {
+ if (!{{classname}}::class.java.isAssignableFrom(type.rawType)) {
+ return null // this class only serializes '{{classname}}' and its subtypes
+ }
+ val elementAdapter = gson.getAdapter(JsonElement::class.java)
+ val thisAdapter = gson.getDelegateAdapter(this, TypeToken.get({{classname}}::class.java))
+
+ @Suppress("UNCHECKED_CAST")
+ return object : TypeAdapter<{{classname}}>() {
+ @Throws(IOException::class)
+ override fun write(out: JsonWriter, value: {{classname}}) {
+ val obj = thisAdapter.toJsonTree(value).getAsJsonObject()
+ elementAdapter.write(out, obj)
+ }
+
+ @Throws(IOException::class)
+ override fun read(jsonReader: JsonReader): {{classname}} {
+ val jsonElement = elementAdapter.read(jsonReader)
+ validateJsonElement(jsonElement)
+ return thisAdapter.fromJsonTree(jsonElement)
+ }
+ }.nullSafe() as TypeAdapter
+ }
+ }
+
+ companion object {
+ var openapiFields = HashSet()
+ var openapiRequiredFields = HashSet()
+
+ init {
+ {{#allVars}}
+ {{#-first}}
+ // a set of all properties/fields (JSON key names)
+ {{/-first}}
+ openapiFields.add("{{baseName}}")
+ {{/allVars}}
+
+ {{#requiredVars}}
+ {{#-first}}
+ // a set of required properties/fields (JSON key names)
+ {{/-first}}
+ openapiRequiredFields.add("{{baseName}}")
+ {{/requiredVars}}
+ }
+
+ /**
+ * Validates the JSON Element and throws an exception if issues found
+ *
+ * @param jsonElement JSON Element
+ * @throws IOException if the JSON Element is invalid with respect to {{classname}}
+ */
+ @Throws(IOException::class)
+ fun validateJsonElement(jsonElement: JsonElement?) {
+ if (jsonElement == null) {
+ require(openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null
+ String.format("The required field(s) %s in {{{classname}}} is not found in the empty JSON string", {{classname}}.openapiRequiredFields.toString())
+ }
+ }
+ {{^hasChildren}}
+ {{#requiredVars}}
+ {{#-first}}
+
+ // check to make sure all required properties/fields are present in the JSON string
+ for (requiredField in openapiRequiredFields) {
+ requireNotNull(jsonElement!!.getAsJsonObject()[requiredField]) {
+ String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())
+ }
+ }
+ {{/-first}}
+ {{/requiredVars}}
+ {{/hasChildren}}
+ {{^discriminator}}
+ {{#hasVars}}
+ val jsonObj = jsonElement!!.getAsJsonObject()
+ {{/hasVars}}
+ {{#vars}}
+ {{#isArray}}
+ {{#items.isModel}}
+ {{#required}}
+ // ensure the json data is an array
+ if (!jsonObj.get("{{{baseName}}}").isJsonArray) {
+ throw new IllegalArgumentException(String.format("Expected the field `{{{baseName}}}` to be an array in the JSON string but got `%s`", jsonObj["{{{baseName}}}"].toString()))
+ }
+
+ JsonArray jsonArray{{name}} = jsonObj.getAsJsonArray("{{{baseName}}}")
+ // validate the required field `{{{baseName}}}` (array)
+ for (i in 0 until jsonArray{{name}}.size()) {
+ {{{items.dataType}}}.validateJsonElement(jsonArray{{name}}.get(i))
+ }
+ {{/required}}
+ {{^required}}
+ if (jsonObj["{{{baseName}}}"] != null && !jsonObj["{{{baseName}}}"].isJsonNull) {
+ val jsonArray{{name}} = jsonObj.getAsJsonArray("{{{baseName}}}")
+ if (jsonArray{{name}} != null) {
+ // ensure the json data is an array
+ require(jsonObj["{{{baseName}}}"].isJsonArray) {
+ String.format("Expected the field `{{{baseName}}}` to be an array in the JSON string but got `%s`", jsonObj["{{{baseName}}}"].toString())
+ }
+
+ // validate the optional field `{{{baseName}}}` (array)
+ for (i in 0 until jsonArray{{name}}.size()) {
+ {{{items.dataType}}}.validateJsonElement(jsonArray{{name}}[i])
+ }
+ }
+ }
+ {{/required}}
+ {{/items.isModel}}
+ {{^items.isModel}}
+ {{^required}}
+ // ensure the optional json data is an array if present
+ if (jsonObj["{{{baseName}}}"] != null && !jsonObj["{{{baseName}}}"].isJsonNull) {
+ require(jsonObj["{{{baseName}}}"].isJsonArray()) {
+ String.format("Expected the field `{{{baseName}}}` to be an array in the JSON string but got `%s`", jsonObj["{{{baseName}}}"].toString())
+ }
+ }
+ {{/required}}
+ {{#required}}
+ // ensure the required json array is present
+ requireNotNull(jsonObj["{{{baseName}}}"]) {
+ "Expected the field `{{{baseName}}}` to be an array in the JSON string but got `null`"
+ }
+ require(jsonObj["{{{baseName}}}"].isJsonArray()) {
+ String.format("Expected the field `{{{baseName}}}` to be an array in the JSON string but got `%s`", jsonObj["{{{baseName}}}"].toString())
+ }
+ {{/required}}
+ {{/items.isModel}}
+ {{/isArray}}
+ {{^isContainer}}
+ {{#isString}}
+ {{#notRequiredOrIsNullable}}
+ if (jsonObj["{{{baseName}}}"] != null && !jsonObj["{{{baseName}}}"].isJsonNull) {
+ require(jsonObj.get("{{{baseName}}}").isJsonPrimitive) {
+ String.format("Expected the field `{{{baseName}}}` to be a primitive type in the JSON string but got `%s`", jsonObj["{{{baseName}}}"].toString())
+ }
+ }
+ {{/notRequiredOrIsNullable}}
+ {{^notRequiredOrIsNullable}}
+ require(jsonObj["{{{baseName}}}"].isJsonPrimitive) {
+ String.format("Expected the field `{{{baseName}}}` to be a primitive type in the JSON string but got `%s`", jsonObj["{{{baseName}}}"].toString())
+ }
+ {{/notRequiredOrIsNullable}}
+ {{/isString}}
+ {{#isModel}}
+ {{#required}}
+ // validate the required field `{{{baseName}}}`
+ {{{dataType}}}.validateJsonElement(jsonObj["{{{baseName}}}"])
+ {{/required}}
+ {{^required}}
+ // validate the optional field `{{{baseName}}}`
+ if (jsonObj["{{{baseName}}}"] != null && !jsonObj["{{{baseName}}}"].isJsonNull) {
+ {{{dataType}}}.validateJsonElement(jsonObj["{{{baseName}}}"])
+ }
+ {{/required}}
+ {{/isModel}}
+ {{#isEnum}}
+ {{#required}}
+ // validate the required field `{{{baseName}}}`
+ require({{{datatypeWithEnum}}}.values().any { it.value == jsonObj["{{{baseName}}}"].asString }) {
+ String.format("Expected the field `{{{baseName}}}` to be valid `{{{datatypeWithEnum}}}` enum value in the JSON string but got `%s`", jsonObj["{{{baseName}}}"].toString())
+ }
+ {{/required}}
+ {{^required}}
+ // validate the optional field `{{{baseName}}}`
+ if (jsonObj["{{{baseName}}}"] != null && !jsonObj["{{{baseName}}}"].isJsonNull) {
+ require({{{datatypeWithEnum}}}.values().any { it.value == jsonObj["{{{baseName}}}"].asString }) {
+ String.format("Expected the field `{{{baseName}}}` to be valid `{{{datatypeWithEnum}}}` enum value in the JSON string but got `%s`", jsonObj["{{{baseName}}}"].toString())
+ }
+ }
+ {{/required}}
+ {{/isEnum}}
+ {{#isEnumRef}}
+ {{#required}}
+ // validate the required field `{{{baseName}}}`
+ require({{{dataType}}}.values().any { it.value == jsonObj["{{{baseName}}}"].asString }) {
+ String.format("Expected the field `{{{baseName}}}` to be valid `{{{dataType}}}` enum value in the JSON string but got `%s`", jsonObj["{{{baseName}}}"].toString())
+ }
+ {{/required}}
+ {{^required}}
+ // validate the optional field `{{{baseName}}}`
+ if (jsonObj["{{{baseName}}}"] != null && !jsonObj["{{{baseName}}}"].isJsonNull) {
+ require({{{dataType}}}.values().any { it.value == jsonObj["{{{baseName}}}"].asString }) {
+ String.format("Expected the field `{{{baseName}}}` to be valid `{{{dataType}}}` enum value in the JSON string but got `%s`", jsonObj["{{{baseName}}}"].toString())
+ }
+ }
+ {{/required}}
+ {{/isEnumRef}}
+ {{/isContainer}}
+ {{/vars}}
+ {{/discriminator}}
+ }
+ }
+{{/generateOneOfAnyOfWrappers}}
+
{{#vendorExtensions.x-has-data-class-body}}
}
{{/vendorExtensions.x-has-data-class-body}}
diff --git a/modules/openapi-generator/src/main/resources/kotlin-client/libraries/jvm-retrofit2/api_doc.mustache b/modules/openapi-generator/src/main/resources/kotlin-client/libraries/jvm-retrofit2/api_doc.mustache
index 3c83a2edec64..f764206df126 100644
--- a/modules/openapi-generator/src/main/resources/kotlin-client/libraries/jvm-retrofit2/api_doc.mustache
+++ b/modules/openapi-generator/src/main/resources/kotlin-client/libraries/jvm-retrofit2/api_doc.mustache
@@ -3,9 +3,9 @@
All URIs are relative to *{{basePath}}*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-{{#operations}}{{#operation}}[**{{operationId}}**]({{classname}}.md#{{operationId}}) | **{{httpMethod}}** {{path}} | {{summary}}
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+{{#operations}}{{#operation}}| [**{{operationId}}**]({{classname}}.md#{{operationId}}) | **{{httpMethod}}** {{path}} | {{summary}} |
{{/operation}}{{/operations}}
{{#operations}}
@@ -48,10 +48,15 @@ launch(Dispatchers.IO) {
```
### Parameters
-{{^allParams}}This endpoint does not need any parameter.{{/allParams}}{{#allParams}}{{#-last}}
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------{{/-last}}{{/allParams}}
-{{#allParams}} **{{paramName}}** | {{#isPrimitiveType}}**{{dataType}}**{{/isPrimitiveType}}{{^isPrimitiveType}}{{#isFile}}**{{dataType}}**{{/isFile}}{{^isFile}}{{#generateModelDocs}}[**{{dataType}}**]({{baseType}}.md){{/generateModelDocs}}{{^generateModelDocs}}**{{dataType}}**{{/generateModelDocs}}{{/isFile}}{{/isPrimitiveType}}| {{description}} |{{^required}} [optional]{{/required}}{{#defaultValue}} [default to {{.}}]{{/defaultValue}}{{#allowableValues}} [enum: {{#values}}{{{.}}}{{^-last}}, {{/-last}}{{/values}}]{{/allowableValues}}
+{{^allParams}}
+This endpoint does not need any parameter.
+{{/allParams}}
+{{#allParams}}
+{{#-last}}
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+{{/-last}}
+| **{{paramName}}** | {{#isPrimitiveType}}**{{dataType}}**{{/isPrimitiveType}}{{^isPrimitiveType}}{{#isFile}}**{{dataType}}**{{/isFile}}{{^isFile}}{{#generateModelDocs}}[**{{dataType}}**]({{baseType}}.md){{/generateModelDocs}}{{^generateModelDocs}}**{{dataType}}**{{/generateModelDocs}}{{/isFile}}{{/isPrimitiveType}}| {{description}} |{{^required}} [optional]{{/required}}{{#defaultValue}} [default to {{.}}]{{/defaultValue}}{{#allowableValues}} [enum: {{#values}}{{{.}}}{{^-last}}, {{/-last}}{{/values}}]{{/allowableValues}} |
{{/allParams}}
### Return type
diff --git a/modules/openapi-generator/src/main/resources/kotlin-client/libraries/jvm-retrofit2/infrastructure/ApiClient.kt.mustache b/modules/openapi-generator/src/main/resources/kotlin-client/libraries/jvm-retrofit2/infrastructure/ApiClient.kt.mustache
index 1683b45e2ea8..c26592a85488 100644
--- a/modules/openapi-generator/src/main/resources/kotlin-client/libraries/jvm-retrofit2/infrastructure/ApiClient.kt.mustache
+++ b/modules/openapi-generator/src/main/resources/kotlin-client/libraries/jvm-retrofit2/infrastructure/ApiClient.kt.mustache
@@ -148,6 +148,21 @@ import okhttp3.MediaType.Companion.toMediaType
addAuthorization(authName, auth)
}
}
+ {{#generateOneOfAnyOfWrappers}}
+ {{^kotlinx_serialization}}
+ {{#gson}}
+ {{#models}}
+ {{#model}}
+ {{^isEnum}}
+ {{^hasChildren}}
+ serializerBuilder.registerTypeAdapterFactory({{modelPackage}}.{{{classname}}}.CustomTypeAdapterFactory())
+ {{/hasChildren}}
+ {{/isEnum}}
+ {{/model}}
+ {{/models}}
+ {{/gson}}
+ {{/kotlinx_serialization}}
+ {{/generateOneOfAnyOfWrappers}}
}
{{#authMethods}}
@@ -162,6 +177,21 @@ import okhttp3.MediaType.Companion.toMediaType
password: String
) : this(baseUrl, okHttpClientBuilder, {{^kotlinx_serialization}}serializerBuilder, {{/kotlinx_serialization}}arrayOf(authName)) {
setCredentials(username, password)
+ {{#generateOneOfAnyOfWrappers}}
+ {{^kotlinx_serialization}}
+ {{#gson}}
+ {{#models}}
+ {{#model}}
+ {{^isEnum}}
+ {{^hasChildren}}
+ serializerBuilder.registerTypeAdapterFactory({{modelPackage}}.{{{classname}}}.CustomTypeAdapterFactory())
+ {{/hasChildren}}
+ {{/isEnum}}
+ {{/model}}
+ {{/models}}
+ {{/gson}}
+ {{/kotlinx_serialization}}
+ {{/generateOneOfAnyOfWrappers}}
}
{{/isBasicBasic}}
@@ -174,6 +204,21 @@ import okhttp3.MediaType.Companion.toMediaType
bearerToken: String
) : this(baseUrl, okHttpClientBuilder, {{^kotlinx_serialization}}serializerBuilder, {{/kotlinx_serialization}}arrayOf(authName)) {
setBearerToken(bearerToken)
+ {{#generateOneOfAnyOfWrappers}}
+ {{^kotlinx_serialization}}
+ {{#gson}}
+ {{#models}}
+ {{#model}}
+ {{^isEnum}}
+ {{^hasChildren}}
+ serializerBuilder.registerTypeAdapterFactory({{modelPackage}}.{{{classname}}}.CustomTypeAdapterFactory())
+ {{/hasChildren}}
+ {{/isEnum}}
+ {{/model}}
+ {{/models}}
+ {{/gson}}
+ {{/kotlinx_serialization}}
+ {{/generateOneOfAnyOfWrappers}}
}
{{/isBasicBearer}}
@@ -195,6 +240,21 @@ import okhttp3.MediaType.Companion.toMediaType
?.setClientSecret(secret)
?.setUsername(username)
?.setPassword(password)
+ {{#generateOneOfAnyOfWrappers}}
+ {{^kotlinx_serialization}}
+ {{#gson}}
+ {{#models}}
+ {{#model}}
+ {{^isEnum}}
+ {{^hasChildren}}
+ serializerBuilder.registerTypeAdapterFactory({{modelPackage}}.{{{classname}}}.CustomTypeAdapterFactory())
+ {{/hasChildren}}
+ {{/isEnum}}
+ {{/model}}
+ {{/models}}
+ {{/gson}}
+ {{/kotlinx_serialization}}
+ {{/generateOneOfAnyOfWrappers}}
}
{{/hasOAuthMethods}}
diff --git a/modules/openapi-generator/src/main/resources/kotlin-client/model.mustache b/modules/openapi-generator/src/main/resources/kotlin-client/model.mustache
index abd168abce8e..831a0e79b934 100644
--- a/modules/openapi-generator/src/main/resources/kotlin-client/model.mustache
+++ b/modules/openapi-generator/src/main/resources/kotlin-client/model.mustache
@@ -6,6 +6,11 @@ package {{modelPackage}}
{{#models}}
{{#model}}
+{{^generateOneOfAnyOfWrappers}}
{{#isEnum}}{{>enum_class}}{{/isEnum}}{{^isEnum}}{{#isAlias}}typealias {{classname}} = {{{dataType}}}{{/isAlias}}{{^isAlias}}{{>data_class}}{{/isAlias}}{{/isEnum}}
+{{/generateOneOfAnyOfWrappers}}
+{{#generateOneOfAnyOfWrappers}}
+{{#isEnum}}{{>enum_class}}{{/isEnum}}{{^isEnum}}{{#isAlias}}typealias {{classname}} = {{{dataType}}}{{/isAlias}}{{^isAlias}}{{#oneOf}}{{#-first}}{{>oneof_class}}{{/-first}}{{/oneOf}}{{#anyOf}}{{#-first}}{{>anyof_class}}{{/-first}}{{/anyOf}}{{^oneOf}}{{^anyOf}}{{>data_class}}{{/anyOf}}{{/oneOf}}{{/isAlias}}{{/isEnum}}
+{{/generateOneOfAnyOfWrappers}}
{{/model}}
{{/models}}
diff --git a/modules/openapi-generator/src/main/resources/kotlin-client/oneof_class.mustache b/modules/openapi-generator/src/main/resources/kotlin-client/oneof_class.mustache
new file mode 100644
index 000000000000..b9472d8a500b
--- /dev/null
+++ b/modules/openapi-generator/src/main/resources/kotlin-client/oneof_class.mustache
@@ -0,0 +1,241 @@
+{{^multiplatform}}
+{{#gson}}
+{{#generateOneOfAnyOfWrappers}}
+import com.google.gson.Gson
+import com.google.gson.JsonElement
+import com.google.gson.TypeAdapter
+import com.google.gson.TypeAdapterFactory
+import com.google.gson.reflect.TypeToken
+import com.google.gson.stream.JsonReader
+import com.google.gson.stream.JsonWriter
+import com.google.gson.annotations.JsonAdapter
+{{/generateOneOfAnyOfWrappers}}
+import com.google.gson.annotations.SerializedName
+{{/gson}}
+{{#moshi}}
+import com.squareup.moshi.Json
+import com.squareup.moshi.JsonClass
+{{/moshi}}
+{{#jackson}}
+{{#enumUnknownDefaultCase}}
+import com.fasterxml.jackson.annotation.JsonEnumDefaultValue
+{{/enumUnknownDefaultCase}}
+import com.fasterxml.jackson.annotation.JsonProperty
+{{#discriminator}}
+import com.fasterxml.jackson.annotation.JsonSubTypes
+import com.fasterxml.jackson.annotation.JsonTypeInfo
+{{/discriminator}}
+{{/jackson}}
+{{#kotlinx_serialization}}
+import {{#serializableModel}}kotlinx.serialization.Serializable as KSerializable{{/serializableModel}}{{^serializableModel}}kotlinx.serialization.Serializable{{/serializableModel}}
+import kotlinx.serialization.SerialName
+import kotlinx.serialization.Contextual
+{{#enumUnknownDefaultCase}}
+import kotlinx.serialization.KSerializer
+import kotlinx.serialization.Serializer
+import kotlinx.serialization.builtins.serializer
+import kotlinx.serialization.encoding.Decoder
+import kotlinx.serialization.encoding.Encoder
+{{/enumUnknownDefaultCase}}
+{{#hasEnums}}
+{{/hasEnums}}
+{{/kotlinx_serialization}}
+{{#parcelizeModels}}
+import android.os.Parcelable
+import kotlinx.parcelize.Parcelize
+{{/parcelizeModels}}
+{{/multiplatform}}
+{{#multiplatform}}
+import kotlinx.serialization.*
+import kotlinx.serialization.descriptors.*
+import kotlinx.serialization.encoding.*
+{{/multiplatform}}
+{{#serializableModel}}
+import java.io.Serializable
+{{/serializableModel}}
+{{#generateRoomModels}}
+import {{roomModelPackage}}.{{classname}}RoomModel
+import {{packageName}}.infrastructure.ITransformForStorage
+{{/generateRoomModels}}
+import java.io.IOException
+
+/**
+ * {{{description}}}
+ *
+ */
+{{#parcelizeModels}}
+@Parcelize
+{{/parcelizeModels}}
+{{#multiplatform}}{{^discriminator}}@Serializable{{/discriminator}}{{/multiplatform}}{{#kotlinx_serialization}}{{#serializableModel}}@KSerializable{{/serializableModel}}{{^serializableModel}}@Serializable{{/serializableModel}}{{/kotlinx_serialization}}{{#moshi}}{{#moshiCodeGen}}@JsonClass(generateAdapter = true){{/moshiCodeGen}}{{/moshi}}{{#jackson}}{{#discriminator}}{{>typeInfoAnnotation}}{{/discriminator}}{{/jackson}}
+{{#isDeprecated}}
+@Deprecated(message = "This schema is deprecated.")
+{{/isDeprecated}}
+{{>additionalModelTypeAnnotations}}
+{{#nonPublicApi}}internal {{/nonPublicApi}}data class {{classname}}(var actualInstance: Any? = null) {
+
+ class CustomTypeAdapterFactory : TypeAdapterFactory {
+ override fun create(gson: Gson, type: TypeToken): TypeAdapter? {
+ if (!{{classname}}::class.java.isAssignableFrom(type.rawType)) {
+ return null // this class only serializes '{{classname}}' and its subtypes
+ }
+ val elementAdapter = gson.getAdapter(JsonElement::class.java)
+ {{#composedSchemas}}
+ {{#oneOf}}
+ {{^isArray}}
+ {{^vendorExtensions.x-duplicated-data-type}}
+ val adapter{{{dataType}}} = gson.getDelegateAdapter(this, TypeToken.get({{{dataType}}}::class.java))
+ {{/vendorExtensions.x-duplicated-data-type}}
+ {{/isArray}}
+ {{#isArray}}
+ @Suppress("UNCHECKED_CAST")
+ val adapter{{#sanitizeGeneric}}{{{dataType}}}{{/sanitizeGeneric}} = gson.getDelegateAdapter(this, TypeToken.get(object : TypeToken<{{{dataType}}}>() {}.type)) as TypeAdapter<{{{dataType}}}>
+ {{/isArray}}
+ {{/oneOf}}
+ {{/composedSchemas}}
+
+ @Suppress("UNCHECKED_CAST")
+ return object : TypeAdapter<{{classname}}?>() {
+ @Throws(IOException::class)
+ override fun write(out: JsonWriter,value: {{classname}}?) {
+ if (value?.actualInstance == null) {
+ elementAdapter.write(out, null)
+ return
+ }
+
+ {{#composedSchemas}}
+ {{#oneOf}}
+ {{^vendorExtensions.x-duplicated-data-type}}
+ // check if the actual instance is of the type `{{{dataType}}}`
+ if (value.actualInstance is {{#isArray}}List<*>{{/isArray}}{{^isArray}}{{{dataType}}}{{/isArray}}) {
+ {{#isPrimitiveType}}
+ val primitive = adapter{{#sanitizeGeneric}}{{{dataType}}}{{/sanitizeGeneric}}.toJsonTree(value.actualInstance as {{{dataType}}}?).getAsJsonPrimitive()
+ elementAdapter.write(out, primitive)
+ return
+ {{/isPrimitiveType}}
+ {{^isPrimitiveType}}
+ {{#isArray}}
+ List> list = (List>) value.actualInstance
+ if (list.get(0) is {{{items.dataType}}}) {
+ val array = adapter{{#sanitizeGeneric}}{{{dataType}}}{{/sanitizeGeneric}}.toJsonTree(value.actualInstance as {{{dataType}}}?).getAsJsonArray()
+ elementAdapter.write(out, array)
+ return
+ }
+ {{/isArray}}
+ {{/isPrimitiveType}}
+ {{^isArray}}
+ {{^isPrimitiveType}}
+ val element = adapter{{{dataType}}}.toJsonTree(value.actualInstance as {{{dataType}}}?)
+ elementAdapter.write(out, element)
+ return
+ {{/isPrimitiveType}}
+ {{/isArray}}
+ }
+ {{/vendorExtensions.x-duplicated-data-type}}
+ {{/oneOf}}
+ {{/composedSchemas}}
+ throw IOException("Failed to serialize as the type doesn't match oneOf schemas: {{#oneOf}}{{{.}}}{{^-last}}, {{/-last}}{{/oneOf}}")
+ }
+
+ @Throws(IOException::class)
+ override fun read(jsonReader: JsonReader): {{classname}} {
+ val jsonElement = elementAdapter.read(jsonReader)
+ var match = 0
+ val errorMessages = ArrayList()
+ var actualAdapter: TypeAdapter<*> = elementAdapter
+
+ {{#composedSchemas}}
+ {{#oneOf}}
+ {{^vendorExtensions.x-duplicated-data-type}}
+ {{^hasVars}}
+ // deserialize {{{dataType}}}
+ try {
+ // validate the JSON object to see if any exception is thrown
+ {{^isArray}}
+ {{#isNumber}}
+ require(jsonElement.getAsJsonPrimitive().isNumber()) {
+ String.format("Expected json element to be of type Number in the JSON string but got `%s`", jsonElement.toString())
+ }
+ actualAdapter = adapter{{#sanitizeGeneric}}{{{dataType}}}{{/sanitizeGeneric}}
+ {{/isNumber}}
+ {{^isNumber}}
+ {{#isPrimitiveType}}
+ require(jsonElement.getAsJsonPrimitive().is{{#isBoolean}}Boolean{{/isBoolean}}{{#isString}}String{{/isString}}{{^isString}}{{^isBoolean}}Number{{/isBoolean}}{{/isString}}()) {
+ String.format("Expected json element to be of type {{#isBoolean}}Boolean{{/isBoolean}}{{#isString}}String{{/isString}}{{^isString}}{{^isBoolean}}Number{{/isBoolean}}{{/isString}} in the JSON string but got `%s`", jsonElement.toString())
+ }
+ actualAdapter = adapter{{#sanitizeGeneric}}{{{dataType}}}{{/sanitizeGeneric}}
+ {{/isPrimitiveType}}
+ {{/isNumber}}
+ {{^isNumber}}
+ {{^isPrimitiveType}}
+ {{{dataType}}}.validateJsonElement(jsonElement)
+ actualAdapter = adapter{{#sanitizeGeneric}}{{{dataType}}}{{/sanitizeGeneric}}
+ {{/isPrimitiveType}}
+ {{/isNumber}}
+ {{/isArray}}
+ {{#isArray}}
+ require(jsonElement.isJsonArray) {
+ String.format("Expected json element to be a array type in the JSON string but got `%s`", jsonElement.toString())
+ }
+
+ // validate array items
+ for(element in jsonElement.getAsJsonArray()) {
+ {{#items}}
+ {{#isNumber}}
+ require(jsonElement.getAsJsonPrimitive().isNumber) {
+ String.format("Expected json element to be of type Number in the JSON string but got `%s`", jsonElement.toString())
+ }
+ {{/isNumber}}
+ {{^isNumber}}
+ {{#isPrimitiveType}}
+ require(element.getAsJsonPrimitive().is{{#isBoolean}}Boolean{{/isBoolean}}{{#isString}}String{{/isString}}{{^isString}}{{^isBoolean}}Number{{/isBoolean}}{{/isString}}) {
+ String.format("Expected array items to be of type {{#isBoolean}}Boolean{{/isBoolean}}{{#isString}}String{{/isString}}{{^isString}}{{^isBoolean}}Number{{/isBoolean}}{{/isString}} in the JSON string but got `%s`", jsonElement.toString())
+ }
+ {{/isPrimitiveType}}
+ {{/isNumber}}
+ {{^isNumber}}
+ {{^isPrimitiveType}}
+ {{{dataType}}}.validateJsonElement(element)
+ {{/isPrimitiveType}}
+ {{/isNumber}}
+ {{/items}}
+ }
+ actualAdapter = adapter{{#sanitizeGeneric}}{{{dataType}}}{{/sanitizeGeneric}}
+ {{/isArray}}
+ match++
+ //log.log(Level.FINER, "Input data matches schema '{{{dataType}}}'")
+ } catch (e: Exception) {
+ // deserialization failed, continue
+ errorMessages.add(String.format("Deserialization for {{{dataType}}} failed with `%s`.", e.message))
+ //log.log(Level.FINER, "Input data does not match schema '{{{dataType}}}'", e)
+ }
+ {{/hasVars}}
+ {{#hasVars}}
+ // deserialize {{{.}}}
+ try {
+ // validate the JSON object to see if any exception is thrown
+ {{.}}.validateJsonElement(jsonElement)
+ actualAdapter = adapter{{.}}
+ match++
+ //log.log(Level.FINER, "Input data matches schema '{{{.}}}'")
+ } catch (e: Exception) {
+ // deserialization failed, continue
+ errorMessages.add(String.format("Deserialization for {{{.}}} failed with `%s`.", e.message))
+ //log.log(Level.FINER, "Input data does not match schema '{{{.}}}'", e)
+ }
+ {{/hasVars}}
+ {{/vendorExtensions.x-duplicated-data-type}}
+ {{/oneOf}}
+ {{/composedSchemas}}
+
+ if (match == 1) {
+ val ret = {{classname}}()
+ ret.actualInstance = actualAdapter.fromJsonTree(jsonElement)
+ return ret
+ }
+
+ throw IOException(String.format("Failed deserialization for {{classname}}: %d classes match result, expected 1. Detailed failure message for oneOf schemas: %s. JSON: %s", match, errorMessages, jsonElement.toString()))
+ }
+ }.nullSafe() as TypeAdapter
+ }
+ }
+}
\ No newline at end of file
diff --git a/modules/openapi-generator/src/test/resources/3_0/kotlin/petstore.yaml b/modules/openapi-generator/src/test/resources/3_0/kotlin/petstore.yaml
index edaefd90f8d0..789fe3f0139b 100644
--- a/modules/openapi-generator/src/test/resources/3_0/kotlin/petstore.yaml
+++ b/modules/openapi-generator/src/test/resources/3_0/kotlin/petstore.yaml
@@ -690,6 +690,8 @@ components:
description: User Status
xml:
name: User
+ required:
+ - username
Tag:
title: Pet Tag
description: A tag for a pet
@@ -760,3 +762,25 @@ components:
id:
type: string
format: uuid
+ UserOrPet:
+ oneOf:
+ - $ref: "#/components/schemas/User"
+ - $ref: "#/components/schemas/Pet"
+ UserOrPetOrArrayString:
+ oneOf:
+ - $ref: "#/components/schemas/User"
+ - $ref: "#/components/schemas/Pet"
+ - type: array
+ items:
+ type: string
+ AnyOfUserOrPet:
+ anyOf:
+ - $ref: "#/components/schemas/User"
+ - $ref: "#/components/schemas/Pet"
+ AnyOfUserOrPetOrArrayString:
+ anyOf:
+ - $ref: "#/components/schemas/User"
+ - $ref: "#/components/schemas/Pet"
+ - type: array
+ items:
+ type: string
diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/README.md b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/README.md
index 505e32ea12e2..25f4aa46fe74 100644
--- a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/README.md
+++ b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/README.md
@@ -43,28 +43,28 @@ This runs all tests and packages the library.
All URIs are relative to *http://localhost:3000*
-Class | Method | HTTP request | Description
------------- | ------------- | ------------- | -------------
-*AuthApi* | [**testAuthHttpBasic**](docs/AuthApi.md#testauthhttpbasic) | **POST** /auth/http/basic | To test HTTP basic authentication
-*AuthApi* | [**testAuthHttpBearer**](docs/AuthApi.md#testauthhttpbearer) | **POST** /auth/http/bearer | To test HTTP bearer authentication
-*BodyApi* | [**testBinaryGif**](docs/BodyApi.md#testbinarygif) | **POST** /binary/gif | Test binary (gif) response body
-*BodyApi* | [**testBodyApplicationOctetstreamBinary**](docs/BodyApi.md#testbodyapplicationoctetstreambinary) | **POST** /body/application/octetstream/binary | Test body parameter(s)
-*BodyApi* | [**testBodyMultipartFormdataArrayOfBinary**](docs/BodyApi.md#testbodymultipartformdataarrayofbinary) | **POST** /body/application/octetstream/array_of_binary | Test array of binary in multipart mime
-*BodyApi* | [**testBodyMultipartFormdataSingleBinary**](docs/BodyApi.md#testbodymultipartformdatasinglebinary) | **POST** /body/application/octetstream/single_binary | Test single binary in multipart mime
-*BodyApi* | [**testEchoBodyFreeFormObjectResponseString**](docs/BodyApi.md#testechobodyfreeformobjectresponsestring) | **POST** /echo/body/FreeFormObject/response_string | Test free form object
-*BodyApi* | [**testEchoBodyPet**](docs/BodyApi.md#testechobodypet) | **POST** /echo/body/Pet | Test body parameter(s)
-*BodyApi* | [**testEchoBodyPetResponseString**](docs/BodyApi.md#testechobodypetresponsestring) | **POST** /echo/body/Pet/response_string | Test empty response body
-*BodyApi* | [**testEchoBodyTagResponseString**](docs/BodyApi.md#testechobodytagresponsestring) | **POST** /echo/body/Tag/response_string | Test empty json (request body)
-*FormApi* | [**testFormIntegerBooleanString**](docs/FormApi.md#testformintegerbooleanstring) | **POST** /form/integer/boolean/string | Test form parameter(s)
-*FormApi* | [**testFormOneof**](docs/FormApi.md#testformoneof) | **POST** /form/oneof | Test form parameter(s) for oneOf schema
-*HeaderApi* | [**testHeaderIntegerBooleanStringEnums**](docs/HeaderApi.md#testheaderintegerbooleanstringenums) | **GET** /header/integer/boolean/string/enums | Test header parameter(s)
-*PathApi* | [**testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](docs/PathApi.md#testspathstringpathstringintegerpathintegerenumnonrefstringpathenumrefstringpath) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
-*QueryApi* | [**testEnumRefString**](docs/QueryApi.md#testenumrefstring) | **GET** /query/enum_ref_string | Test query parameter(s)
-*QueryApi* | [**testQueryDatetimeDateString**](docs/QueryApi.md#testquerydatetimedatestring) | **GET** /query/datetime/date/string | Test query parameter(s)
-*QueryApi* | [**testQueryIntegerBooleanString**](docs/QueryApi.md#testqueryintegerbooleanstring) | **GET** /query/integer/boolean/string | Test query parameter(s)
-*QueryApi* | [**testQueryStyleDeepObjectExplodeTrueObject**](docs/QueryApi.md#testquerystyledeepobjectexplodetrueobject) | **GET** /query/style_deepObject/explode_true/object | Test query parameter(s)
-*QueryApi* | [**testQueryStyleFormExplodeTrueArrayString**](docs/QueryApi.md#testquerystyleformexplodetruearraystring) | **GET** /query/style_form/explode_true/array_string | Test query parameter(s)
-*QueryApi* | [**testQueryStyleFormExplodeTrueObject**](docs/QueryApi.md#testquerystyleformexplodetrueobject) | **GET** /query/style_form/explode_true/object | Test query parameter(s)
+| Class | Method | HTTP request | Description |
+| ------------ | ------------- | ------------- | ------------- |
+| *AuthApi* | [**testAuthHttpBasic**](docs/AuthApi.md#testauthhttpbasic) | **POST** /auth/http/basic | To test HTTP basic authentication |
+| *AuthApi* | [**testAuthHttpBearer**](docs/AuthApi.md#testauthhttpbearer) | **POST** /auth/http/bearer | To test HTTP bearer authentication |
+| *BodyApi* | [**testBinaryGif**](docs/BodyApi.md#testbinarygif) | **POST** /binary/gif | Test binary (gif) response body |
+| *BodyApi* | [**testBodyApplicationOctetstreamBinary**](docs/BodyApi.md#testbodyapplicationoctetstreambinary) | **POST** /body/application/octetstream/binary | Test body parameter(s) |
+| *BodyApi* | [**testBodyMultipartFormdataArrayOfBinary**](docs/BodyApi.md#testbodymultipartformdataarrayofbinary) | **POST** /body/application/octetstream/array_of_binary | Test array of binary in multipart mime |
+| *BodyApi* | [**testBodyMultipartFormdataSingleBinary**](docs/BodyApi.md#testbodymultipartformdatasinglebinary) | **POST** /body/application/octetstream/single_binary | Test single binary in multipart mime |
+| *BodyApi* | [**testEchoBodyFreeFormObjectResponseString**](docs/BodyApi.md#testechobodyfreeformobjectresponsestring) | **POST** /echo/body/FreeFormObject/response_string | Test free form object |
+| *BodyApi* | [**testEchoBodyPet**](docs/BodyApi.md#testechobodypet) | **POST** /echo/body/Pet | Test body parameter(s) |
+| *BodyApi* | [**testEchoBodyPetResponseString**](docs/BodyApi.md#testechobodypetresponsestring) | **POST** /echo/body/Pet/response_string | Test empty response body |
+| *BodyApi* | [**testEchoBodyTagResponseString**](docs/BodyApi.md#testechobodytagresponsestring) | **POST** /echo/body/Tag/response_string | Test empty json (request body) |
+| *FormApi* | [**testFormIntegerBooleanString**](docs/FormApi.md#testformintegerbooleanstring) | **POST** /form/integer/boolean/string | Test form parameter(s) |
+| *FormApi* | [**testFormOneof**](docs/FormApi.md#testformoneof) | **POST** /form/oneof | Test form parameter(s) for oneOf schema |
+| *HeaderApi* | [**testHeaderIntegerBooleanStringEnums**](docs/HeaderApi.md#testheaderintegerbooleanstringenums) | **GET** /header/integer/boolean/string/enums | Test header parameter(s) |
+| *PathApi* | [**testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](docs/PathApi.md#testspathstringpathstringintegerpathintegerenumnonrefstringpathenumrefstringpath) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s) |
+| *QueryApi* | [**testEnumRefString**](docs/QueryApi.md#testenumrefstring) | **GET** /query/enum_ref_string | Test query parameter(s) |
+| *QueryApi* | [**testQueryDatetimeDateString**](docs/QueryApi.md#testquerydatetimedatestring) | **GET** /query/datetime/date/string | Test query parameter(s) |
+| *QueryApi* | [**testQueryIntegerBooleanString**](docs/QueryApi.md#testqueryintegerbooleanstring) | **GET** /query/integer/boolean/string | Test query parameter(s) |
+| *QueryApi* | [**testQueryStyleDeepObjectExplodeTrueObject**](docs/QueryApi.md#testquerystyledeepobjectexplodetrueobject) | **GET** /query/style_deepObject/explode_true/object | Test query parameter(s) |
+| *QueryApi* | [**testQueryStyleFormExplodeTrueArrayString**](docs/QueryApi.md#testquerystyleformexplodetruearraystring) | **GET** /query/style_form/explode_true/array_string | Test query parameter(s) |
+| *QueryApi* | [**testQueryStyleFormExplodeTrueObject**](docs/QueryApi.md#testquerystyleformexplodetrueobject) | **GET** /query/style_form/explode_true/object | Test query parameter(s) |
diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/docs/AuthApi.md b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/docs/AuthApi.md
index b7ef4f547bd8..2614b18e353a 100644
--- a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/docs/AuthApi.md
+++ b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/docs/AuthApi.md
@@ -2,10 +2,10 @@
All URIs are relative to *http://localhost:3000*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**testAuthHttpBasic**](AuthApi.md#testAuthHttpBasic) | **POST** /auth/http/basic | To test HTTP basic authentication
-[**testAuthHttpBearer**](AuthApi.md#testAuthHttpBearer) | **POST** /auth/http/bearer | To test HTTP bearer authentication
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**testAuthHttpBasic**](AuthApi.md#testAuthHttpBasic) | **POST** /auth/http/basic | To test HTTP basic authentication |
+| [**testAuthHttpBearer**](AuthApi.md#testAuthHttpBearer) | **POST** /auth/http/bearer | To test HTTP bearer authentication |
diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/docs/Bird.md b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/docs/Bird.md
index 878335adf52f..edef9a9f62b7 100644
--- a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/docs/Bird.md
+++ b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/docs/Bird.md
@@ -2,10 +2,10 @@
# Bird
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**propertySize** | **kotlin.String** | | [optional]
-**color** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **propertySize** | **kotlin.String** | | [optional] |
+| **color** | **kotlin.String** | | [optional] |
diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/docs/BodyApi.md b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/docs/BodyApi.md
index 8a02fa98c10c..22c998b360b1 100644
--- a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/docs/BodyApi.md
+++ b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/docs/BodyApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://localhost:3000*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**testBinaryGif**](BodyApi.md#testBinaryGif) | **POST** /binary/gif | Test binary (gif) response body
-[**testBodyApplicationOctetstreamBinary**](BodyApi.md#testBodyApplicationOctetstreamBinary) | **POST** /body/application/octetstream/binary | Test body parameter(s)
-[**testBodyMultipartFormdataArrayOfBinary**](BodyApi.md#testBodyMultipartFormdataArrayOfBinary) | **POST** /body/application/octetstream/array_of_binary | Test array of binary in multipart mime
-[**testBodyMultipartFormdataSingleBinary**](BodyApi.md#testBodyMultipartFormdataSingleBinary) | **POST** /body/application/octetstream/single_binary | Test single binary in multipart mime
-[**testEchoBodyFreeFormObjectResponseString**](BodyApi.md#testEchoBodyFreeFormObjectResponseString) | **POST** /echo/body/FreeFormObject/response_string | Test free form object
-[**testEchoBodyPet**](BodyApi.md#testEchoBodyPet) | **POST** /echo/body/Pet | Test body parameter(s)
-[**testEchoBodyPetResponseString**](BodyApi.md#testEchoBodyPetResponseString) | **POST** /echo/body/Pet/response_string | Test empty response body
-[**testEchoBodyTagResponseString**](BodyApi.md#testEchoBodyTagResponseString) | **POST** /echo/body/Tag/response_string | Test empty json (request body)
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**testBinaryGif**](BodyApi.md#testBinaryGif) | **POST** /binary/gif | Test binary (gif) response body |
+| [**testBodyApplicationOctetstreamBinary**](BodyApi.md#testBodyApplicationOctetstreamBinary) | **POST** /body/application/octetstream/binary | Test body parameter(s) |
+| [**testBodyMultipartFormdataArrayOfBinary**](BodyApi.md#testBodyMultipartFormdataArrayOfBinary) | **POST** /body/application/octetstream/array_of_binary | Test array of binary in multipart mime |
+| [**testBodyMultipartFormdataSingleBinary**](BodyApi.md#testBodyMultipartFormdataSingleBinary) | **POST** /body/application/octetstream/single_binary | Test single binary in multipart mime |
+| [**testEchoBodyFreeFormObjectResponseString**](BodyApi.md#testEchoBodyFreeFormObjectResponseString) | **POST** /echo/body/FreeFormObject/response_string | Test free form object |
+| [**testEchoBodyPet**](BodyApi.md#testEchoBodyPet) | **POST** /echo/body/Pet | Test body parameter(s) |
+| [**testEchoBodyPetResponseString**](BodyApi.md#testEchoBodyPetResponseString) | **POST** /echo/body/Pet/response_string | Test empty response body |
+| [**testEchoBodyTagResponseString**](BodyApi.md#testEchoBodyTagResponseString) | **POST** /echo/body/Tag/response_string | Test empty json (request body) |
@@ -86,10 +86,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | **java.io.File**| | [optional]
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | **java.io.File**| | [optional] |
### Return type
@@ -133,10 +132,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **files** | **kotlin.collections.List<java.io.File>**| |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **files** | **kotlin.collections.List<java.io.File>**| | |
### Return type
@@ -180,10 +178,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **myFile** | **java.io.File**| | [optional]
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **myFile** | **java.io.File**| | [optional] |
### Return type
@@ -227,10 +224,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | **kotlin.Any**| Free form object | [optional]
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | **kotlin.Any**| Free form object | [optional] |
### Return type
@@ -274,10 +270,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **pet** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | [optional]
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **pet** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | [optional] |
### Return type
@@ -321,10 +316,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **pet** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | [optional]
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **pet** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | [optional] |
### Return type
@@ -368,10 +362,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **tag** | [**Tag**](Tag.md)| Tag object | [optional]
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **tag** | [**Tag**](Tag.md)| Tag object | [optional] |
### Return type
diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/docs/Category.md b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/docs/Category.md
index 2c28a670fc79..baba5657eb21 100644
--- a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/docs/Category.md
+++ b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/docs/Category.md
@@ -2,10 +2,10 @@
# Category
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/docs/DefaultValue.md b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/docs/DefaultValue.md
index de65ccf8d7ce..530a960b1f83 100644
--- a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/docs/DefaultValue.md
+++ b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/docs/DefaultValue.md
@@ -2,23 +2,23 @@
# DefaultValue
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**arrayStringEnumRefDefault** | [**kotlin.collections.List<StringEnumRef>**](StringEnumRef.md) | | [optional]
-**arrayStringEnumDefault** | [**inline**](#kotlin.collections.List<ArrayStringEnumDefault>) | | [optional]
-**arrayStringDefault** | **kotlin.collections.List<kotlin.String>** | | [optional]
-**arrayIntegerDefault** | **kotlin.collections.List<kotlin.Int>** | | [optional]
-**arrayString** | **kotlin.collections.List<kotlin.String>** | | [optional]
-**arrayStringNullable** | **kotlin.collections.List<kotlin.String>** | | [optional]
-**arrayStringExtensionNullable** | **kotlin.collections.List<kotlin.String>** | | [optional]
-**stringNullable** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **arrayStringEnumRefDefault** | [**kotlin.collections.List<StringEnumRef>**](StringEnumRef.md) | | [optional] |
+| **arrayStringEnumDefault** | [**inline**](#kotlin.collections.List<ArrayStringEnumDefault>) | | [optional] |
+| **arrayStringDefault** | **kotlin.collections.List<kotlin.String>** | | [optional] |
+| **arrayIntegerDefault** | **kotlin.collections.List<kotlin.Int>** | | [optional] |
+| **arrayString** | **kotlin.collections.List<kotlin.String>** | | [optional] |
+| **arrayStringNullable** | **kotlin.collections.List<kotlin.String>** | | [optional] |
+| **arrayStringExtensionNullable** | **kotlin.collections.List<kotlin.String>** | | [optional] |
+| **stringNullable** | **kotlin.String** | | [optional] |
## Enum: array_string_enum_default
-Name | Value
----- | -----
-arrayStringEnumDefault | success, failure, unclassified
+| Name | Value |
+| ---- | ----- |
+| arrayStringEnumDefault | success, failure, unclassified |
diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/docs/FormApi.md b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/docs/FormApi.md
index 0b420b906547..5d229c127758 100644
--- a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/docs/FormApi.md
+++ b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/docs/FormApi.md
@@ -2,10 +2,10 @@
All URIs are relative to *http://localhost:3000*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**testFormIntegerBooleanString**](FormApi.md#testFormIntegerBooleanString) | **POST** /form/integer/boolean/string | Test form parameter(s)
-[**testFormOneof**](FormApi.md#testFormOneof) | **POST** /form/oneof | Test form parameter(s) for oneOf schema
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**testFormIntegerBooleanString**](FormApi.md#testFormIntegerBooleanString) | **POST** /form/integer/boolean/string | Test form parameter(s) |
+| [**testFormOneof**](FormApi.md#testFormOneof) | **POST** /form/oneof | Test form parameter(s) for oneOf schema |
@@ -39,12 +39,11 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **integerForm** | **kotlin.Int**| | [optional]
- **booleanForm** | **kotlin.Boolean**| | [optional]
- **stringForm** | **kotlin.String**| | [optional]
+| **integerForm** | **kotlin.Int**| | [optional] |
+| **booleanForm** | **kotlin.Boolean**| | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **stringForm** | **kotlin.String**| | [optional] |
### Return type
@@ -93,15 +92,14 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **form1** | **kotlin.String**| | [optional]
- **form2** | **kotlin.Int**| | [optional]
- **form3** | **kotlin.String**| | [optional]
- **form4** | **kotlin.Boolean**| | [optional]
- **id** | **kotlin.Long**| | [optional]
- **name** | **kotlin.String**| | [optional]
+| **form1** | **kotlin.String**| | [optional] |
+| **form2** | **kotlin.Int**| | [optional] |
+| **form3** | **kotlin.String**| | [optional] |
+| **form4** | **kotlin.Boolean**| | [optional] |
+| **id** | **kotlin.Long**| | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **name** | **kotlin.String**| | [optional] |
### Return type
diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/docs/HeaderApi.md b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/docs/HeaderApi.md
index 1d38dda946ff..8a1687ff9901 100644
--- a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/docs/HeaderApi.md
+++ b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/docs/HeaderApi.md
@@ -2,9 +2,9 @@
All URIs are relative to *http://localhost:3000*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**testHeaderIntegerBooleanStringEnums**](HeaderApi.md#testHeaderIntegerBooleanStringEnums) | **GET** /header/integer/boolean/string/enums | Test header parameter(s)
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**testHeaderIntegerBooleanStringEnums**](HeaderApi.md#testHeaderIntegerBooleanStringEnums) | **GET** /header/integer/boolean/string/enums | Test header parameter(s) |
@@ -40,14 +40,13 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **integerHeader** | **kotlin.Int**| | [optional]
- **booleanHeader** | **kotlin.Boolean**| | [optional]
- **stringHeader** | **kotlin.String**| | [optional]
- **enumNonrefStringHeader** | **kotlin.String**| | [optional] [enum: success, failure, unclassified]
- **enumRefStringHeader** | [**StringEnumRef**](.md)| | [optional] [enum: success, failure, unclassified]
+| **integerHeader** | **kotlin.Int**| | [optional] |
+| **booleanHeader** | **kotlin.Boolean**| | [optional] |
+| **stringHeader** | **kotlin.String**| | [optional] |
+| **enumNonrefStringHeader** | **kotlin.String**| | [optional] [enum: success, failure, unclassified] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **enumRefStringHeader** | [**StringEnumRef**](.md)| | [optional] [enum: success, failure, unclassified] |
### Return type
diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/docs/NumberPropertiesOnly.md b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/docs/NumberPropertiesOnly.md
index d601af65669a..cf15999239ef 100644
--- a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/docs/NumberPropertiesOnly.md
+++ b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/docs/NumberPropertiesOnly.md
@@ -2,11 +2,11 @@
# NumberPropertiesOnly
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**number** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | [optional]
-**float** | **kotlin.Float** | | [optional]
-**double** | **kotlin.Double** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **number** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | [optional] |
+| **float** | **kotlin.Float** | | [optional] |
+| **double** | **kotlin.Double** | | [optional] |
diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/docs/PathApi.md b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/docs/PathApi.md
index 129553d02c1a..d2e44d75aba6 100644
--- a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/docs/PathApi.md
+++ b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/docs/PathApi.md
@@ -2,9 +2,9 @@
All URIs are relative to *http://localhost:3000*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](PathApi.md#testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](PathApi.md#testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s) |
@@ -39,13 +39,12 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **pathString** | **kotlin.String**| |
- **pathInteger** | **kotlin.Int**| |
- **enumNonrefStringPath** | **kotlin.String**| | [enum: success, failure, unclassified]
- **enumRefStringPath** | [**StringEnumRef**](.md)| | [enum: success, failure, unclassified]
+| **pathString** | **kotlin.String**| | |
+| **pathInteger** | **kotlin.Int**| | |
+| **enumNonrefStringPath** | **kotlin.String**| | [enum: success, failure, unclassified] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **enumRefStringPath** | [**StringEnumRef**](.md)| | [enum: success, failure, unclassified] |
### Return type
diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/docs/Pet.md b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/docs/Pet.md
index da70fca06e65..287312efaf94 100644
--- a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/docs/Pet.md
+++ b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/docs/Pet.md
@@ -2,21 +2,21 @@
# Pet
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**name** | **kotlin.String** | |
-**photoUrls** | **kotlin.collections.List<kotlin.String>** | |
-**id** | **kotlin.Long** | | [optional]
-**category** | [**Category**](Category.md) | | [optional]
-**tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional]
-**status** | [**inline**](#Status) | pet status in the store | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **name** | **kotlin.String** | | |
+| **photoUrls** | **kotlin.collections.List<kotlin.String>** | | |
+| **id** | **kotlin.Long** | | [optional] |
+| **category** | [**Category**](Category.md) | | [optional] |
+| **tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional] |
+| **status** | [**inline**](#Status) | pet status in the store | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | available, pending, sold
+| Name | Value |
+| ---- | ----- |
+| status | available, pending, sold |
diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/docs/Query.md b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/docs/Query.md
index 85d53f6f0885..5f5fa6d3f475 100644
--- a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/docs/Query.md
+++ b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/docs/Query.md
@@ -2,17 +2,17 @@
# Query
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | Query | [optional]
-**outcomes** | [**inline**](#kotlin.collections.List<Outcomes>) | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | Query | [optional] |
+| **outcomes** | [**inline**](#kotlin.collections.List<Outcomes>) | | [optional] |
## Enum: outcomes
-Name | Value
----- | -----
-outcomes | SUCCESS, FAILURE, SKIPPED
+| Name | Value |
+| ---- | ----- |
+| outcomes | SUCCESS, FAILURE, SKIPPED |
diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/docs/QueryApi.md b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/docs/QueryApi.md
index 443718661d3b..3ac1823f5d70 100644
--- a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/docs/QueryApi.md
+++ b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/docs/QueryApi.md
@@ -2,14 +2,14 @@
All URIs are relative to *http://localhost:3000*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**testEnumRefString**](QueryApi.md#testEnumRefString) | **GET** /query/enum_ref_string | Test query parameter(s)
-[**testQueryDatetimeDateString**](QueryApi.md#testQueryDatetimeDateString) | **GET** /query/datetime/date/string | Test query parameter(s)
-[**testQueryIntegerBooleanString**](QueryApi.md#testQueryIntegerBooleanString) | **GET** /query/integer/boolean/string | Test query parameter(s)
-[**testQueryStyleDeepObjectExplodeTrueObject**](QueryApi.md#testQueryStyleDeepObjectExplodeTrueObject) | **GET** /query/style_deepObject/explode_true/object | Test query parameter(s)
-[**testQueryStyleFormExplodeTrueArrayString**](QueryApi.md#testQueryStyleFormExplodeTrueArrayString) | **GET** /query/style_form/explode_true/array_string | Test query parameter(s)
-[**testQueryStyleFormExplodeTrueObject**](QueryApi.md#testQueryStyleFormExplodeTrueObject) | **GET** /query/style_form/explode_true/object | Test query parameter(s)
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**testEnumRefString**](QueryApi.md#testEnumRefString) | **GET** /query/enum_ref_string | Test query parameter(s) |
+| [**testQueryDatetimeDateString**](QueryApi.md#testQueryDatetimeDateString) | **GET** /query/datetime/date/string | Test query parameter(s) |
+| [**testQueryIntegerBooleanString**](QueryApi.md#testQueryIntegerBooleanString) | **GET** /query/integer/boolean/string | Test query parameter(s) |
+| [**testQueryStyleDeepObjectExplodeTrueObject**](QueryApi.md#testQueryStyleDeepObjectExplodeTrueObject) | **GET** /query/style_deepObject/explode_true/object | Test query parameter(s) |
+| [**testQueryStyleFormExplodeTrueArrayString**](QueryApi.md#testQueryStyleFormExplodeTrueArrayString) | **GET** /query/style_form/explode_true/array_string | Test query parameter(s) |
+| [**testQueryStyleFormExplodeTrueObject**](QueryApi.md#testQueryStyleFormExplodeTrueObject) | **GET** /query/style_form/explode_true/object | Test query parameter(s) |
@@ -42,11 +42,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **enumNonrefStringQuery** | **kotlin.String**| | [optional] [enum: success, failure, unclassified]
- **enumRefStringQuery** | [**StringEnumRef**](.md)| | [optional] [enum: success, failure, unclassified]
+| **enumNonrefStringQuery** | **kotlin.String**| | [optional] [enum: success, failure, unclassified] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **enumRefStringQuery** | [**StringEnumRef**](.md)| | [optional] [enum: success, failure, unclassified] |
### Return type
@@ -92,12 +91,11 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **datetimeQuery** | **java.time.OffsetDateTime**| | [optional]
- **dateQuery** | **java.time.LocalDate**| | [optional]
- **stringQuery** | **kotlin.String**| | [optional]
+| **datetimeQuery** | **java.time.OffsetDateTime**| | [optional] |
+| **dateQuery** | **java.time.LocalDate**| | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **stringQuery** | **kotlin.String**| | [optional] |
### Return type
@@ -143,12 +141,11 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **integerQuery** | **kotlin.Int**| | [optional]
- **booleanQuery** | **kotlin.Boolean**| | [optional]
- **stringQuery** | **kotlin.String**| | [optional]
+| **integerQuery** | **kotlin.Int**| | [optional] |
+| **booleanQuery** | **kotlin.Boolean**| | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **stringQuery** | **kotlin.String**| | [optional] |
### Return type
@@ -192,10 +189,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **queryObject** | [**Pet**](.md)| | [optional]
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **queryObject** | [**Pet**](.md)| | [optional] |
### Return type
@@ -239,10 +235,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **queryObject** | [**TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter**](.md)| | [optional]
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **queryObject** | [**TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter**](.md)| | [optional] |
### Return type
@@ -286,10 +281,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **queryObject** | [**Pet**](.md)| | [optional]
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **queryObject** | [**Pet**](.md)| | [optional] |
### Return type
diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/docs/Tag.md b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/docs/Tag.md
index 60ce1bcdbad3..dc8fa3cb555d 100644
--- a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/docs/Tag.md
+++ b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/docs/Tag.md
@@ -2,10 +2,10 @@
# Tag
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/docs/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.md b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/docs/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.md
index 63e236171614..4c656b4700c8 100644
--- a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/docs/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.md
+++ b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/docs/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.md
@@ -2,9 +2,9 @@
# TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**propertyValues** | **kotlin.collections.List<kotlin.String>** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **propertyValues** | **kotlin.collections.List<kotlin.String>** | | [optional] |
diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Bird.kt b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Bird.kt
index c63c0366edfb..36cea63cf1aa 100644
--- a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Bird.kt
+++ b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Bird.kt
@@ -35,5 +35,8 @@ data class Bird (
@field:JsonProperty("color")
val color: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Category.kt b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Category.kt
index e62c174314a7..fe59d37f3eb9 100644
--- a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Category.kt
+++ b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Category.kt
@@ -35,5 +35,8 @@ data class Category (
@field:JsonProperty("name")
val name: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/DefaultValue.kt b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/DefaultValue.kt
index 2ebc26327828..758fa3e16126 100644
--- a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/DefaultValue.kt
+++ b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/DefaultValue.kt
@@ -73,5 +73,6 @@ data class DefaultValue (
@JsonProperty(value = "unclassified") unclassified("unclassified"),
@JsonProperty(value = "unknown_default_open_api") @JsonEnumDefaultValue unknown_default_open_api("unknown_default_open_api");
}
+
}
diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/NumberPropertiesOnly.kt b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/NumberPropertiesOnly.kt
index 0f1c287e41a2..4c05a68b04e4 100644
--- a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/NumberPropertiesOnly.kt
+++ b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/NumberPropertiesOnly.kt
@@ -39,5 +39,8 @@ data class NumberPropertiesOnly (
@field:JsonProperty("double")
val double: kotlin.Double? = null
-)
+) {
+
+
+}
diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Pet.kt
index e121711bca74..35e8747eb7ea 100644
--- a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Pet.kt
+++ b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Pet.kt
@@ -67,5 +67,6 @@ data class Pet (
@JsonProperty(value = "sold") sold("sold"),
@JsonProperty(value = "unknown_default_open_api") @JsonEnumDefaultValue unknown_default_open_api("unknown_default_open_api");
}
+
}
diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Query.kt b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Query.kt
index 81d1a6a73ce7..60c9249f6032 100644
--- a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Query.kt
+++ b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Query.kt
@@ -49,5 +49,6 @@ data class Query (
@JsonProperty(value = "SKIPPED") SKIPPED("SKIPPED"),
@JsonProperty(value = "unknown_default_open_api") @JsonEnumDefaultValue unknown_default_open_api("unknown_default_open_api");
}
+
}
diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Tag.kt
index 36d7c43ee87f..617a4684ea1a 100644
--- a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Tag.kt
+++ b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Tag.kt
@@ -35,5 +35,8 @@ data class Tag (
@field:JsonProperty("name")
val name: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.kt b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.kt
index cb6010f5d40c..9463efaec723 100644
--- a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.kt
+++ b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.kt
@@ -31,5 +31,8 @@ data class TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter (
@field:JsonProperty("values")
val propertyValues: kotlin.collections.List? = null
-)
+) {
+
+
+}
diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/README.md b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/README.md
index 505e32ea12e2..25f4aa46fe74 100644
--- a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/README.md
+++ b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/README.md
@@ -43,28 +43,28 @@ This runs all tests and packages the library.
All URIs are relative to *http://localhost:3000*
-Class | Method | HTTP request | Description
------------- | ------------- | ------------- | -------------
-*AuthApi* | [**testAuthHttpBasic**](docs/AuthApi.md#testauthhttpbasic) | **POST** /auth/http/basic | To test HTTP basic authentication
-*AuthApi* | [**testAuthHttpBearer**](docs/AuthApi.md#testauthhttpbearer) | **POST** /auth/http/bearer | To test HTTP bearer authentication
-*BodyApi* | [**testBinaryGif**](docs/BodyApi.md#testbinarygif) | **POST** /binary/gif | Test binary (gif) response body
-*BodyApi* | [**testBodyApplicationOctetstreamBinary**](docs/BodyApi.md#testbodyapplicationoctetstreambinary) | **POST** /body/application/octetstream/binary | Test body parameter(s)
-*BodyApi* | [**testBodyMultipartFormdataArrayOfBinary**](docs/BodyApi.md#testbodymultipartformdataarrayofbinary) | **POST** /body/application/octetstream/array_of_binary | Test array of binary in multipart mime
-*BodyApi* | [**testBodyMultipartFormdataSingleBinary**](docs/BodyApi.md#testbodymultipartformdatasinglebinary) | **POST** /body/application/octetstream/single_binary | Test single binary in multipart mime
-*BodyApi* | [**testEchoBodyFreeFormObjectResponseString**](docs/BodyApi.md#testechobodyfreeformobjectresponsestring) | **POST** /echo/body/FreeFormObject/response_string | Test free form object
-*BodyApi* | [**testEchoBodyPet**](docs/BodyApi.md#testechobodypet) | **POST** /echo/body/Pet | Test body parameter(s)
-*BodyApi* | [**testEchoBodyPetResponseString**](docs/BodyApi.md#testechobodypetresponsestring) | **POST** /echo/body/Pet/response_string | Test empty response body
-*BodyApi* | [**testEchoBodyTagResponseString**](docs/BodyApi.md#testechobodytagresponsestring) | **POST** /echo/body/Tag/response_string | Test empty json (request body)
-*FormApi* | [**testFormIntegerBooleanString**](docs/FormApi.md#testformintegerbooleanstring) | **POST** /form/integer/boolean/string | Test form parameter(s)
-*FormApi* | [**testFormOneof**](docs/FormApi.md#testformoneof) | **POST** /form/oneof | Test form parameter(s) for oneOf schema
-*HeaderApi* | [**testHeaderIntegerBooleanStringEnums**](docs/HeaderApi.md#testheaderintegerbooleanstringenums) | **GET** /header/integer/boolean/string/enums | Test header parameter(s)
-*PathApi* | [**testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](docs/PathApi.md#testspathstringpathstringintegerpathintegerenumnonrefstringpathenumrefstringpath) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
-*QueryApi* | [**testEnumRefString**](docs/QueryApi.md#testenumrefstring) | **GET** /query/enum_ref_string | Test query parameter(s)
-*QueryApi* | [**testQueryDatetimeDateString**](docs/QueryApi.md#testquerydatetimedatestring) | **GET** /query/datetime/date/string | Test query parameter(s)
-*QueryApi* | [**testQueryIntegerBooleanString**](docs/QueryApi.md#testqueryintegerbooleanstring) | **GET** /query/integer/boolean/string | Test query parameter(s)
-*QueryApi* | [**testQueryStyleDeepObjectExplodeTrueObject**](docs/QueryApi.md#testquerystyledeepobjectexplodetrueobject) | **GET** /query/style_deepObject/explode_true/object | Test query parameter(s)
-*QueryApi* | [**testQueryStyleFormExplodeTrueArrayString**](docs/QueryApi.md#testquerystyleformexplodetruearraystring) | **GET** /query/style_form/explode_true/array_string | Test query parameter(s)
-*QueryApi* | [**testQueryStyleFormExplodeTrueObject**](docs/QueryApi.md#testquerystyleformexplodetrueobject) | **GET** /query/style_form/explode_true/object | Test query parameter(s)
+| Class | Method | HTTP request | Description |
+| ------------ | ------------- | ------------- | ------------- |
+| *AuthApi* | [**testAuthHttpBasic**](docs/AuthApi.md#testauthhttpbasic) | **POST** /auth/http/basic | To test HTTP basic authentication |
+| *AuthApi* | [**testAuthHttpBearer**](docs/AuthApi.md#testauthhttpbearer) | **POST** /auth/http/bearer | To test HTTP bearer authentication |
+| *BodyApi* | [**testBinaryGif**](docs/BodyApi.md#testbinarygif) | **POST** /binary/gif | Test binary (gif) response body |
+| *BodyApi* | [**testBodyApplicationOctetstreamBinary**](docs/BodyApi.md#testbodyapplicationoctetstreambinary) | **POST** /body/application/octetstream/binary | Test body parameter(s) |
+| *BodyApi* | [**testBodyMultipartFormdataArrayOfBinary**](docs/BodyApi.md#testbodymultipartformdataarrayofbinary) | **POST** /body/application/octetstream/array_of_binary | Test array of binary in multipart mime |
+| *BodyApi* | [**testBodyMultipartFormdataSingleBinary**](docs/BodyApi.md#testbodymultipartformdatasinglebinary) | **POST** /body/application/octetstream/single_binary | Test single binary in multipart mime |
+| *BodyApi* | [**testEchoBodyFreeFormObjectResponseString**](docs/BodyApi.md#testechobodyfreeformobjectresponsestring) | **POST** /echo/body/FreeFormObject/response_string | Test free form object |
+| *BodyApi* | [**testEchoBodyPet**](docs/BodyApi.md#testechobodypet) | **POST** /echo/body/Pet | Test body parameter(s) |
+| *BodyApi* | [**testEchoBodyPetResponseString**](docs/BodyApi.md#testechobodypetresponsestring) | **POST** /echo/body/Pet/response_string | Test empty response body |
+| *BodyApi* | [**testEchoBodyTagResponseString**](docs/BodyApi.md#testechobodytagresponsestring) | **POST** /echo/body/Tag/response_string | Test empty json (request body) |
+| *FormApi* | [**testFormIntegerBooleanString**](docs/FormApi.md#testformintegerbooleanstring) | **POST** /form/integer/boolean/string | Test form parameter(s) |
+| *FormApi* | [**testFormOneof**](docs/FormApi.md#testformoneof) | **POST** /form/oneof | Test form parameter(s) for oneOf schema |
+| *HeaderApi* | [**testHeaderIntegerBooleanStringEnums**](docs/HeaderApi.md#testheaderintegerbooleanstringenums) | **GET** /header/integer/boolean/string/enums | Test header parameter(s) |
+| *PathApi* | [**testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](docs/PathApi.md#testspathstringpathstringintegerpathintegerenumnonrefstringpathenumrefstringpath) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s) |
+| *QueryApi* | [**testEnumRefString**](docs/QueryApi.md#testenumrefstring) | **GET** /query/enum_ref_string | Test query parameter(s) |
+| *QueryApi* | [**testQueryDatetimeDateString**](docs/QueryApi.md#testquerydatetimedatestring) | **GET** /query/datetime/date/string | Test query parameter(s) |
+| *QueryApi* | [**testQueryIntegerBooleanString**](docs/QueryApi.md#testqueryintegerbooleanstring) | **GET** /query/integer/boolean/string | Test query parameter(s) |
+| *QueryApi* | [**testQueryStyleDeepObjectExplodeTrueObject**](docs/QueryApi.md#testquerystyledeepobjectexplodetrueobject) | **GET** /query/style_deepObject/explode_true/object | Test query parameter(s) |
+| *QueryApi* | [**testQueryStyleFormExplodeTrueArrayString**](docs/QueryApi.md#testquerystyleformexplodetruearraystring) | **GET** /query/style_form/explode_true/array_string | Test query parameter(s) |
+| *QueryApi* | [**testQueryStyleFormExplodeTrueObject**](docs/QueryApi.md#testquerystyleformexplodetrueobject) | **GET** /query/style_form/explode_true/object | Test query parameter(s) |
diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/docs/AuthApi.md b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/docs/AuthApi.md
index b7ef4f547bd8..2614b18e353a 100644
--- a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/docs/AuthApi.md
+++ b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/docs/AuthApi.md
@@ -2,10 +2,10 @@
All URIs are relative to *http://localhost:3000*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**testAuthHttpBasic**](AuthApi.md#testAuthHttpBasic) | **POST** /auth/http/basic | To test HTTP basic authentication
-[**testAuthHttpBearer**](AuthApi.md#testAuthHttpBearer) | **POST** /auth/http/bearer | To test HTTP bearer authentication
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**testAuthHttpBasic**](AuthApi.md#testAuthHttpBasic) | **POST** /auth/http/basic | To test HTTP basic authentication |
+| [**testAuthHttpBearer**](AuthApi.md#testAuthHttpBearer) | **POST** /auth/http/bearer | To test HTTP bearer authentication |
diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/docs/Bird.md b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/docs/Bird.md
index 878335adf52f..edef9a9f62b7 100644
--- a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/docs/Bird.md
+++ b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/docs/Bird.md
@@ -2,10 +2,10 @@
# Bird
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**propertySize** | **kotlin.String** | | [optional]
-**color** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **propertySize** | **kotlin.String** | | [optional] |
+| **color** | **kotlin.String** | | [optional] |
diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/docs/BodyApi.md b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/docs/BodyApi.md
index 8a02fa98c10c..22c998b360b1 100644
--- a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/docs/BodyApi.md
+++ b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/docs/BodyApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://localhost:3000*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**testBinaryGif**](BodyApi.md#testBinaryGif) | **POST** /binary/gif | Test binary (gif) response body
-[**testBodyApplicationOctetstreamBinary**](BodyApi.md#testBodyApplicationOctetstreamBinary) | **POST** /body/application/octetstream/binary | Test body parameter(s)
-[**testBodyMultipartFormdataArrayOfBinary**](BodyApi.md#testBodyMultipartFormdataArrayOfBinary) | **POST** /body/application/octetstream/array_of_binary | Test array of binary in multipart mime
-[**testBodyMultipartFormdataSingleBinary**](BodyApi.md#testBodyMultipartFormdataSingleBinary) | **POST** /body/application/octetstream/single_binary | Test single binary in multipart mime
-[**testEchoBodyFreeFormObjectResponseString**](BodyApi.md#testEchoBodyFreeFormObjectResponseString) | **POST** /echo/body/FreeFormObject/response_string | Test free form object
-[**testEchoBodyPet**](BodyApi.md#testEchoBodyPet) | **POST** /echo/body/Pet | Test body parameter(s)
-[**testEchoBodyPetResponseString**](BodyApi.md#testEchoBodyPetResponseString) | **POST** /echo/body/Pet/response_string | Test empty response body
-[**testEchoBodyTagResponseString**](BodyApi.md#testEchoBodyTagResponseString) | **POST** /echo/body/Tag/response_string | Test empty json (request body)
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**testBinaryGif**](BodyApi.md#testBinaryGif) | **POST** /binary/gif | Test binary (gif) response body |
+| [**testBodyApplicationOctetstreamBinary**](BodyApi.md#testBodyApplicationOctetstreamBinary) | **POST** /body/application/octetstream/binary | Test body parameter(s) |
+| [**testBodyMultipartFormdataArrayOfBinary**](BodyApi.md#testBodyMultipartFormdataArrayOfBinary) | **POST** /body/application/octetstream/array_of_binary | Test array of binary in multipart mime |
+| [**testBodyMultipartFormdataSingleBinary**](BodyApi.md#testBodyMultipartFormdataSingleBinary) | **POST** /body/application/octetstream/single_binary | Test single binary in multipart mime |
+| [**testEchoBodyFreeFormObjectResponseString**](BodyApi.md#testEchoBodyFreeFormObjectResponseString) | **POST** /echo/body/FreeFormObject/response_string | Test free form object |
+| [**testEchoBodyPet**](BodyApi.md#testEchoBodyPet) | **POST** /echo/body/Pet | Test body parameter(s) |
+| [**testEchoBodyPetResponseString**](BodyApi.md#testEchoBodyPetResponseString) | **POST** /echo/body/Pet/response_string | Test empty response body |
+| [**testEchoBodyTagResponseString**](BodyApi.md#testEchoBodyTagResponseString) | **POST** /echo/body/Tag/response_string | Test empty json (request body) |
@@ -86,10 +86,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | **java.io.File**| | [optional]
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | **java.io.File**| | [optional] |
### Return type
@@ -133,10 +132,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **files** | **kotlin.collections.List<java.io.File>**| |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **files** | **kotlin.collections.List<java.io.File>**| | |
### Return type
@@ -180,10 +178,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **myFile** | **java.io.File**| | [optional]
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **myFile** | **java.io.File**| | [optional] |
### Return type
@@ -227,10 +224,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | **kotlin.Any**| Free form object | [optional]
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | **kotlin.Any**| Free form object | [optional] |
### Return type
@@ -274,10 +270,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **pet** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | [optional]
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **pet** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | [optional] |
### Return type
@@ -321,10 +316,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **pet** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | [optional]
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **pet** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | [optional] |
### Return type
@@ -368,10 +362,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **tag** | [**Tag**](Tag.md)| Tag object | [optional]
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **tag** | [**Tag**](Tag.md)| Tag object | [optional] |
### Return type
diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/docs/Category.md b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/docs/Category.md
index 2c28a670fc79..baba5657eb21 100644
--- a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/docs/Category.md
+++ b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/docs/Category.md
@@ -2,10 +2,10 @@
# Category
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/docs/DefaultValue.md b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/docs/DefaultValue.md
index de65ccf8d7ce..530a960b1f83 100644
--- a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/docs/DefaultValue.md
+++ b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/docs/DefaultValue.md
@@ -2,23 +2,23 @@
# DefaultValue
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**arrayStringEnumRefDefault** | [**kotlin.collections.List<StringEnumRef>**](StringEnumRef.md) | | [optional]
-**arrayStringEnumDefault** | [**inline**](#kotlin.collections.List<ArrayStringEnumDefault>) | | [optional]
-**arrayStringDefault** | **kotlin.collections.List<kotlin.String>** | | [optional]
-**arrayIntegerDefault** | **kotlin.collections.List<kotlin.Int>** | | [optional]
-**arrayString** | **kotlin.collections.List<kotlin.String>** | | [optional]
-**arrayStringNullable** | **kotlin.collections.List<kotlin.String>** | | [optional]
-**arrayStringExtensionNullable** | **kotlin.collections.List<kotlin.String>** | | [optional]
-**stringNullable** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **arrayStringEnumRefDefault** | [**kotlin.collections.List<StringEnumRef>**](StringEnumRef.md) | | [optional] |
+| **arrayStringEnumDefault** | [**inline**](#kotlin.collections.List<ArrayStringEnumDefault>) | | [optional] |
+| **arrayStringDefault** | **kotlin.collections.List<kotlin.String>** | | [optional] |
+| **arrayIntegerDefault** | **kotlin.collections.List<kotlin.Int>** | | [optional] |
+| **arrayString** | **kotlin.collections.List<kotlin.String>** | | [optional] |
+| **arrayStringNullable** | **kotlin.collections.List<kotlin.String>** | | [optional] |
+| **arrayStringExtensionNullable** | **kotlin.collections.List<kotlin.String>** | | [optional] |
+| **stringNullable** | **kotlin.String** | | [optional] |
## Enum: array_string_enum_default
-Name | Value
----- | -----
-arrayStringEnumDefault | success, failure, unclassified
+| Name | Value |
+| ---- | ----- |
+| arrayStringEnumDefault | success, failure, unclassified |
diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/docs/FormApi.md b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/docs/FormApi.md
index 0b420b906547..5d229c127758 100644
--- a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/docs/FormApi.md
+++ b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/docs/FormApi.md
@@ -2,10 +2,10 @@
All URIs are relative to *http://localhost:3000*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**testFormIntegerBooleanString**](FormApi.md#testFormIntegerBooleanString) | **POST** /form/integer/boolean/string | Test form parameter(s)
-[**testFormOneof**](FormApi.md#testFormOneof) | **POST** /form/oneof | Test form parameter(s) for oneOf schema
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**testFormIntegerBooleanString**](FormApi.md#testFormIntegerBooleanString) | **POST** /form/integer/boolean/string | Test form parameter(s) |
+| [**testFormOneof**](FormApi.md#testFormOneof) | **POST** /form/oneof | Test form parameter(s) for oneOf schema |
@@ -39,12 +39,11 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **integerForm** | **kotlin.Int**| | [optional]
- **booleanForm** | **kotlin.Boolean**| | [optional]
- **stringForm** | **kotlin.String**| | [optional]
+| **integerForm** | **kotlin.Int**| | [optional] |
+| **booleanForm** | **kotlin.Boolean**| | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **stringForm** | **kotlin.String**| | [optional] |
### Return type
@@ -93,15 +92,14 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **form1** | **kotlin.String**| | [optional]
- **form2** | **kotlin.Int**| | [optional]
- **form3** | **kotlin.String**| | [optional]
- **form4** | **kotlin.Boolean**| | [optional]
- **id** | **kotlin.Long**| | [optional]
- **name** | **kotlin.String**| | [optional]
+| **form1** | **kotlin.String**| | [optional] |
+| **form2** | **kotlin.Int**| | [optional] |
+| **form3** | **kotlin.String**| | [optional] |
+| **form4** | **kotlin.Boolean**| | [optional] |
+| **id** | **kotlin.Long**| | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **name** | **kotlin.String**| | [optional] |
### Return type
diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/docs/HeaderApi.md b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/docs/HeaderApi.md
index 1d38dda946ff..8a1687ff9901 100644
--- a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/docs/HeaderApi.md
+++ b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/docs/HeaderApi.md
@@ -2,9 +2,9 @@
All URIs are relative to *http://localhost:3000*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**testHeaderIntegerBooleanStringEnums**](HeaderApi.md#testHeaderIntegerBooleanStringEnums) | **GET** /header/integer/boolean/string/enums | Test header parameter(s)
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**testHeaderIntegerBooleanStringEnums**](HeaderApi.md#testHeaderIntegerBooleanStringEnums) | **GET** /header/integer/boolean/string/enums | Test header parameter(s) |
@@ -40,14 +40,13 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **integerHeader** | **kotlin.Int**| | [optional]
- **booleanHeader** | **kotlin.Boolean**| | [optional]
- **stringHeader** | **kotlin.String**| | [optional]
- **enumNonrefStringHeader** | **kotlin.String**| | [optional] [enum: success, failure, unclassified]
- **enumRefStringHeader** | [**StringEnumRef**](.md)| | [optional] [enum: success, failure, unclassified]
+| **integerHeader** | **kotlin.Int**| | [optional] |
+| **booleanHeader** | **kotlin.Boolean**| | [optional] |
+| **stringHeader** | **kotlin.String**| | [optional] |
+| **enumNonrefStringHeader** | **kotlin.String**| | [optional] [enum: success, failure, unclassified] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **enumRefStringHeader** | [**StringEnumRef**](.md)| | [optional] [enum: success, failure, unclassified] |
### Return type
diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/docs/NumberPropertiesOnly.md b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/docs/NumberPropertiesOnly.md
index d601af65669a..cf15999239ef 100644
--- a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/docs/NumberPropertiesOnly.md
+++ b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/docs/NumberPropertiesOnly.md
@@ -2,11 +2,11 @@
# NumberPropertiesOnly
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**number** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | [optional]
-**float** | **kotlin.Float** | | [optional]
-**double** | **kotlin.Double** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **number** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | [optional] |
+| **float** | **kotlin.Float** | | [optional] |
+| **double** | **kotlin.Double** | | [optional] |
diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/docs/PathApi.md b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/docs/PathApi.md
index 129553d02c1a..d2e44d75aba6 100644
--- a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/docs/PathApi.md
+++ b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/docs/PathApi.md
@@ -2,9 +2,9 @@
All URIs are relative to *http://localhost:3000*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](PathApi.md#testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](PathApi.md#testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s) |
@@ -39,13 +39,12 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **pathString** | **kotlin.String**| |
- **pathInteger** | **kotlin.Int**| |
- **enumNonrefStringPath** | **kotlin.String**| | [enum: success, failure, unclassified]
- **enumRefStringPath** | [**StringEnumRef**](.md)| | [enum: success, failure, unclassified]
+| **pathString** | **kotlin.String**| | |
+| **pathInteger** | **kotlin.Int**| | |
+| **enumNonrefStringPath** | **kotlin.String**| | [enum: success, failure, unclassified] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **enumRefStringPath** | [**StringEnumRef**](.md)| | [enum: success, failure, unclassified] |
### Return type
diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/docs/Pet.md b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/docs/Pet.md
index da70fca06e65..287312efaf94 100644
--- a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/docs/Pet.md
+++ b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/docs/Pet.md
@@ -2,21 +2,21 @@
# Pet
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**name** | **kotlin.String** | |
-**photoUrls** | **kotlin.collections.List<kotlin.String>** | |
-**id** | **kotlin.Long** | | [optional]
-**category** | [**Category**](Category.md) | | [optional]
-**tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional]
-**status** | [**inline**](#Status) | pet status in the store | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **name** | **kotlin.String** | | |
+| **photoUrls** | **kotlin.collections.List<kotlin.String>** | | |
+| **id** | **kotlin.Long** | | [optional] |
+| **category** | [**Category**](Category.md) | | [optional] |
+| **tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional] |
+| **status** | [**inline**](#Status) | pet status in the store | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | available, pending, sold
+| Name | Value |
+| ---- | ----- |
+| status | available, pending, sold |
diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/docs/Query.md b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/docs/Query.md
index 85d53f6f0885..5f5fa6d3f475 100644
--- a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/docs/Query.md
+++ b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/docs/Query.md
@@ -2,17 +2,17 @@
# Query
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | Query | [optional]
-**outcomes** | [**inline**](#kotlin.collections.List<Outcomes>) | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | Query | [optional] |
+| **outcomes** | [**inline**](#kotlin.collections.List<Outcomes>) | | [optional] |
## Enum: outcomes
-Name | Value
----- | -----
-outcomes | SUCCESS, FAILURE, SKIPPED
+| Name | Value |
+| ---- | ----- |
+| outcomes | SUCCESS, FAILURE, SKIPPED |
diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/docs/QueryApi.md b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/docs/QueryApi.md
index 443718661d3b..3ac1823f5d70 100644
--- a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/docs/QueryApi.md
+++ b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/docs/QueryApi.md
@@ -2,14 +2,14 @@
All URIs are relative to *http://localhost:3000*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**testEnumRefString**](QueryApi.md#testEnumRefString) | **GET** /query/enum_ref_string | Test query parameter(s)
-[**testQueryDatetimeDateString**](QueryApi.md#testQueryDatetimeDateString) | **GET** /query/datetime/date/string | Test query parameter(s)
-[**testQueryIntegerBooleanString**](QueryApi.md#testQueryIntegerBooleanString) | **GET** /query/integer/boolean/string | Test query parameter(s)
-[**testQueryStyleDeepObjectExplodeTrueObject**](QueryApi.md#testQueryStyleDeepObjectExplodeTrueObject) | **GET** /query/style_deepObject/explode_true/object | Test query parameter(s)
-[**testQueryStyleFormExplodeTrueArrayString**](QueryApi.md#testQueryStyleFormExplodeTrueArrayString) | **GET** /query/style_form/explode_true/array_string | Test query parameter(s)
-[**testQueryStyleFormExplodeTrueObject**](QueryApi.md#testQueryStyleFormExplodeTrueObject) | **GET** /query/style_form/explode_true/object | Test query parameter(s)
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**testEnumRefString**](QueryApi.md#testEnumRefString) | **GET** /query/enum_ref_string | Test query parameter(s) |
+| [**testQueryDatetimeDateString**](QueryApi.md#testQueryDatetimeDateString) | **GET** /query/datetime/date/string | Test query parameter(s) |
+| [**testQueryIntegerBooleanString**](QueryApi.md#testQueryIntegerBooleanString) | **GET** /query/integer/boolean/string | Test query parameter(s) |
+| [**testQueryStyleDeepObjectExplodeTrueObject**](QueryApi.md#testQueryStyleDeepObjectExplodeTrueObject) | **GET** /query/style_deepObject/explode_true/object | Test query parameter(s) |
+| [**testQueryStyleFormExplodeTrueArrayString**](QueryApi.md#testQueryStyleFormExplodeTrueArrayString) | **GET** /query/style_form/explode_true/array_string | Test query parameter(s) |
+| [**testQueryStyleFormExplodeTrueObject**](QueryApi.md#testQueryStyleFormExplodeTrueObject) | **GET** /query/style_form/explode_true/object | Test query parameter(s) |
@@ -42,11 +42,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **enumNonrefStringQuery** | **kotlin.String**| | [optional] [enum: success, failure, unclassified]
- **enumRefStringQuery** | [**StringEnumRef**](.md)| | [optional] [enum: success, failure, unclassified]
+| **enumNonrefStringQuery** | **kotlin.String**| | [optional] [enum: success, failure, unclassified] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **enumRefStringQuery** | [**StringEnumRef**](.md)| | [optional] [enum: success, failure, unclassified] |
### Return type
@@ -92,12 +91,11 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **datetimeQuery** | **java.time.OffsetDateTime**| | [optional]
- **dateQuery** | **java.time.LocalDate**| | [optional]
- **stringQuery** | **kotlin.String**| | [optional]
+| **datetimeQuery** | **java.time.OffsetDateTime**| | [optional] |
+| **dateQuery** | **java.time.LocalDate**| | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **stringQuery** | **kotlin.String**| | [optional] |
### Return type
@@ -143,12 +141,11 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **integerQuery** | **kotlin.Int**| | [optional]
- **booleanQuery** | **kotlin.Boolean**| | [optional]
- **stringQuery** | **kotlin.String**| | [optional]
+| **integerQuery** | **kotlin.Int**| | [optional] |
+| **booleanQuery** | **kotlin.Boolean**| | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **stringQuery** | **kotlin.String**| | [optional] |
### Return type
@@ -192,10 +189,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **queryObject** | [**Pet**](.md)| | [optional]
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **queryObject** | [**Pet**](.md)| | [optional] |
### Return type
@@ -239,10 +235,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **queryObject** | [**TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter**](.md)| | [optional]
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **queryObject** | [**TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter**](.md)| | [optional] |
### Return type
@@ -286,10 +281,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **queryObject** | [**Pet**](.md)| | [optional]
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **queryObject** | [**Pet**](.md)| | [optional] |
### Return type
diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/docs/Tag.md b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/docs/Tag.md
index 60ce1bcdbad3..dc8fa3cb555d 100644
--- a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/docs/Tag.md
+++ b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/docs/Tag.md
@@ -2,10 +2,10 @@
# Tag
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/docs/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.md b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/docs/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.md
index 63e236171614..4c656b4700c8 100644
--- a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/docs/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.md
+++ b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/docs/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.md
@@ -2,9 +2,9 @@
# TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**propertyValues** | **kotlin.collections.List<kotlin.String>** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **propertyValues** | **kotlin.collections.List<kotlin.String>** | | [optional] |
diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Bird.kt b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Bird.kt
index c63c0366edfb..36cea63cf1aa 100644
--- a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Bird.kt
+++ b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Bird.kt
@@ -35,5 +35,8 @@ data class Bird (
@field:JsonProperty("color")
val color: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Category.kt b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Category.kt
index e62c174314a7..fe59d37f3eb9 100644
--- a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Category.kt
+++ b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Category.kt
@@ -35,5 +35,8 @@ data class Category (
@field:JsonProperty("name")
val name: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/DefaultValue.kt b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/DefaultValue.kt
index 2ebc26327828..758fa3e16126 100644
--- a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/DefaultValue.kt
+++ b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/DefaultValue.kt
@@ -73,5 +73,6 @@ data class DefaultValue (
@JsonProperty(value = "unclassified") unclassified("unclassified"),
@JsonProperty(value = "unknown_default_open_api") @JsonEnumDefaultValue unknown_default_open_api("unknown_default_open_api");
}
+
}
diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/NumberPropertiesOnly.kt b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/NumberPropertiesOnly.kt
index 0f1c287e41a2..4c05a68b04e4 100644
--- a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/NumberPropertiesOnly.kt
+++ b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/NumberPropertiesOnly.kt
@@ -39,5 +39,8 @@ data class NumberPropertiesOnly (
@field:JsonProperty("double")
val double: kotlin.Double? = null
-)
+) {
+
+
+}
diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Pet.kt
index e121711bca74..35e8747eb7ea 100644
--- a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Pet.kt
+++ b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Pet.kt
@@ -67,5 +67,6 @@ data class Pet (
@JsonProperty(value = "sold") sold("sold"),
@JsonProperty(value = "unknown_default_open_api") @JsonEnumDefaultValue unknown_default_open_api("unknown_default_open_api");
}
+
}
diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Query.kt b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Query.kt
index 81d1a6a73ce7..60c9249f6032 100644
--- a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Query.kt
+++ b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Query.kt
@@ -49,5 +49,6 @@ data class Query (
@JsonProperty(value = "SKIPPED") SKIPPED("SKIPPED"),
@JsonProperty(value = "unknown_default_open_api") @JsonEnumDefaultValue unknown_default_open_api("unknown_default_open_api");
}
+
}
diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Tag.kt
index 36d7c43ee87f..617a4684ea1a 100644
--- a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Tag.kt
+++ b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Tag.kt
@@ -35,5 +35,8 @@ data class Tag (
@field:JsonProperty("name")
val name: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.kt b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.kt
index cb6010f5d40c..9463efaec723 100644
--- a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.kt
+++ b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.kt
@@ -31,5 +31,8 @@ data class TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter (
@field:JsonProperty("values")
val propertyValues: kotlin.collections.List? = null
-)
+) {
+
+
+}
diff --git a/samples/client/echo_api/kotlin-model-prefix-type-mappings/README.md b/samples/client/echo_api/kotlin-model-prefix-type-mappings/README.md
index 1e5ca730cd6e..29b74e5cb44e 100644
--- a/samples/client/echo_api/kotlin-model-prefix-type-mappings/README.md
+++ b/samples/client/echo_api/kotlin-model-prefix-type-mappings/README.md
@@ -43,28 +43,28 @@ This runs all tests and packages the library.
All URIs are relative to *http://localhost:3000*
-Class | Method | HTTP request | Description
------------- | ------------- | ------------- | -------------
-*AuthApi* | [**testAuthHttpBasic**](docs/AuthApi.md#testauthhttpbasic) | **POST** auth/http/basic | To test HTTP basic authentication
-*AuthApi* | [**testAuthHttpBearer**](docs/AuthApi.md#testauthhttpbearer) | **POST** auth/http/bearer | To test HTTP bearer authentication
-*BodyApi* | [**testBinaryGif**](docs/BodyApi.md#testbinarygif) | **POST** binary/gif | Test binary (gif) response body
-*BodyApi* | [**testBodyApplicationOctetstreamBinary**](docs/BodyApi.md#testbodyapplicationoctetstreambinary) | **POST** body/application/octetstream/binary | Test body parameter(s)
-*BodyApi* | [**testBodyMultipartFormdataArrayOfBinary**](docs/BodyApi.md#testbodymultipartformdataarrayofbinary) | **POST** body/application/octetstream/array_of_binary | Test array of binary in multipart mime
-*BodyApi* | [**testBodyMultipartFormdataSingleBinary**](docs/BodyApi.md#testbodymultipartformdatasinglebinary) | **POST** body/application/octetstream/single_binary | Test single binary in multipart mime
-*BodyApi* | [**testEchoBodyFreeFormObjectResponseString**](docs/BodyApi.md#testechobodyfreeformobjectresponsestring) | **POST** echo/body/FreeFormObject/response_string | Test free form object
-*BodyApi* | [**testEchoBodyPet**](docs/BodyApi.md#testechobodypet) | **POST** echo/body/Pet | Test body parameter(s)
-*BodyApi* | [**testEchoBodyPetResponseString**](docs/BodyApi.md#testechobodypetresponsestring) | **POST** echo/body/Pet/response_string | Test empty response body
-*BodyApi* | [**testEchoBodyTagResponseString**](docs/BodyApi.md#testechobodytagresponsestring) | **POST** echo/body/Tag/response_string | Test empty json (request body)
-*FormApi* | [**testFormIntegerBooleanString**](docs/FormApi.md#testformintegerbooleanstring) | **POST** form/integer/boolean/string | Test form parameter(s)
-*FormApi* | [**testFormOneof**](docs/FormApi.md#testformoneof) | **POST** form/oneof | Test form parameter(s) for oneOf schema
-*HeaderApi* | [**testHeaderIntegerBooleanStringEnums**](docs/HeaderApi.md#testheaderintegerbooleanstringenums) | **GET** header/integer/boolean/string/enums | Test header parameter(s)
-*PathApi* | [**testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](docs/PathApi.md#testspathstringpathstringintegerpathintegerenumnonrefstringpathenumrefstringpath) | **GET** path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
-*QueryApi* | [**testEnumRefString**](docs/QueryApi.md#testenumrefstring) | **GET** query/enum_ref_string | Test query parameter(s)
-*QueryApi* | [**testQueryDatetimeDateString**](docs/QueryApi.md#testquerydatetimedatestring) | **GET** query/datetime/date/string | Test query parameter(s)
-*QueryApi* | [**testQueryIntegerBooleanString**](docs/QueryApi.md#testqueryintegerbooleanstring) | **GET** query/integer/boolean/string | Test query parameter(s)
-*QueryApi* | [**testQueryStyleDeepObjectExplodeTrueObject**](docs/QueryApi.md#testquerystyledeepobjectexplodetrueobject) | **GET** query/style_deepObject/explode_true/object | Test query parameter(s)
-*QueryApi* | [**testQueryStyleFormExplodeTrueArrayString**](docs/QueryApi.md#testquerystyleformexplodetruearraystring) | **GET** query/style_form/explode_true/array_string | Test query parameter(s)
-*QueryApi* | [**testQueryStyleFormExplodeTrueObject**](docs/QueryApi.md#testquerystyleformexplodetrueobject) | **GET** query/style_form/explode_true/object | Test query parameter(s)
+| Class | Method | HTTP request | Description |
+| ------------ | ------------- | ------------- | ------------- |
+| *AuthApi* | [**testAuthHttpBasic**](docs/AuthApi.md#testauthhttpbasic) | **POST** auth/http/basic | To test HTTP basic authentication |
+| *AuthApi* | [**testAuthHttpBearer**](docs/AuthApi.md#testauthhttpbearer) | **POST** auth/http/bearer | To test HTTP bearer authentication |
+| *BodyApi* | [**testBinaryGif**](docs/BodyApi.md#testbinarygif) | **POST** binary/gif | Test binary (gif) response body |
+| *BodyApi* | [**testBodyApplicationOctetstreamBinary**](docs/BodyApi.md#testbodyapplicationoctetstreambinary) | **POST** body/application/octetstream/binary | Test body parameter(s) |
+| *BodyApi* | [**testBodyMultipartFormdataArrayOfBinary**](docs/BodyApi.md#testbodymultipartformdataarrayofbinary) | **POST** body/application/octetstream/array_of_binary | Test array of binary in multipart mime |
+| *BodyApi* | [**testBodyMultipartFormdataSingleBinary**](docs/BodyApi.md#testbodymultipartformdatasinglebinary) | **POST** body/application/octetstream/single_binary | Test single binary in multipart mime |
+| *BodyApi* | [**testEchoBodyFreeFormObjectResponseString**](docs/BodyApi.md#testechobodyfreeformobjectresponsestring) | **POST** echo/body/FreeFormObject/response_string | Test free form object |
+| *BodyApi* | [**testEchoBodyPet**](docs/BodyApi.md#testechobodypet) | **POST** echo/body/Pet | Test body parameter(s) |
+| *BodyApi* | [**testEchoBodyPetResponseString**](docs/BodyApi.md#testechobodypetresponsestring) | **POST** echo/body/Pet/response_string | Test empty response body |
+| *BodyApi* | [**testEchoBodyTagResponseString**](docs/BodyApi.md#testechobodytagresponsestring) | **POST** echo/body/Tag/response_string | Test empty json (request body) |
+| *FormApi* | [**testFormIntegerBooleanString**](docs/FormApi.md#testformintegerbooleanstring) | **POST** form/integer/boolean/string | Test form parameter(s) |
+| *FormApi* | [**testFormOneof**](docs/FormApi.md#testformoneof) | **POST** form/oneof | Test form parameter(s) for oneOf schema |
+| *HeaderApi* | [**testHeaderIntegerBooleanStringEnums**](docs/HeaderApi.md#testheaderintegerbooleanstringenums) | **GET** header/integer/boolean/string/enums | Test header parameter(s) |
+| *PathApi* | [**testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](docs/PathApi.md#testspathstringpathstringintegerpathintegerenumnonrefstringpathenumrefstringpath) | **GET** path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s) |
+| *QueryApi* | [**testEnumRefString**](docs/QueryApi.md#testenumrefstring) | **GET** query/enum_ref_string | Test query parameter(s) |
+| *QueryApi* | [**testQueryDatetimeDateString**](docs/QueryApi.md#testquerydatetimedatestring) | **GET** query/datetime/date/string | Test query parameter(s) |
+| *QueryApi* | [**testQueryIntegerBooleanString**](docs/QueryApi.md#testqueryintegerbooleanstring) | **GET** query/integer/boolean/string | Test query parameter(s) |
+| *QueryApi* | [**testQueryStyleDeepObjectExplodeTrueObject**](docs/QueryApi.md#testquerystyledeepobjectexplodetrueobject) | **GET** query/style_deepObject/explode_true/object | Test query parameter(s) |
+| *QueryApi* | [**testQueryStyleFormExplodeTrueArrayString**](docs/QueryApi.md#testquerystyleformexplodetruearraystring) | **GET** query/style_form/explode_true/array_string | Test query parameter(s) |
+| *QueryApi* | [**testQueryStyleFormExplodeTrueObject**](docs/QueryApi.md#testquerystyleformexplodetrueobject) | **GET** query/style_form/explode_true/object | Test query parameter(s) |
diff --git a/samples/client/echo_api/kotlin-model-prefix-type-mappings/docs/AuthApi.md b/samples/client/echo_api/kotlin-model-prefix-type-mappings/docs/AuthApi.md
index fc2aacf43144..6db661480f1f 100644
--- a/samples/client/echo_api/kotlin-model-prefix-type-mappings/docs/AuthApi.md
+++ b/samples/client/echo_api/kotlin-model-prefix-type-mappings/docs/AuthApi.md
@@ -2,10 +2,10 @@
All URIs are relative to *http://localhost:3000*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**testAuthHttpBasic**](AuthApi.md#testAuthHttpBasic) | **POST** auth/http/basic | To test HTTP basic authentication
-[**testAuthHttpBearer**](AuthApi.md#testAuthHttpBearer) | **POST** auth/http/bearer | To test HTTP bearer authentication
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**testAuthHttpBasic**](AuthApi.md#testAuthHttpBasic) | **POST** auth/http/basic | To test HTTP basic authentication |
+| [**testAuthHttpBearer**](AuthApi.md#testAuthHttpBearer) | **POST** auth/http/bearer | To test HTTP bearer authentication |
diff --git a/samples/client/echo_api/kotlin-model-prefix-type-mappings/docs/Bird.md b/samples/client/echo_api/kotlin-model-prefix-type-mappings/docs/Bird.md
index 24ab8ec1e113..47dfa1d8cfe2 100644
--- a/samples/client/echo_api/kotlin-model-prefix-type-mappings/docs/Bird.md
+++ b/samples/client/echo_api/kotlin-model-prefix-type-mappings/docs/Bird.md
@@ -2,10 +2,10 @@
# ApiBird
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**propertySize** | **kotlin.String** | | [optional]
-**color** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **propertySize** | **kotlin.String** | | [optional] |
+| **color** | **kotlin.String** | | [optional] |
diff --git a/samples/client/echo_api/kotlin-model-prefix-type-mappings/docs/BodyApi.md b/samples/client/echo_api/kotlin-model-prefix-type-mappings/docs/BodyApi.md
index ec76bd7d9c47..3a233eeccb35 100644
--- a/samples/client/echo_api/kotlin-model-prefix-type-mappings/docs/BodyApi.md
+++ b/samples/client/echo_api/kotlin-model-prefix-type-mappings/docs/BodyApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://localhost:3000*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**testBinaryGif**](BodyApi.md#testBinaryGif) | **POST** binary/gif | Test binary (gif) response body
-[**testBodyApplicationOctetstreamBinary**](BodyApi.md#testBodyApplicationOctetstreamBinary) | **POST** body/application/octetstream/binary | Test body parameter(s)
-[**testBodyMultipartFormdataArrayOfBinary**](BodyApi.md#testBodyMultipartFormdataArrayOfBinary) | **POST** body/application/octetstream/array_of_binary | Test array of binary in multipart mime
-[**testBodyMultipartFormdataSingleBinary**](BodyApi.md#testBodyMultipartFormdataSingleBinary) | **POST** body/application/octetstream/single_binary | Test single binary in multipart mime
-[**testEchoBodyFreeFormObjectResponseString**](BodyApi.md#testEchoBodyFreeFormObjectResponseString) | **POST** echo/body/FreeFormObject/response_string | Test free form object
-[**testEchoBodyPet**](BodyApi.md#testEchoBodyPet) | **POST** echo/body/Pet | Test body parameter(s)
-[**testEchoBodyPetResponseString**](BodyApi.md#testEchoBodyPetResponseString) | **POST** echo/body/Pet/response_string | Test empty response body
-[**testEchoBodyTagResponseString**](BodyApi.md#testEchoBodyTagResponseString) | **POST** echo/body/Tag/response_string | Test empty json (request body)
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**testBinaryGif**](BodyApi.md#testBinaryGif) | **POST** binary/gif | Test binary (gif) response body |
+| [**testBodyApplicationOctetstreamBinary**](BodyApi.md#testBodyApplicationOctetstreamBinary) | **POST** body/application/octetstream/binary | Test body parameter(s) |
+| [**testBodyMultipartFormdataArrayOfBinary**](BodyApi.md#testBodyMultipartFormdataArrayOfBinary) | **POST** body/application/octetstream/array_of_binary | Test array of binary in multipart mime |
+| [**testBodyMultipartFormdataSingleBinary**](BodyApi.md#testBodyMultipartFormdataSingleBinary) | **POST** body/application/octetstream/single_binary | Test single binary in multipart mime |
+| [**testEchoBodyFreeFormObjectResponseString**](BodyApi.md#testEchoBodyFreeFormObjectResponseString) | **POST** echo/body/FreeFormObject/response_string | Test free form object |
+| [**testEchoBodyPet**](BodyApi.md#testEchoBodyPet) | **POST** echo/body/Pet | Test body parameter(s) |
+| [**testEchoBodyPetResponseString**](BodyApi.md#testEchoBodyPetResponseString) | **POST** echo/body/Pet/response_string | Test empty response body |
+| [**testEchoBodyTagResponseString**](BodyApi.md#testEchoBodyTagResponseString) | **POST** echo/body/Tag/response_string | Test empty json (request body) |
@@ -72,10 +72,9 @@ launch(Dispatchers.IO) {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | **RequestBody**| | [optional]
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | **RequestBody**| | [optional] |
### Return type
@@ -112,10 +111,9 @@ launch(Dispatchers.IO) {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **files** | **kotlin.collections.List<RequestBody>**| |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **files** | **kotlin.collections.List<RequestBody>**| | |
### Return type
@@ -152,10 +150,9 @@ launch(Dispatchers.IO) {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **myFile** | **RequestBody**| | [optional]
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **myFile** | **RequestBody**| | [optional] |
### Return type
@@ -192,10 +189,9 @@ launch(Dispatchers.IO) {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | **kotlin.Any**| Free form object | [optional]
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | **kotlin.Any**| Free form object | [optional] |
### Return type
@@ -232,10 +228,9 @@ launch(Dispatchers.IO) {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **apiPet** | [**ApiPet**](ApiPet.md)| Pet object that needs to be added to the store | [optional]
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **apiPet** | [**ApiPet**](ApiPet.md)| Pet object that needs to be added to the store | [optional] |
### Return type
@@ -272,10 +267,9 @@ launch(Dispatchers.IO) {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **apiPet** | [**ApiPet**](ApiPet.md)| Pet object that needs to be added to the store | [optional]
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **apiPet** | [**ApiPet**](ApiPet.md)| Pet object that needs to be added to the store | [optional] |
### Return type
@@ -312,10 +306,9 @@ launch(Dispatchers.IO) {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **apiTag** | [**ApiTag**](ApiTag.md)| Tag object | [optional]
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **apiTag** | [**ApiTag**](ApiTag.md)| Tag object | [optional] |
### Return type
diff --git a/samples/client/echo_api/kotlin-model-prefix-type-mappings/docs/Category.md b/samples/client/echo_api/kotlin-model-prefix-type-mappings/docs/Category.md
index 4445602c2d45..6b06645c5e73 100644
--- a/samples/client/echo_api/kotlin-model-prefix-type-mappings/docs/Category.md
+++ b/samples/client/echo_api/kotlin-model-prefix-type-mappings/docs/Category.md
@@ -2,10 +2,10 @@
# ApiCategory
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/echo_api/kotlin-model-prefix-type-mappings/docs/DefaultValue.md b/samples/client/echo_api/kotlin-model-prefix-type-mappings/docs/DefaultValue.md
index 4775afddef84..2b8019d1a220 100644
--- a/samples/client/echo_api/kotlin-model-prefix-type-mappings/docs/DefaultValue.md
+++ b/samples/client/echo_api/kotlin-model-prefix-type-mappings/docs/DefaultValue.md
@@ -2,23 +2,23 @@
# ApiDefaultValue
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**arrayStringEnumRefDefault** | [**kotlin.collections.List<ApiStringEnumRef>**](ApiStringEnumRef.md) | | [optional]
-**arrayStringEnumDefault** | [**inline**](#kotlin.collections.List<ArrayStringEnumDefault>) | | [optional]
-**arrayStringDefault** | **kotlin.collections.List<kotlin.String>** | | [optional]
-**arrayIntegerDefault** | **kotlin.collections.List<kotlin.Int>** | | [optional]
-**arrayString** | **kotlin.collections.List<kotlin.String>** | | [optional]
-**arrayStringNullable** | **kotlin.collections.List<kotlin.String>** | | [optional]
-**arrayStringExtensionNullable** | **kotlin.collections.List<kotlin.String>** | | [optional]
-**stringNullable** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **arrayStringEnumRefDefault** | [**kotlin.collections.List<ApiStringEnumRef>**](ApiStringEnumRef.md) | | [optional] |
+| **arrayStringEnumDefault** | [**inline**](#kotlin.collections.List<ArrayStringEnumDefault>) | | [optional] |
+| **arrayStringDefault** | **kotlin.collections.List<kotlin.String>** | | [optional] |
+| **arrayIntegerDefault** | **kotlin.collections.List<kotlin.Int>** | | [optional] |
+| **arrayString** | **kotlin.collections.List<kotlin.String>** | | [optional] |
+| **arrayStringNullable** | **kotlin.collections.List<kotlin.String>** | | [optional] |
+| **arrayStringExtensionNullable** | **kotlin.collections.List<kotlin.String>** | | [optional] |
+| **stringNullable** | **kotlin.String** | | [optional] |
## Enum: array_string_enum_default
-Name | Value
----- | -----
-arrayStringEnumDefault | success, failure, unclassified
+| Name | Value |
+| ---- | ----- |
+| arrayStringEnumDefault | success, failure, unclassified |
diff --git a/samples/client/echo_api/kotlin-model-prefix-type-mappings/docs/FormApi.md b/samples/client/echo_api/kotlin-model-prefix-type-mappings/docs/FormApi.md
index 5b301ad36005..fbc8495e9d05 100644
--- a/samples/client/echo_api/kotlin-model-prefix-type-mappings/docs/FormApi.md
+++ b/samples/client/echo_api/kotlin-model-prefix-type-mappings/docs/FormApi.md
@@ -2,10 +2,10 @@
All URIs are relative to *http://localhost:3000*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**testFormIntegerBooleanString**](FormApi.md#testFormIntegerBooleanString) | **POST** form/integer/boolean/string | Test form parameter(s)
-[**testFormOneof**](FormApi.md#testFormOneof) | **POST** form/oneof | Test form parameter(s) for oneOf schema
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**testFormIntegerBooleanString**](FormApi.md#testFormIntegerBooleanString) | **POST** form/integer/boolean/string | Test form parameter(s) |
+| [**testFormOneof**](FormApi.md#testFormOneof) | **POST** form/oneof | Test form parameter(s) for oneOf schema |
@@ -32,12 +32,11 @@ launch(Dispatchers.IO) {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **integerForm** | **kotlin.Int**| | [optional]
- **booleanForm** | **kotlin.Boolean**| | [optional]
- **stringForm** | **kotlin.String**| | [optional]
+| **integerForm** | **kotlin.Int**| | [optional] |
+| **booleanForm** | **kotlin.Boolean**| | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **stringForm** | **kotlin.String**| | [optional] |
### Return type
@@ -79,15 +78,14 @@ launch(Dispatchers.IO) {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **form1** | **kotlin.String**| | [optional]
- **form2** | **kotlin.Int**| | [optional]
- **form3** | **kotlin.String**| | [optional]
- **form4** | **kotlin.Boolean**| | [optional]
- **id** | **kotlin.Long**| | [optional]
- **name** | **kotlin.String**| | [optional]
+| **form1** | **kotlin.String**| | [optional] |
+| **form2** | **kotlin.Int**| | [optional] |
+| **form3** | **kotlin.String**| | [optional] |
+| **form4** | **kotlin.Boolean**| | [optional] |
+| **id** | **kotlin.Long**| | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **name** | **kotlin.String**| | [optional] |
### Return type
diff --git a/samples/client/echo_api/kotlin-model-prefix-type-mappings/docs/HeaderApi.md b/samples/client/echo_api/kotlin-model-prefix-type-mappings/docs/HeaderApi.md
index 26fcb46bee76..bb03570a9501 100644
--- a/samples/client/echo_api/kotlin-model-prefix-type-mappings/docs/HeaderApi.md
+++ b/samples/client/echo_api/kotlin-model-prefix-type-mappings/docs/HeaderApi.md
@@ -2,9 +2,9 @@
All URIs are relative to *http://localhost:3000*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**testHeaderIntegerBooleanStringEnums**](HeaderApi.md#testHeaderIntegerBooleanStringEnums) | **GET** header/integer/boolean/string/enums | Test header parameter(s)
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**testHeaderIntegerBooleanStringEnums**](HeaderApi.md#testHeaderIntegerBooleanStringEnums) | **GET** header/integer/boolean/string/enums | Test header parameter(s) |
@@ -33,14 +33,13 @@ launch(Dispatchers.IO) {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **integerHeader** | **kotlin.Int**| | [optional]
- **booleanHeader** | **kotlin.Boolean**| | [optional]
- **stringHeader** | **kotlin.String**| | [optional]
- **enumNonrefStringHeader** | **kotlin.String**| | [optional] [enum: success, failure, unclassified]
- **enumRefStringHeader** | [**ApiStringEnumRef**](.md)| | [optional] [enum: success, failure, unclassified]
+| **integerHeader** | **kotlin.Int**| | [optional] |
+| **booleanHeader** | **kotlin.Boolean**| | [optional] |
+| **stringHeader** | **kotlin.String**| | [optional] |
+| **enumNonrefStringHeader** | **kotlin.String**| | [optional] [enum: success, failure, unclassified] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **enumRefStringHeader** | [**ApiStringEnumRef**](.md)| | [optional] [enum: success, failure, unclassified] |
### Return type
diff --git a/samples/client/echo_api/kotlin-model-prefix-type-mappings/docs/NumberPropertiesOnly.md b/samples/client/echo_api/kotlin-model-prefix-type-mappings/docs/NumberPropertiesOnly.md
index 8741ec4ec12c..a3bd77d17bbd 100644
--- a/samples/client/echo_api/kotlin-model-prefix-type-mappings/docs/NumberPropertiesOnly.md
+++ b/samples/client/echo_api/kotlin-model-prefix-type-mappings/docs/NumberPropertiesOnly.md
@@ -2,11 +2,11 @@
# ApiNumberPropertiesOnly
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**number** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | [optional]
-**float** | **kotlin.Float** | | [optional]
-**double** | **kotlin.Double** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **number** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | [optional] |
+| **float** | **kotlin.Float** | | [optional] |
+| **double** | **kotlin.Double** | | [optional] |
diff --git a/samples/client/echo_api/kotlin-model-prefix-type-mappings/docs/PathApi.md b/samples/client/echo_api/kotlin-model-prefix-type-mappings/docs/PathApi.md
index fc3ae5d8a527..c3ca570ecc2b 100644
--- a/samples/client/echo_api/kotlin-model-prefix-type-mappings/docs/PathApi.md
+++ b/samples/client/echo_api/kotlin-model-prefix-type-mappings/docs/PathApi.md
@@ -2,9 +2,9 @@
All URIs are relative to *http://localhost:3000*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](PathApi.md#testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath) | **GET** path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](PathApi.md#testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath) | **GET** path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s) |
@@ -32,13 +32,12 @@ launch(Dispatchers.IO) {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **pathString** | **kotlin.String**| |
- **pathInteger** | **kotlin.Int**| |
- **enumNonrefStringPath** | **kotlin.String**| | [enum: success, failure, unclassified]
- **enumRefStringPath** | [**ApiStringEnumRef**](.md)| | [enum: success, failure, unclassified]
+| **pathString** | **kotlin.String**| | |
+| **pathInteger** | **kotlin.Int**| | |
+| **enumNonrefStringPath** | **kotlin.String**| | [enum: success, failure, unclassified] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **enumRefStringPath** | [**ApiStringEnumRef**](.md)| | [enum: success, failure, unclassified] |
### Return type
diff --git a/samples/client/echo_api/kotlin-model-prefix-type-mappings/docs/Pet.md b/samples/client/echo_api/kotlin-model-prefix-type-mappings/docs/Pet.md
index f525df0ffd88..e7552df1e079 100644
--- a/samples/client/echo_api/kotlin-model-prefix-type-mappings/docs/Pet.md
+++ b/samples/client/echo_api/kotlin-model-prefix-type-mappings/docs/Pet.md
@@ -2,21 +2,21 @@
# ApiPet
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**name** | **kotlin.String** | |
-**photoUrls** | **kotlin.collections.List<kotlin.String>** | |
-**id** | **kotlin.Long** | | [optional]
-**category** | [**ApiCategory**](ApiCategory.md) | | [optional]
-**tags** | [**kotlin.collections.List<ApiTag>**](ApiTag.md) | | [optional]
-**status** | [**inline**](#Status) | pet status in the store | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **name** | **kotlin.String** | | |
+| **photoUrls** | **kotlin.collections.List<kotlin.String>** | | |
+| **id** | **kotlin.Long** | | [optional] |
+| **category** | [**ApiCategory**](ApiCategory.md) | | [optional] |
+| **tags** | [**kotlin.collections.List<ApiTag>**](ApiTag.md) | | [optional] |
+| **status** | [**inline**](#Status) | pet status in the store | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | available, pending, sold
+| Name | Value |
+| ---- | ----- |
+| status | available, pending, sold |
diff --git a/samples/client/echo_api/kotlin-model-prefix-type-mappings/docs/Query.md b/samples/client/echo_api/kotlin-model-prefix-type-mappings/docs/Query.md
index 973bc49a7da9..9020df8a3502 100644
--- a/samples/client/echo_api/kotlin-model-prefix-type-mappings/docs/Query.md
+++ b/samples/client/echo_api/kotlin-model-prefix-type-mappings/docs/Query.md
@@ -2,17 +2,17 @@
# ApiQuery
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | Query | [optional]
-**outcomes** | [**inline**](#kotlin.collections.List<Outcomes>) | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | Query | [optional] |
+| **outcomes** | [**inline**](#kotlin.collections.List<Outcomes>) | | [optional] |
## Enum: outcomes
-Name | Value
----- | -----
-outcomes | SUCCESS, FAILURE, SKIPPED
+| Name | Value |
+| ---- | ----- |
+| outcomes | SUCCESS, FAILURE, SKIPPED |
diff --git a/samples/client/echo_api/kotlin-model-prefix-type-mappings/docs/QueryApi.md b/samples/client/echo_api/kotlin-model-prefix-type-mappings/docs/QueryApi.md
index f8dc4354cce3..a2714d03fa80 100644
--- a/samples/client/echo_api/kotlin-model-prefix-type-mappings/docs/QueryApi.md
+++ b/samples/client/echo_api/kotlin-model-prefix-type-mappings/docs/QueryApi.md
@@ -2,14 +2,14 @@
All URIs are relative to *http://localhost:3000*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**testEnumRefString**](QueryApi.md#testEnumRefString) | **GET** query/enum_ref_string | Test query parameter(s)
-[**testQueryDatetimeDateString**](QueryApi.md#testQueryDatetimeDateString) | **GET** query/datetime/date/string | Test query parameter(s)
-[**testQueryIntegerBooleanString**](QueryApi.md#testQueryIntegerBooleanString) | **GET** query/integer/boolean/string | Test query parameter(s)
-[**testQueryStyleDeepObjectExplodeTrueObject**](QueryApi.md#testQueryStyleDeepObjectExplodeTrueObject) | **GET** query/style_deepObject/explode_true/object | Test query parameter(s)
-[**testQueryStyleFormExplodeTrueArrayString**](QueryApi.md#testQueryStyleFormExplodeTrueArrayString) | **GET** query/style_form/explode_true/array_string | Test query parameter(s)
-[**testQueryStyleFormExplodeTrueObject**](QueryApi.md#testQueryStyleFormExplodeTrueObject) | **GET** query/style_form/explode_true/object | Test query parameter(s)
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**testEnumRefString**](QueryApi.md#testEnumRefString) | **GET** query/enum_ref_string | Test query parameter(s) |
+| [**testQueryDatetimeDateString**](QueryApi.md#testQueryDatetimeDateString) | **GET** query/datetime/date/string | Test query parameter(s) |
+| [**testQueryIntegerBooleanString**](QueryApi.md#testQueryIntegerBooleanString) | **GET** query/integer/boolean/string | Test query parameter(s) |
+| [**testQueryStyleDeepObjectExplodeTrueObject**](QueryApi.md#testQueryStyleDeepObjectExplodeTrueObject) | **GET** query/style_deepObject/explode_true/object | Test query parameter(s) |
+| [**testQueryStyleFormExplodeTrueArrayString**](QueryApi.md#testQueryStyleFormExplodeTrueArrayString) | **GET** query/style_form/explode_true/array_string | Test query parameter(s) |
+| [**testQueryStyleFormExplodeTrueObject**](QueryApi.md#testQueryStyleFormExplodeTrueObject) | **GET** query/style_form/explode_true/object | Test query parameter(s) |
@@ -35,11 +35,10 @@ launch(Dispatchers.IO) {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **enumNonrefStringQuery** | **kotlin.String**| | [optional] [enum: success, failure, unclassified]
- **enumRefStringQuery** | [**ApiStringEnumRef**](.md)| | [optional] [enum: success, failure, unclassified]
+| **enumNonrefStringQuery** | **kotlin.String**| | [optional] [enum: success, failure, unclassified] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **enumRefStringQuery** | [**ApiStringEnumRef**](.md)| | [optional] [enum: success, failure, unclassified] |
### Return type
@@ -78,12 +77,11 @@ launch(Dispatchers.IO) {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **datetimeQuery** | **java.time.OffsetDateTime**| | [optional]
- **dateQuery** | **java.time.LocalDate**| | [optional]
- **stringQuery** | **kotlin.String**| | [optional]
+| **datetimeQuery** | **java.time.OffsetDateTime**| | [optional] |
+| **dateQuery** | **java.time.LocalDate**| | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **stringQuery** | **kotlin.String**| | [optional] |
### Return type
@@ -122,12 +120,11 @@ launch(Dispatchers.IO) {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **integerQuery** | **kotlin.Int**| | [optional]
- **booleanQuery** | **kotlin.Boolean**| | [optional]
- **stringQuery** | **kotlin.String**| | [optional]
+| **integerQuery** | **kotlin.Int**| | [optional] |
+| **booleanQuery** | **kotlin.Boolean**| | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **stringQuery** | **kotlin.String**| | [optional] |
### Return type
@@ -164,10 +161,9 @@ launch(Dispatchers.IO) {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **queryObject** | [**ApiPet**](.md)| | [optional]
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **queryObject** | [**ApiPet**](.md)| | [optional] |
### Return type
@@ -204,10 +200,9 @@ launch(Dispatchers.IO) {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **queryObject** | [**ApiTestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter**](.md)| | [optional]
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **queryObject** | [**ApiTestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter**](.md)| | [optional] |
### Return type
@@ -244,10 +239,9 @@ launch(Dispatchers.IO) {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **queryObject** | [**ApiPet**](.md)| | [optional]
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **queryObject** | [**ApiPet**](.md)| | [optional] |
### Return type
diff --git a/samples/client/echo_api/kotlin-model-prefix-type-mappings/docs/Tag.md b/samples/client/echo_api/kotlin-model-prefix-type-mappings/docs/Tag.md
index 91a171469a4e..11567f173fc9 100644
--- a/samples/client/echo_api/kotlin-model-prefix-type-mappings/docs/Tag.md
+++ b/samples/client/echo_api/kotlin-model-prefix-type-mappings/docs/Tag.md
@@ -2,10 +2,10 @@
# ApiTag
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/echo_api/kotlin-model-prefix-type-mappings/docs/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.md b/samples/client/echo_api/kotlin-model-prefix-type-mappings/docs/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.md
index f5b3cec9e2b9..199eb808c1e0 100644
--- a/samples/client/echo_api/kotlin-model-prefix-type-mappings/docs/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.md
+++ b/samples/client/echo_api/kotlin-model-prefix-type-mappings/docs/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.md
@@ -2,9 +2,9 @@
# ApiTestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**propertyValues** | **kotlin.collections.List<kotlin.String>** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **propertyValues** | **kotlin.collections.List<kotlin.String>** | | [optional] |
diff --git a/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiBird.kt b/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiBird.kt
index 12de10f20a96..ac0f2f486022 100644
--- a/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiBird.kt
+++ b/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiBird.kt
@@ -34,5 +34,8 @@ data class ApiBird (
@SerializedName("color")
val color: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiCategory.kt b/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiCategory.kt
index 509a736a1c0e..f8ec4e1cc51e 100644
--- a/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiCategory.kt
+++ b/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiCategory.kt
@@ -34,5 +34,8 @@ data class ApiCategory (
@SerializedName("name")
val name: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiDefaultValue.kt b/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiDefaultValue.kt
index 55d133838331..ec5413f8b2cb 100644
--- a/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiDefaultValue.kt
+++ b/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiDefaultValue.kt
@@ -71,5 +71,6 @@ data class ApiDefaultValue (
@SerializedName(value = "failure") FAILURE("failure"),
@SerializedName(value = "unclassified") UNCLASSIFIED("unclassified");
}
+
}
diff --git a/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiNumberPropertiesOnly.kt b/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiNumberPropertiesOnly.kt
index 3f411d197cc3..0262f3edc403 100644
--- a/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiNumberPropertiesOnly.kt
+++ b/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiNumberPropertiesOnly.kt
@@ -38,5 +38,8 @@ data class ApiNumberPropertiesOnly (
@SerializedName("double")
val double: kotlin.Double? = null
-)
+) {
+
+
+}
diff --git a/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiPet.kt b/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiPet.kt
index ac4940b5c7ea..198ccf7f68ca 100644
--- a/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiPet.kt
+++ b/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiPet.kt
@@ -65,5 +65,6 @@ data class ApiPet (
@SerializedName(value = "pending") PENDING("pending"),
@SerializedName(value = "sold") SOLD("sold");
}
+
}
diff --git a/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiQuery.kt b/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiQuery.kt
index 545b6556eedc..e9f961d7441a 100644
--- a/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiQuery.kt
+++ b/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiQuery.kt
@@ -47,5 +47,6 @@ data class ApiQuery (
@SerializedName(value = "FAILURE") FAILURE("FAILURE"),
@SerializedName(value = "SKIPPED") SKIPPED("SKIPPED");
}
+
}
diff --git a/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiTag.kt b/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiTag.kt
index b3a3a685a23e..42e79293f18c 100644
--- a/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiTag.kt
+++ b/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiTag.kt
@@ -34,5 +34,8 @@ data class ApiTag (
@SerializedName("name")
val name: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiTestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.kt b/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiTestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.kt
index 7c98444fb047..f0cd66c86efc 100644
--- a/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiTestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.kt
+++ b/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiTestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.kt
@@ -30,5 +30,8 @@ data class ApiTestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter (
@SerializedName("values")
val propertyValues: kotlin.collections.List? = null
-)
+) {
+
+
+}
diff --git a/samples/client/others/kotlin-jvm-okhttp-parameter-tests/README.md b/samples/client/others/kotlin-jvm-okhttp-parameter-tests/README.md
index 6227d62c1cf7..c132061803ef 100644
--- a/samples/client/others/kotlin-jvm-okhttp-parameter-tests/README.md
+++ b/samples/client/others/kotlin-jvm-okhttp-parameter-tests/README.md
@@ -43,9 +43,9 @@ This runs all tests and packages the library.
All URIs are relative to *http://localhost*
-Class | Method | HTTP request | Description
------------- | ------------- | ------------- | -------------
-*DefaultApi* | [**findPetsByStatus**](docs/DefaultApi.md#findpetsbystatus) | **GET** /test/parameters/{path_default}/{path_nullable} | Finds Pets by status
+| Class | Method | HTTP request | Description |
+| ------------ | ------------- | ------------- | ------------- |
+| *DefaultApi* | [**findPetsByStatus**](docs/DefaultApi.md#findpetsbystatus) | **GET** /test/parameters/{path_default}/{path_nullable} | Finds Pets by status |
diff --git a/samples/client/others/kotlin-jvm-okhttp-parameter-tests/docs/DefaultApi.md b/samples/client/others/kotlin-jvm-okhttp-parameter-tests/docs/DefaultApi.md
index 4e81da579cb3..9eef33d4af16 100644
--- a/samples/client/others/kotlin-jvm-okhttp-parameter-tests/docs/DefaultApi.md
+++ b/samples/client/others/kotlin-jvm-okhttp-parameter-tests/docs/DefaultApi.md
@@ -2,9 +2,9 @@
All URIs are relative to *http://localhost*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**findPetsByStatus**](DefaultApi.md#findPetsByStatus) | **GET** /test/parameters/{path_default}/{path_nullable} | Finds Pets by status
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**findPetsByStatus**](DefaultApi.md#findPetsByStatus) | **GET** /test/parameters/{path_default}/{path_nullable} | Finds Pets by status |
@@ -49,24 +49,23 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **pathDefault** | **kotlin.String**| path default |
- **pathNullable** | **kotlin.String**| path_nullable |
- **queryDefault** | **kotlin.String**| query default | [optional] [default to "available"]
- **queryDefaultEnum** | **kotlin.String**| query default enum | [optional] [default to B] [enum: A, B, C]
- **queryDefaultInt** | **java.math.BigDecimal**| query default int | [optional] [default to 3]
- **headerDefault** | **kotlin.String**| header default | [optional] [default to "available"]
- **headerDefaultEnum** | **kotlin.String**| header default enum | [optional] [default to B] [enum: A, B, C]
- **headerDefaultInt** | **java.math.BigDecimal**| header default int | [optional] [default to 3]
- **cookieDefault** | **kotlin.String**| cookie default | [optional] [default to "available"]
- **cookieDefaultEnum** | **kotlin.String**| cookie default enum | [optional] [default to B] [enum: A, B, C]
- **cookieDefaultInt** | **java.math.BigDecimal**| cookie default int | [optional] [default to 3]
- **queryNullable** | **kotlin.String**| query nullable | [optional]
- **headerNullable** | **kotlin.String**| header nullable | [optional]
- **cookieNullable** | **kotlin.String**| cookie_nullable | [optional]
- **dollarQueryDollarDollarSign** | **kotlin.String**| query parameter with dollar sign | [optional]
+| **pathDefault** | **kotlin.String**| path default | |
+| **pathNullable** | **kotlin.String**| path_nullable | |
+| **queryDefault** | **kotlin.String**| query default | [optional] [default to "available"] |
+| **queryDefaultEnum** | **kotlin.String**| query default enum | [optional] [default to B] [enum: A, B, C] |
+| **queryDefaultInt** | **java.math.BigDecimal**| query default int | [optional] [default to 3] |
+| **headerDefault** | **kotlin.String**| header default | [optional] [default to "available"] |
+| **headerDefaultEnum** | **kotlin.String**| header default enum | [optional] [default to B] [enum: A, B, C] |
+| **headerDefaultInt** | **java.math.BigDecimal**| header default int | [optional] [default to 3] |
+| **cookieDefault** | **kotlin.String**| cookie default | [optional] [default to "available"] |
+| **cookieDefaultEnum** | **kotlin.String**| cookie default enum | [optional] [default to B] [enum: A, B, C] |
+| **cookieDefaultInt** | **java.math.BigDecimal**| cookie default int | [optional] [default to 3] |
+| **queryNullable** | **kotlin.String**| query nullable | [optional] |
+| **headerNullable** | **kotlin.String**| header nullable | [optional] |
+| **cookieNullable** | **kotlin.String**| cookie_nullable | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **dollarQueryDollarDollarSign** | **kotlin.String**| query parameter with dollar sign | [optional] |
### Return type
diff --git a/samples/client/petstore/kotlin-allOff-discriminator/README.md b/samples/client/petstore/kotlin-allOff-discriminator/README.md
index a6d00790bc19..aaf066f8a95c 100644
--- a/samples/client/petstore/kotlin-allOff-discriminator/README.md
+++ b/samples/client/petstore/kotlin-allOff-discriminator/README.md
@@ -44,9 +44,9 @@ This runs all tests and packages the library.
All URIs are relative to *http://example.org*
-Class | Method | HTTP request | Description
------------- | ------------- | ------------- | -------------
-*BirdApi* | [**getBird**](docs/BirdApi.md#getbird) | **GET** /v1/bird/{id} |
+| Class | Method | HTTP request | Description |
+| ------------ | ------------- | ------------- | ------------- |
+| *BirdApi* | [**getBird**](docs/BirdApi.md#getbird) | **GET** /v1/bird/{id} | |
diff --git a/samples/client/petstore/kotlin-allOff-discriminator/docs/Animal.md b/samples/client/petstore/kotlin-allOff-discriminator/docs/Animal.md
index 44b79cb929de..3c667f1557ea 100644
--- a/samples/client/petstore/kotlin-allOff-discriminator/docs/Animal.md
+++ b/samples/client/petstore/kotlin-allOff-discriminator/docs/Animal.md
@@ -2,9 +2,9 @@
# Animal
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | [**java.util.UUID**](java.util.UUID.md) | |
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | [**java.util.UUID**](java.util.UUID.md) | | |
diff --git a/samples/client/petstore/kotlin-allOff-discriminator/docs/Bird.md b/samples/client/petstore/kotlin-allOff-discriminator/docs/Bird.md
index 850f9342bb05..855925d1aeee 100644
--- a/samples/client/petstore/kotlin-allOff-discriminator/docs/Bird.md
+++ b/samples/client/petstore/kotlin-allOff-discriminator/docs/Bird.md
@@ -2,9 +2,9 @@
# Bird
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**featherType** | **kotlin.String** | |
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **featherType** | **kotlin.String** | | |
diff --git a/samples/client/petstore/kotlin-allOff-discriminator/docs/BirdApi.md b/samples/client/petstore/kotlin-allOff-discriminator/docs/BirdApi.md
index 61dcdb135c42..60283e9b7cd3 100644
--- a/samples/client/petstore/kotlin-allOff-discriminator/docs/BirdApi.md
+++ b/samples/client/petstore/kotlin-allOff-discriminator/docs/BirdApi.md
@@ -2,9 +2,9 @@
All URIs are relative to *http://example.org*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**getBird**](BirdApi.md#getBird) | **GET** /v1/bird/{id} |
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**getBird**](BirdApi.md#getBird) | **GET** /v1/bird/{id} | |
@@ -34,10 +34,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **id** | **java.util.UUID**| |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **id** | **java.util.UUID**| | |
### Return type
diff --git a/samples/client/petstore/kotlin-allOff-discriminator/src/main/kotlin/org/openapitools/client/models/Animal.kt b/samples/client/petstore/kotlin-allOff-discriminator/src/main/kotlin/org/openapitools/client/models/Animal.kt
index 50d02a563a79..9382d5519b21 100644
--- a/samples/client/petstore/kotlin-allOff-discriminator/src/main/kotlin/org/openapitools/client/models/Animal.kt
+++ b/samples/client/petstore/kotlin-allOff-discriminator/src/main/kotlin/org/openapitools/client/models/Animal.kt
@@ -30,5 +30,6 @@ interface Animal {
@Json(name = "id")
val id: java.util.UUID
+
}
diff --git a/samples/client/petstore/kotlin-allOff-discriminator/src/main/kotlin/org/openapitools/client/models/Bird.kt b/samples/client/petstore/kotlin-allOff-discriminator/src/main/kotlin/org/openapitools/client/models/Bird.kt
index 59863e86180a..c368f1fd260c 100644
--- a/samples/client/petstore/kotlin-allOff-discriminator/src/main/kotlin/org/openapitools/client/models/Bird.kt
+++ b/samples/client/petstore/kotlin-allOff-discriminator/src/main/kotlin/org/openapitools/client/models/Bird.kt
@@ -36,5 +36,8 @@ data class Bird (
@Json(name = "featherType")
val featherType: kotlin.String
-) : Animal
+) : Animal {
+
+
+}
diff --git a/samples/client/petstore/kotlin-array-simple-string-jvm-okhttp4/README.md b/samples/client/petstore/kotlin-array-simple-string-jvm-okhttp4/README.md
index 36843f8afb0d..a2c496d543e7 100644
--- a/samples/client/petstore/kotlin-array-simple-string-jvm-okhttp4/README.md
+++ b/samples/client/petstore/kotlin-array-simple-string-jvm-okhttp4/README.md
@@ -43,9 +43,9 @@ This runs all tests and packages the library.
All URIs are relative to *http://localhost*
-Class | Method | HTTP request | Description
------------- | ------------- | ------------- | -------------
-*DefaultApi* | [**idsGet**](docs/DefaultApi.md#idsget) | **GET** /{ids} |
+| Class | Method | HTTP request | Description |
+| ------------ | ------------- | ------------- | ------------- |
+| *DefaultApi* | [**idsGet**](docs/DefaultApi.md#idsget) | **GET** /{ids} | |
diff --git a/samples/client/petstore/kotlin-array-simple-string-jvm-okhttp4/docs/DefaultApi.md b/samples/client/petstore/kotlin-array-simple-string-jvm-okhttp4/docs/DefaultApi.md
index 39a71e41a1ce..46a83408ddfe 100644
--- a/samples/client/petstore/kotlin-array-simple-string-jvm-okhttp4/docs/DefaultApi.md
+++ b/samples/client/petstore/kotlin-array-simple-string-jvm-okhttp4/docs/DefaultApi.md
@@ -2,9 +2,9 @@
All URIs are relative to *http://localhost*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**idsGet**](DefaultApi.md#idsGet) | **GET** /{ids} |
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**idsGet**](DefaultApi.md#idsGet) | **GET** /{ids} | |
@@ -33,10 +33,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **ids** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **ids** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| | |
### Return type
diff --git a/samples/client/petstore/kotlin-array-simple-string-multiplatform/README.md b/samples/client/petstore/kotlin-array-simple-string-multiplatform/README.md
index 0cc3ff66368f..89585e8dc28f 100644
--- a/samples/client/petstore/kotlin-array-simple-string-multiplatform/README.md
+++ b/samples/client/petstore/kotlin-array-simple-string-multiplatform/README.md
@@ -34,9 +34,9 @@ This runs all tests and packages the library.
All URIs are relative to *http://localhost*
-Class | Method | HTTP request | Description
------------- | ------------- | ------------- | -------------
-*DefaultApi* | [**idsGet**](docs/DefaultApi.md#idsget) | **GET** /{ids} |
+| Class | Method | HTTP request | Description |
+| ------------ | ------------- | ------------- | ------------- |
+| *DefaultApi* | [**idsGet**](docs/DefaultApi.md#idsget) | **GET** /{ids} | |
diff --git a/samples/client/petstore/kotlin-array-simple-string-multiplatform/docs/DefaultApi.md b/samples/client/petstore/kotlin-array-simple-string-multiplatform/docs/DefaultApi.md
index 39a71e41a1ce..46a83408ddfe 100644
--- a/samples/client/petstore/kotlin-array-simple-string-multiplatform/docs/DefaultApi.md
+++ b/samples/client/petstore/kotlin-array-simple-string-multiplatform/docs/DefaultApi.md
@@ -2,9 +2,9 @@
All URIs are relative to *http://localhost*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**idsGet**](DefaultApi.md#idsGet) | **GET** /{ids} |
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**idsGet**](DefaultApi.md#idsGet) | **GET** /{ids} | |
@@ -33,10 +33,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **ids** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **ids** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| | |
### Return type
diff --git a/samples/client/petstore/kotlin-bigdecimal-default-multiplatform/README.md b/samples/client/petstore/kotlin-bigdecimal-default-multiplatform/README.md
index 1e5aa0a74eb8..eb1f674d3f61 100644
--- a/samples/client/petstore/kotlin-bigdecimal-default-multiplatform/README.md
+++ b/samples/client/petstore/kotlin-bigdecimal-default-multiplatform/README.md
@@ -34,9 +34,9 @@ This runs all tests and packages the library.
All URIs are relative to *http://localhost*
-Class | Method | HTTP request | Description
------------- | ------------- | ------------- | -------------
-*DefaultApi* | [**testPost**](docs/DefaultApi.md#testpost) | **POST** /test |
+| Class | Method | HTTP request | Description |
+| ------------ | ------------- | ------------- | ------------- |
+| *DefaultApi* | [**testPost**](docs/DefaultApi.md#testpost) | **POST** /test | |
diff --git a/samples/client/petstore/kotlin-bigdecimal-default-multiplatform/docs/Apa.md b/samples/client/petstore/kotlin-bigdecimal-default-multiplatform/docs/Apa.md
index 52b85cbc3f3c..3bd7a6214d65 100644
--- a/samples/client/petstore/kotlin-bigdecimal-default-multiplatform/docs/Apa.md
+++ b/samples/client/petstore/kotlin-bigdecimal-default-multiplatform/docs/Apa.md
@@ -2,14 +2,14 @@
# Apa
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**bepa** | **kotlin.Double** | |
-**cepa** | **kotlin.Double** | |
-**depa** | **kotlin.Double** | | [optional]
-**epa** | **kotlin.Double** | | [optional]
-**fepa** | **kotlin.Double** | | [optional]
-**gepa** | **kotlin.Double** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **bepa** | **kotlin.Double** | | |
+| **cepa** | **kotlin.Double** | | |
+| **depa** | **kotlin.Double** | | [optional] |
+| **epa** | **kotlin.Double** | | [optional] |
+| **fepa** | **kotlin.Double** | | [optional] |
+| **gepa** | **kotlin.Double** | | [optional] |
diff --git a/samples/client/petstore/kotlin-bigdecimal-default-multiplatform/docs/DefaultApi.md b/samples/client/petstore/kotlin-bigdecimal-default-multiplatform/docs/DefaultApi.md
index cd47c9856178..dc5045f61e94 100644
--- a/samples/client/petstore/kotlin-bigdecimal-default-multiplatform/docs/DefaultApi.md
+++ b/samples/client/petstore/kotlin-bigdecimal-default-multiplatform/docs/DefaultApi.md
@@ -2,9 +2,9 @@
All URIs are relative to *http://localhost*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**testPost**](DefaultApi.md#testPost) | **POST** /test |
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**testPost**](DefaultApi.md#testPost) | **POST** /test | |
@@ -33,10 +33,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **apa** | [**Apa**](Apa.md)| |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **apa** | [**Apa**](Apa.md)| | |
### Return type
diff --git a/samples/client/petstore/kotlin-bigdecimal-default-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/Apa.kt b/samples/client/petstore/kotlin-bigdecimal-default-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/Apa.kt
index 08e06c597b42..463c7ccc6235 100644
--- a/samples/client/petstore/kotlin-bigdecimal-default-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/Apa.kt
+++ b/samples/client/petstore/kotlin-bigdecimal-default-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/Apa.kt
@@ -47,5 +47,8 @@ data class Apa (
@SerialName(value = "gepa") val gepa: kotlin.Double? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-bigdecimal-default-okhttp4/README.md b/samples/client/petstore/kotlin-bigdecimal-default-okhttp4/README.md
index c2e3d0935c9c..bfacf58204eb 100644
--- a/samples/client/petstore/kotlin-bigdecimal-default-okhttp4/README.md
+++ b/samples/client/petstore/kotlin-bigdecimal-default-okhttp4/README.md
@@ -43,9 +43,9 @@ This runs all tests and packages the library.
All URIs are relative to *http://localhost*
-Class | Method | HTTP request | Description
------------- | ------------- | ------------- | -------------
-*DefaultApi* | [**testPost**](docs/DefaultApi.md#testpost) | **POST** /test |
+| Class | Method | HTTP request | Description |
+| ------------ | ------------- | ------------- | ------------- |
+| *DefaultApi* | [**testPost**](docs/DefaultApi.md#testpost) | **POST** /test | |
diff --git a/samples/client/petstore/kotlin-bigdecimal-default-okhttp4/docs/Apa.md b/samples/client/petstore/kotlin-bigdecimal-default-okhttp4/docs/Apa.md
index 2831e9acf481..ec0e0b04812d 100644
--- a/samples/client/petstore/kotlin-bigdecimal-default-okhttp4/docs/Apa.md
+++ b/samples/client/petstore/kotlin-bigdecimal-default-okhttp4/docs/Apa.md
@@ -2,14 +2,14 @@
# Apa
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**bepa** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | |
-**cepa** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | |
-**depa** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | [optional]
-**epa** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | [optional]
-**fepa** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | [optional]
-**gepa** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **bepa** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | |
+| **cepa** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | |
+| **depa** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | [optional] |
+| **epa** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | [optional] |
+| **fepa** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | [optional] |
+| **gepa** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | [optional] |
diff --git a/samples/client/petstore/kotlin-bigdecimal-default-okhttp4/docs/DefaultApi.md b/samples/client/petstore/kotlin-bigdecimal-default-okhttp4/docs/DefaultApi.md
index cd47c9856178..dc5045f61e94 100644
--- a/samples/client/petstore/kotlin-bigdecimal-default-okhttp4/docs/DefaultApi.md
+++ b/samples/client/petstore/kotlin-bigdecimal-default-okhttp4/docs/DefaultApi.md
@@ -2,9 +2,9 @@
All URIs are relative to *http://localhost*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**testPost**](DefaultApi.md#testPost) | **POST** /test |
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**testPost**](DefaultApi.md#testPost) | **POST** /test | |
@@ -33,10 +33,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **apa** | [**Apa**](Apa.md)| |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **apa** | [**Apa**](Apa.md)| | |
### Return type
diff --git a/samples/client/petstore/kotlin-bigdecimal-default-okhttp4/src/main/kotlin/org/openapitools/client/models/Apa.kt b/samples/client/petstore/kotlin-bigdecimal-default-okhttp4/src/main/kotlin/org/openapitools/client/models/Apa.kt
index f40cde8caa46..b4117ed35dab 100644
--- a/samples/client/petstore/kotlin-bigdecimal-default-okhttp4/src/main/kotlin/org/openapitools/client/models/Apa.kt
+++ b/samples/client/petstore/kotlin-bigdecimal-default-okhttp4/src/main/kotlin/org/openapitools/client/models/Apa.kt
@@ -52,5 +52,8 @@ data class Apa (
@Json(name = "gepa")
val gepa: java.math.BigDecimal? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-default-values-jvm-okhttp4/README.md b/samples/client/petstore/kotlin-default-values-jvm-okhttp4/README.md
index f73c2b12f873..dd974ebc4464 100644
--- a/samples/client/petstore/kotlin-default-values-jvm-okhttp4/README.md
+++ b/samples/client/petstore/kotlin-default-values-jvm-okhttp4/README.md
@@ -43,9 +43,9 @@ This runs all tests and packages the library.
All URIs are relative to *http://localhost*
-Class | Method | HTTP request | Description
------------- | ------------- | ------------- | -------------
-*DefaultApi* | [**test**](docs/DefaultApi.md#test) | **POST** /test | Tests default values
+| Class | Method | HTTP request | Description |
+| ------------ | ------------- | ------------- | ------------- |
+| *DefaultApi* | [**test**](docs/DefaultApi.md#test) | **POST** /test | Tests default values |
diff --git a/samples/client/petstore/kotlin-default-values-jvm-okhttp4/docs/Apa.md b/samples/client/petstore/kotlin-default-values-jvm-okhttp4/docs/Apa.md
index cde9dd9cda04..c83f71851c20 100644
--- a/samples/client/petstore/kotlin-default-values-jvm-okhttp4/docs/Apa.md
+++ b/samples/client/petstore/kotlin-default-values-jvm-okhttp4/docs/Apa.md
@@ -2,12 +2,12 @@
# Apa
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**i0** | **kotlin.Int** | |
-**n0** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | |
-**i1** | **kotlin.Int** | | [optional]
-**n1** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **i0** | **kotlin.Int** | | |
+| **n0** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | |
+| **i1** | **kotlin.Int** | | [optional] |
+| **n1** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | [optional] |
diff --git a/samples/client/petstore/kotlin-default-values-jvm-okhttp4/docs/DefaultApi.md b/samples/client/petstore/kotlin-default-values-jvm-okhttp4/docs/DefaultApi.md
index 1a992fdc2820..dd1534cf92fc 100644
--- a/samples/client/petstore/kotlin-default-values-jvm-okhttp4/docs/DefaultApi.md
+++ b/samples/client/petstore/kotlin-default-values-jvm-okhttp4/docs/DefaultApi.md
@@ -2,9 +2,9 @@
All URIs are relative to *http://localhost*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**test**](DefaultApi.md#test) | **POST** /test | Tests default values
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**test**](DefaultApi.md#test) | **POST** /test | Tests default values |
@@ -63,38 +63,37 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **pi0** | **kotlin.Int**| | [default to 10]
- **pi1** | **kotlin.Int**| |
- **pn0** | **java.math.BigDecimal**| | [default to 10.0]
- **pn1** | **java.math.BigDecimal**| |
- **qi0** | **kotlin.Int**| | [optional] [default to 10]
- **qi1** | **kotlin.Int**| | [default to 71]
- **qi2** | **kotlin.Int**| | [optional]
- **qi3** | **kotlin.Int**| |
- **qn0** | **java.math.BigDecimal**| | [optional] [default to 10.0]
- **qn1** | **java.math.BigDecimal**| | [default to 71.0]
- **qn2** | **java.math.BigDecimal**| | [optional]
- **qn3** | **java.math.BigDecimal**| |
- **hi0** | **kotlin.Int**| | [optional] [default to 10]
- **hi1** | **kotlin.Int**| | [default to 71]
- **hi2** | **kotlin.Int**| | [optional]
- **hi3** | **kotlin.Int**| |
- **hn0** | **java.math.BigDecimal**| | [optional] [default to 10.0]
- **hn1** | **java.math.BigDecimal**| | [default to 71.0]
- **hn2** | **java.math.BigDecimal**| | [optional]
- **hn3** | **java.math.BigDecimal**| |
- **fi0** | **kotlin.Int**| | [optional] [default to 10]
- **fi1** | **kotlin.Int**| | [default to 71]
- **fi2** | **kotlin.Int**| | [optional]
- **fi3** | **kotlin.Int**| |
- **fn0** | **java.math.BigDecimal**| | [optional] [default to 10.0]
- **fn1** | **java.math.BigDecimal**| | [default to 71.0]
- **fn2** | **java.math.BigDecimal**| | [optional]
- **fn3** | **java.math.BigDecimal**| |
- **fn4** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| |
+| **pi0** | **kotlin.Int**| | [default to 10] |
+| **pi1** | **kotlin.Int**| | |
+| **pn0** | **java.math.BigDecimal**| | [default to 10.0] |
+| **pn1** | **java.math.BigDecimal**| | |
+| **qi0** | **kotlin.Int**| | [optional] [default to 10] |
+| **qi1** | **kotlin.Int**| | [default to 71] |
+| **qi2** | **kotlin.Int**| | [optional] |
+| **qi3** | **kotlin.Int**| | |
+| **qn0** | **java.math.BigDecimal**| | [optional] [default to 10.0] |
+| **qn1** | **java.math.BigDecimal**| | [default to 71.0] |
+| **qn2** | **java.math.BigDecimal**| | [optional] |
+| **qn3** | **java.math.BigDecimal**| | |
+| **hi0** | **kotlin.Int**| | [optional] [default to 10] |
+| **hi1** | **kotlin.Int**| | [default to 71] |
+| **hi2** | **kotlin.Int**| | [optional] |
+| **hi3** | **kotlin.Int**| | |
+| **hn0** | **java.math.BigDecimal**| | [optional] [default to 10.0] |
+| **hn1** | **java.math.BigDecimal**| | [default to 71.0] |
+| **hn2** | **java.math.BigDecimal**| | [optional] |
+| **hn3** | **java.math.BigDecimal**| | |
+| **fi0** | **kotlin.Int**| | [optional] [default to 10] |
+| **fi1** | **kotlin.Int**| | [default to 71] |
+| **fi2** | **kotlin.Int**| | [optional] |
+| **fi3** | **kotlin.Int**| | |
+| **fn0** | **java.math.BigDecimal**| | [optional] [default to 10.0] |
+| **fn1** | **java.math.BigDecimal**| | [default to 71.0] |
+| **fn2** | **java.math.BigDecimal**| | [optional] |
+| **fn3** | **java.math.BigDecimal**| | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **fn4** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| | |
### Return type
diff --git a/samples/client/petstore/kotlin-default-values-jvm-okhttp4/src/main/kotlin/org/openapitools/client/models/Apa.kt b/samples/client/petstore/kotlin-default-values-jvm-okhttp4/src/main/kotlin/org/openapitools/client/models/Apa.kt
index 565c282b0251..db786666d4d2 100644
--- a/samples/client/petstore/kotlin-default-values-jvm-okhttp4/src/main/kotlin/org/openapitools/client/models/Apa.kt
+++ b/samples/client/petstore/kotlin-default-values-jvm-okhttp4/src/main/kotlin/org/openapitools/client/models/Apa.kt
@@ -43,5 +43,8 @@ data class Apa (
@Json(name = "n1")
val n1: java.math.BigDecimal? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-default-values-jvm-retrofit2/README.md b/samples/client/petstore/kotlin-default-values-jvm-retrofit2/README.md
index 56a5bc7c884d..53391ebc78e5 100644
--- a/samples/client/petstore/kotlin-default-values-jvm-retrofit2/README.md
+++ b/samples/client/petstore/kotlin-default-values-jvm-retrofit2/README.md
@@ -43,9 +43,9 @@ This runs all tests and packages the library.
All URIs are relative to *http://localhost*
-Class | Method | HTTP request | Description
------------- | ------------- | ------------- | -------------
-*DefaultApi* | [**test**](docs/DefaultApi.md#test) | **POST** test | Tests default values
+| Class | Method | HTTP request | Description |
+| ------------ | ------------- | ------------- | ------------- |
+| *DefaultApi* | [**test**](docs/DefaultApi.md#test) | **POST** test | Tests default values |
diff --git a/samples/client/petstore/kotlin-default-values-jvm-retrofit2/docs/Apa.md b/samples/client/petstore/kotlin-default-values-jvm-retrofit2/docs/Apa.md
index cde9dd9cda04..c83f71851c20 100644
--- a/samples/client/petstore/kotlin-default-values-jvm-retrofit2/docs/Apa.md
+++ b/samples/client/petstore/kotlin-default-values-jvm-retrofit2/docs/Apa.md
@@ -2,12 +2,12 @@
# Apa
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**i0** | **kotlin.Int** | |
-**n0** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | |
-**i1** | **kotlin.Int** | | [optional]
-**n1** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **i0** | **kotlin.Int** | | |
+| **n0** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | |
+| **i1** | **kotlin.Int** | | [optional] |
+| **n1** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | [optional] |
diff --git a/samples/client/petstore/kotlin-default-values-jvm-retrofit2/docs/DefaultApi.md b/samples/client/petstore/kotlin-default-values-jvm-retrofit2/docs/DefaultApi.md
index 25c9faaddb1f..0545066c005b 100644
--- a/samples/client/petstore/kotlin-default-values-jvm-retrofit2/docs/DefaultApi.md
+++ b/samples/client/petstore/kotlin-default-values-jvm-retrofit2/docs/DefaultApi.md
@@ -2,9 +2,9 @@
All URIs are relative to *http://localhost*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**test**](DefaultApi.md#test) | **POST** test | Tests default values
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**test**](DefaultApi.md#test) | **POST** test | Tests default values |
@@ -55,38 +55,37 @@ webService.test(pi0, pi1, pn0, pn1, qi0, qi1, qi2, qi3, qn0, qn1, qn2, qn3, hi0,
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **pi0** | **kotlin.Int**| | [default to 10]
- **pi1** | **kotlin.Int**| |
- **pn0** | **java.math.BigDecimal**| | [default to 10.0]
- **pn1** | **java.math.BigDecimal**| |
- **qi0** | **kotlin.Int**| | [optional] [default to 10]
- **qi1** | **kotlin.Int**| | [default to 71]
- **qi2** | **kotlin.Int**| | [optional]
- **qi3** | **kotlin.Int**| |
- **qn0** | **java.math.BigDecimal**| | [optional] [default to 10.0]
- **qn1** | **java.math.BigDecimal**| | [default to 71.0]
- **qn2** | **java.math.BigDecimal**| | [optional]
- **qn3** | **java.math.BigDecimal**| |
- **hi0** | **kotlin.Int**| | [optional] [default to 10]
- **hi1** | **kotlin.Int**| | [default to 71]
- **hi2** | **kotlin.Int**| | [optional]
- **hi3** | **kotlin.Int**| |
- **hn0** | **java.math.BigDecimal**| | [optional] [default to 10.0]
- **hn1** | **java.math.BigDecimal**| | [default to 71.0]
- **hn2** | **java.math.BigDecimal**| | [optional]
- **hn3** | **java.math.BigDecimal**| |
- **fi0** | **kotlin.Int**| | [optional] [default to 10]
- **fi1** | **kotlin.Int**| | [default to 71]
- **fi2** | **kotlin.Int**| | [optional]
- **fi3** | **kotlin.Int**| |
- **fn0** | **java.math.BigDecimal**| | [optional] [default to 10.0]
- **fn1** | **java.math.BigDecimal**| | [default to 71.0]
- **fn2** | **java.math.BigDecimal**| | [optional]
- **fn3** | **java.math.BigDecimal**| |
- **fn4** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| |
+| **pi0** | **kotlin.Int**| | [default to 10] |
+| **pi1** | **kotlin.Int**| | |
+| **pn0** | **java.math.BigDecimal**| | [default to 10.0] |
+| **pn1** | **java.math.BigDecimal**| | |
+| **qi0** | **kotlin.Int**| | [optional] [default to 10] |
+| **qi1** | **kotlin.Int**| | [default to 71] |
+| **qi2** | **kotlin.Int**| | [optional] |
+| **qi3** | **kotlin.Int**| | |
+| **qn0** | **java.math.BigDecimal**| | [optional] [default to 10.0] |
+| **qn1** | **java.math.BigDecimal**| | [default to 71.0] |
+| **qn2** | **java.math.BigDecimal**| | [optional] |
+| **qn3** | **java.math.BigDecimal**| | |
+| **hi0** | **kotlin.Int**| | [optional] [default to 10] |
+| **hi1** | **kotlin.Int**| | [default to 71] |
+| **hi2** | **kotlin.Int**| | [optional] |
+| **hi3** | **kotlin.Int**| | |
+| **hn0** | **java.math.BigDecimal**| | [optional] [default to 10.0] |
+| **hn1** | **java.math.BigDecimal**| | [default to 71.0] |
+| **hn2** | **java.math.BigDecimal**| | [optional] |
+| **hn3** | **java.math.BigDecimal**| | |
+| **fi0** | **kotlin.Int**| | [optional] [default to 10] |
+| **fi1** | **kotlin.Int**| | [default to 71] |
+| **fi2** | **kotlin.Int**| | [optional] |
+| **fi3** | **kotlin.Int**| | |
+| **fn0** | **java.math.BigDecimal**| | [optional] [default to 10.0] |
+| **fn1** | **java.math.BigDecimal**| | [default to 71.0] |
+| **fn2** | **java.math.BigDecimal**| | [optional] |
+| **fn3** | **java.math.BigDecimal**| | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **fn4** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| | |
### Return type
diff --git a/samples/client/petstore/kotlin-default-values-jvm-retrofit2/src/main/kotlin/org/openapitools/client/models/Apa.kt b/samples/client/petstore/kotlin-default-values-jvm-retrofit2/src/main/kotlin/org/openapitools/client/models/Apa.kt
index 565c282b0251..db786666d4d2 100644
--- a/samples/client/petstore/kotlin-default-values-jvm-retrofit2/src/main/kotlin/org/openapitools/client/models/Apa.kt
+++ b/samples/client/petstore/kotlin-default-values-jvm-retrofit2/src/main/kotlin/org/openapitools/client/models/Apa.kt
@@ -43,5 +43,8 @@ data class Apa (
@Json(name = "n1")
val n1: java.math.BigDecimal? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-default-values-jvm-volley/docs/Apa.md b/samples/client/petstore/kotlin-default-values-jvm-volley/docs/Apa.md
index cde9dd9cda04..c83f71851c20 100644
--- a/samples/client/petstore/kotlin-default-values-jvm-volley/docs/Apa.md
+++ b/samples/client/petstore/kotlin-default-values-jvm-volley/docs/Apa.md
@@ -2,12 +2,12 @@
# Apa
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**i0** | **kotlin.Int** | |
-**n0** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | |
-**i1** | **kotlin.Int** | | [optional]
-**n1** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **i0** | **kotlin.Int** | | |
+| **n0** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | |
+| **i1** | **kotlin.Int** | | [optional] |
+| **n1** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | [optional] |
diff --git a/samples/client/petstore/kotlin-default-values-jvm-volley/src/main/java/org/openapitools/client/models/Apa.kt b/samples/client/petstore/kotlin-default-values-jvm-volley/src/main/java/org/openapitools/client/models/Apa.kt
index aca90dd3533c..6e7e8e340b62 100644
--- a/samples/client/petstore/kotlin-default-values-jvm-volley/src/main/java/org/openapitools/client/models/Apa.kt
+++ b/samples/client/petstore/kotlin-default-values-jvm-volley/src/main/java/org/openapitools/client/models/Apa.kt
@@ -54,5 +54,6 @@ i1 = this.i1,
n1 = this.n1,
)
+
}
diff --git a/samples/client/petstore/kotlin-default-values-multiplatform/README.md b/samples/client/petstore/kotlin-default-values-multiplatform/README.md
index 726cb926618d..6432f970eb88 100644
--- a/samples/client/petstore/kotlin-default-values-multiplatform/README.md
+++ b/samples/client/petstore/kotlin-default-values-multiplatform/README.md
@@ -34,9 +34,9 @@ This runs all tests and packages the library.
All URIs are relative to *http://localhost*
-Class | Method | HTTP request | Description
------------- | ------------- | ------------- | -------------
-*DefaultApi* | [**test**](docs/DefaultApi.md#test) | **POST** /test | Tests default values
+| Class | Method | HTTP request | Description |
+| ------------ | ------------- | ------------- | ------------- |
+| *DefaultApi* | [**test**](docs/DefaultApi.md#test) | **POST** /test | Tests default values |
diff --git a/samples/client/petstore/kotlin-default-values-multiplatform/docs/Apa.md b/samples/client/petstore/kotlin-default-values-multiplatform/docs/Apa.md
index 73b613418cc8..078a27310550 100644
--- a/samples/client/petstore/kotlin-default-values-multiplatform/docs/Apa.md
+++ b/samples/client/petstore/kotlin-default-values-multiplatform/docs/Apa.md
@@ -2,12 +2,12 @@
# Apa
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**i0** | **kotlin.Int** | |
-**n0** | **kotlin.Double** | |
-**i1** | **kotlin.Int** | | [optional]
-**n1** | **kotlin.Double** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **i0** | **kotlin.Int** | | |
+| **n0** | **kotlin.Double** | | |
+| **i1** | **kotlin.Int** | | [optional] |
+| **n1** | **kotlin.Double** | | [optional] |
diff --git a/samples/client/petstore/kotlin-default-values-multiplatform/docs/DefaultApi.md b/samples/client/petstore/kotlin-default-values-multiplatform/docs/DefaultApi.md
index a390a08d48d1..65928b193472 100644
--- a/samples/client/petstore/kotlin-default-values-multiplatform/docs/DefaultApi.md
+++ b/samples/client/petstore/kotlin-default-values-multiplatform/docs/DefaultApi.md
@@ -2,9 +2,9 @@
All URIs are relative to *http://localhost*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**test**](DefaultApi.md#test) | **POST** /test | Tests default values
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**test**](DefaultApi.md#test) | **POST** /test | Tests default values |
@@ -63,38 +63,37 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **pi0** | **kotlin.Int**| | [default to 10]
- **pi1** | **kotlin.Int**| |
- **pn0** | **kotlin.Double**| | [default to 10.0]
- **pn1** | **kotlin.Double**| |
- **qi0** | **kotlin.Int**| | [optional] [default to 10]
- **qi1** | **kotlin.Int**| | [default to 71]
- **qi2** | **kotlin.Int**| | [optional]
- **qi3** | **kotlin.Int**| |
- **qn0** | **kotlin.Double**| | [optional] [default to 10.0]
- **qn1** | **kotlin.Double**| | [default to 71.0]
- **qn2** | **kotlin.Double**| | [optional]
- **qn3** | **kotlin.Double**| |
- **hi0** | **kotlin.Int**| | [optional] [default to 10]
- **hi1** | **kotlin.Int**| | [default to 71]
- **hi2** | **kotlin.Int**| | [optional]
- **hi3** | **kotlin.Int**| |
- **hn0** | **kotlin.Double**| | [optional] [default to 10.0]
- **hn1** | **kotlin.Double**| | [default to 71.0]
- **hn2** | **kotlin.Double**| | [optional]
- **hn3** | **kotlin.Double**| |
- **fi0** | **kotlin.Int**| | [optional] [default to 10]
- **fi1** | **kotlin.Int**| | [default to 71]
- **fi2** | **kotlin.Int**| | [optional]
- **fi3** | **kotlin.Int**| |
- **fn0** | **kotlin.Double**| | [optional] [default to 10.0]
- **fn1** | **kotlin.Double**| | [default to 71.0]
- **fn2** | **kotlin.Double**| | [optional]
- **fn3** | **kotlin.Double**| |
- **fn4** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| |
+| **pi0** | **kotlin.Int**| | [default to 10] |
+| **pi1** | **kotlin.Int**| | |
+| **pn0** | **kotlin.Double**| | [default to 10.0] |
+| **pn1** | **kotlin.Double**| | |
+| **qi0** | **kotlin.Int**| | [optional] [default to 10] |
+| **qi1** | **kotlin.Int**| | [default to 71] |
+| **qi2** | **kotlin.Int**| | [optional] |
+| **qi3** | **kotlin.Int**| | |
+| **qn0** | **kotlin.Double**| | [optional] [default to 10.0] |
+| **qn1** | **kotlin.Double**| | [default to 71.0] |
+| **qn2** | **kotlin.Double**| | [optional] |
+| **qn3** | **kotlin.Double**| | |
+| **hi0** | **kotlin.Int**| | [optional] [default to 10] |
+| **hi1** | **kotlin.Int**| | [default to 71] |
+| **hi2** | **kotlin.Int**| | [optional] |
+| **hi3** | **kotlin.Int**| | |
+| **hn0** | **kotlin.Double**| | [optional] [default to 10.0] |
+| **hn1** | **kotlin.Double**| | [default to 71.0] |
+| **hn2** | **kotlin.Double**| | [optional] |
+| **hn3** | **kotlin.Double**| | |
+| **fi0** | **kotlin.Int**| | [optional] [default to 10] |
+| **fi1** | **kotlin.Int**| | [default to 71] |
+| **fi2** | **kotlin.Int**| | [optional] |
+| **fi3** | **kotlin.Int**| | |
+| **fn0** | **kotlin.Double**| | [optional] [default to 10.0] |
+| **fn1** | **kotlin.Double**| | [default to 71.0] |
+| **fn2** | **kotlin.Double**| | [optional] |
+| **fn3** | **kotlin.Double**| | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **fn4** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| | |
### Return type
diff --git a/samples/client/petstore/kotlin-default-values-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/Apa.kt b/samples/client/petstore/kotlin-default-values-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/Apa.kt
index 339fa40ec1b1..3098a799784e 100644
--- a/samples/client/petstore/kotlin-default-values-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/Apa.kt
+++ b/samples/client/petstore/kotlin-default-values-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/Apa.kt
@@ -40,5 +40,8 @@ data class Apa (
@SerialName(value = "n1") val n1: kotlin.Double? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-default-values-numbers/docs/ModelWithPropertyHavingDefault.md b/samples/client/petstore/kotlin-default-values-numbers/docs/ModelWithPropertyHavingDefault.md
index 0d41a58b1986..f9b59cc2c4b5 100644
--- a/samples/client/petstore/kotlin-default-values-numbers/docs/ModelWithPropertyHavingDefault.md
+++ b/samples/client/petstore/kotlin-default-values-numbers/docs/ModelWithPropertyHavingDefault.md
@@ -2,16 +2,16 @@
# ModelWithPropertyHavingDefault
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**propertyInt** | **kotlin.Int** | | [optional]
-**propertyLong** | **kotlin.Long** | | [optional]
-**propertyFloat1** | **kotlin.Float** | | [optional]
-**propertyFloat2** | **kotlin.Float** | | [optional]
-**propertyFloat3** | **kotlin.Float** | | [optional]
-**propertyDouble1** | **kotlin.Double** | | [optional]
-**propertyDouble2** | **kotlin.Double** | | [optional]
-**propertyDouble3** | **kotlin.Double** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **propertyInt** | **kotlin.Int** | | [optional] |
+| **propertyLong** | **kotlin.Long** | | [optional] |
+| **propertyFloat1** | **kotlin.Float** | | [optional] |
+| **propertyFloat2** | **kotlin.Float** | | [optional] |
+| **propertyFloat3** | **kotlin.Float** | | [optional] |
+| **propertyDouble1** | **kotlin.Double** | | [optional] |
+| **propertyDouble2** | **kotlin.Double** | | [optional] |
+| **propertyDouble3** | **kotlin.Double** | | [optional] |
diff --git a/samples/client/petstore/kotlin-default-values-numbers/src/main/kotlin/org/openapitools/client/models/ModelWithPropertyHavingDefault.kt b/samples/client/petstore/kotlin-default-values-numbers/src/main/kotlin/org/openapitools/client/models/ModelWithPropertyHavingDefault.kt
index 97e1f304f1b8..b6ef2973e113 100644
--- a/samples/client/petstore/kotlin-default-values-numbers/src/main/kotlin/org/openapitools/client/models/ModelWithPropertyHavingDefault.kt
+++ b/samples/client/petstore/kotlin-default-values-numbers/src/main/kotlin/org/openapitools/client/models/ModelWithPropertyHavingDefault.kt
@@ -58,5 +58,8 @@ data class ModelWithPropertyHavingDefault (
@SerializedName("propertyDouble3")
val propertyDouble3: kotlin.Double? = 0.01
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-enum-default-value/README.md b/samples/client/petstore/kotlin-enum-default-value/README.md
index f21b35587581..b48b5ea29685 100644
--- a/samples/client/petstore/kotlin-enum-default-value/README.md
+++ b/samples/client/petstore/kotlin-enum-default-value/README.md
@@ -43,9 +43,9 @@ This runs all tests and packages the library.
All URIs are relative to *http://localhost*
-Class | Method | HTTP request | Description
------------- | ------------- | ------------- | -------------
-*DefaultApi* | [**operation**](docs/DefaultApi.md#operation) | **GET** / |
+| Class | Method | HTTP request | Description |
+| ------------ | ------------- | ------------- | ------------- |
+| *DefaultApi* | [**operation**](docs/DefaultApi.md#operation) | **GET** / | |
diff --git a/samples/client/petstore/kotlin-enum-default-value/docs/DefaultApi.md b/samples/client/petstore/kotlin-enum-default-value/docs/DefaultApi.md
index 3a7312c12555..7e9b7d6a5ebd 100644
--- a/samples/client/petstore/kotlin-enum-default-value/docs/DefaultApi.md
+++ b/samples/client/petstore/kotlin-enum-default-value/docs/DefaultApi.md
@@ -2,9 +2,9 @@
All URIs are relative to *http://localhost*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**operation**](DefaultApi.md#operation) | **GET** / |
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**operation**](DefaultApi.md#operation) | **GET** / | |
diff --git a/samples/client/petstore/kotlin-enum-default-value/docs/ModelWithEnumPropertyHavingDefault.md b/samples/client/petstore/kotlin-enum-default-value/docs/ModelWithEnumPropertyHavingDefault.md
index 78e81a749c7d..6af6745c5cca 100644
--- a/samples/client/petstore/kotlin-enum-default-value/docs/ModelWithEnumPropertyHavingDefault.md
+++ b/samples/client/petstore/kotlin-enum-default-value/docs/ModelWithEnumPropertyHavingDefault.md
@@ -2,16 +2,16 @@
# ModelWithEnumPropertyHavingDefault
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**propertyName** | [**inline**](#PropertyName) | |
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **propertyName** | [**inline**](#PropertyName) | | |
## Enum: propertyName
-Name | Value
----- | -----
-propertyName | VALUE
+| Name | Value |
+| ---- | ----- |
+| propertyName | VALUE |
diff --git a/samples/client/petstore/kotlin-enum-default-value/docs/PropertyOfDay.md b/samples/client/petstore/kotlin-enum-default-value/docs/PropertyOfDay.md
index 1b642d0d043d..9ddb16035d94 100644
--- a/samples/client/petstore/kotlin-enum-default-value/docs/PropertyOfDay.md
+++ b/samples/client/petstore/kotlin-enum-default-value/docs/PropertyOfDay.md
@@ -2,35 +2,35 @@
# PropertyOfDay
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**name** | **kotlin.String** | Name of property of day |
-**description** | **kotlin.String** | Description of the property of day | [optional]
-**daysOfWeek** | [**inline**](#DaysOfWeek) | Days of week | [optional]
-**monthOfYear** | [**inline**](#MonthOfYear) | Month of year | [optional]
-**dayOfYear** | **kotlin.Int** | Day of year | [optional]
-**holidayTypes** | [**inline**](#HolidayTypes) | Holiday types | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **name** | **kotlin.String** | Name of property of day | |
+| **description** | **kotlin.String** | Description of the property of day | [optional] |
+| **daysOfWeek** | [**inline**](#DaysOfWeek) | Days of week | [optional] |
+| **monthOfYear** | [**inline**](#MonthOfYear) | Month of year | [optional] |
+| **dayOfYear** | **kotlin.Int** | Day of year | [optional] |
+| **holidayTypes** | [**inline**](#HolidayTypes) | Holiday types | [optional] |
## Enum: daysOfWeek
-Name | Value
----- | -----
-daysOfWeek | MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY, WEEKDAYS, WEEKEND, EVERYDAY
+| Name | Value |
+| ---- | ----- |
+| daysOfWeek | MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY, WEEKDAYS, WEEKEND, EVERYDAY |
## Enum: monthOfYear
-Name | Value
----- | -----
-monthOfYear | 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12
+| Name | Value |
+| ---- | ----- |
+| monthOfYear | 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 |
## Enum: holidayTypes
-Name | Value
----- | -----
-holidayTypes | NOT_HOLIDAY, LOCAL_HOLIDAY, NATIONAL_HOLIDAY, ANY_HOLIDAY, WORKING_DAY, ANY_DAY, NEW_YEARS_DAY, PALM_SUNDAY, MAUNDY_THURSDAY, GOOD_FRIDAY, EASTER_SUNDAY, EASTER_MONDAY, LABOUR_DAY, CONSTITUTION_DAY, ASCENSION_DAY, WHIT_SUNDAY, WHIT_MONDAY, CHRISTMAS_DAY, BOXING_DAY
+| Name | Value |
+| ---- | ----- |
+| holidayTypes | NOT_HOLIDAY, LOCAL_HOLIDAY, NATIONAL_HOLIDAY, ANY_HOLIDAY, WORKING_DAY, ANY_DAY, NEW_YEARS_DAY, PALM_SUNDAY, MAUNDY_THURSDAY, GOOD_FRIDAY, EASTER_SUNDAY, EASTER_MONDAY, LABOUR_DAY, CONSTITUTION_DAY, ASCENSION_DAY, WHIT_SUNDAY, WHIT_MONDAY, CHRISTMAS_DAY, BOXING_DAY |
diff --git a/samples/client/petstore/kotlin-enum-default-value/src/main/kotlin/org/openapitools/client/models/ModelWithEnumPropertyHavingDefault.kt b/samples/client/petstore/kotlin-enum-default-value/src/main/kotlin/org/openapitools/client/models/ModelWithEnumPropertyHavingDefault.kt
index 7e80dc4cb1ff..f870c3b38d89 100644
--- a/samples/client/petstore/kotlin-enum-default-value/src/main/kotlin/org/openapitools/client/models/ModelWithEnumPropertyHavingDefault.kt
+++ b/samples/client/petstore/kotlin-enum-default-value/src/main/kotlin/org/openapitools/client/models/ModelWithEnumPropertyHavingDefault.kt
@@ -47,5 +47,6 @@ data class ModelWithEnumPropertyHavingDefault (
@Json(name = "VALUE") VALUE("VALUE"),
@Json(name = "unknown_default_open_api") unknown_default_open_api("unknown_default_open_api");
}
+
}
diff --git a/samples/client/petstore/kotlin-enum-default-value/src/main/kotlin/org/openapitools/client/models/PropertyOfDay.kt b/samples/client/petstore/kotlin-enum-default-value/src/main/kotlin/org/openapitools/client/models/PropertyOfDay.kt
index 08053669c734..d0acf89342c0 100644
--- a/samples/client/petstore/kotlin-enum-default-value/src/main/kotlin/org/openapitools/client/models/PropertyOfDay.kt
+++ b/samples/client/petstore/kotlin-enum-default-value/src/main/kotlin/org/openapitools/client/models/PropertyOfDay.kt
@@ -131,5 +131,6 @@ data class PropertyOfDay (
@Json(name = "BOXING_DAY") BOXING_DAY("BOXING_DAY"),
@Json(name = "11184809") unknown_default_open_api("11184809");
}
+
}
diff --git a/samples/client/petstore/kotlin-gson/README.md b/samples/client/petstore/kotlin-gson/README.md
index e4e111438878..f1cf0031b0c9 100644
--- a/samples/client/petstore/kotlin-gson/README.md
+++ b/samples/client/petstore/kotlin-gson/README.md
@@ -43,28 +43,28 @@ This runs all tests and packages the library.
All URIs are relative to *http://petstore.swagger.io/v2*
-Class | Method | HTTP request | Description
------------- | ------------- | ------------- | -------------
-*PetApi* | [**addPet**](docs/PetApi.md#addpet) | **POST** /pet | Add a new pet to the store
-*PetApi* | [**deletePet**](docs/PetApi.md#deletepet) | **DELETE** /pet/{petId} | Deletes a pet
-*PetApi* | [**findPetsByStatus**](docs/PetApi.md#findpetsbystatus) | **GET** /pet/findByStatus | Finds Pets by status
-*PetApi* | [**findPetsByTags**](docs/PetApi.md#findpetsbytags) | **GET** /pet/findByTags | Finds Pets by tags
-*PetApi* | [**getPetById**](docs/PetApi.md#getpetbyid) | **GET** /pet/{petId} | Find pet by ID
-*PetApi* | [**updatePet**](docs/PetApi.md#updatepet) | **PUT** /pet | Update an existing pet
-*PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatepetwithform) | **POST** /pet/{petId} | Updates a pet in the store with form data
-*PetApi* | [**uploadFile**](docs/PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image
-*StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteorder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID
-*StoreApi* | [**getInventory**](docs/StoreApi.md#getinventory) | **GET** /store/inventory | Returns pet inventories by status
-*StoreApi* | [**getOrderById**](docs/StoreApi.md#getorderbyid) | **GET** /store/order/{orderId} | Find purchase order by ID
-*StoreApi* | [**placeOrder**](docs/StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet
-*UserApi* | [**createUser**](docs/UserApi.md#createuser) | **POST** /user | Create user
-*UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createuserswitharrayinput) | **POST** /user/createWithArray | Creates list of users with given input array
-*UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createuserswithlistinput) | **POST** /user/createWithList | Creates list of users with given input array
-*UserApi* | [**deleteUser**](docs/UserApi.md#deleteuser) | **DELETE** /user/{username} | Delete user
-*UserApi* | [**getUserByName**](docs/UserApi.md#getuserbyname) | **GET** /user/{username} | Get user by user name
-*UserApi* | [**loginUser**](docs/UserApi.md#loginuser) | **GET** /user/login | Logs user into the system
-*UserApi* | [**logoutUser**](docs/UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session
-*UserApi* | [**updateUser**](docs/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user
+| Class | Method | HTTP request | Description |
+| ------------ | ------------- | ------------- | ------------- |
+| *PetApi* | [**addPet**](docs/PetApi.md#addpet) | **POST** /pet | Add a new pet to the store |
+| *PetApi* | [**deletePet**](docs/PetApi.md#deletepet) | **DELETE** /pet/{petId} | Deletes a pet |
+| *PetApi* | [**findPetsByStatus**](docs/PetApi.md#findpetsbystatus) | **GET** /pet/findByStatus | Finds Pets by status |
+| *PetApi* | [**findPetsByTags**](docs/PetApi.md#findpetsbytags) | **GET** /pet/findByTags | Finds Pets by tags |
+| *PetApi* | [**getPetById**](docs/PetApi.md#getpetbyid) | **GET** /pet/{petId} | Find pet by ID |
+| *PetApi* | [**updatePet**](docs/PetApi.md#updatepet) | **PUT** /pet | Update an existing pet |
+| *PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatepetwithform) | **POST** /pet/{petId} | Updates a pet in the store with form data |
+| *PetApi* | [**uploadFile**](docs/PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image |
+| *StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteorder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID |
+| *StoreApi* | [**getInventory**](docs/StoreApi.md#getinventory) | **GET** /store/inventory | Returns pet inventories by status |
+| *StoreApi* | [**getOrderById**](docs/StoreApi.md#getorderbyid) | **GET** /store/order/{orderId} | Find purchase order by ID |
+| *StoreApi* | [**placeOrder**](docs/StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet |
+| *UserApi* | [**createUser**](docs/UserApi.md#createuser) | **POST** /user | Create user |
+| *UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createuserswitharrayinput) | **POST** /user/createWithArray | Creates list of users with given input array |
+| *UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createuserswithlistinput) | **POST** /user/createWithList | Creates list of users with given input array |
+| *UserApi* | [**deleteUser**](docs/UserApi.md#deleteuser) | **DELETE** /user/{username} | Delete user |
+| *UserApi* | [**getUserByName**](docs/UserApi.md#getuserbyname) | **GET** /user/{username} | Get user by user name |
+| *UserApi* | [**loginUser**](docs/UserApi.md#loginuser) | **GET** /user/login | Logs user into the system |
+| *UserApi* | [**logoutUser**](docs/UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session |
+| *UserApi* | [**updateUser**](docs/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user |
diff --git a/samples/client/petstore/kotlin-gson/docs/ApiResponse.md b/samples/client/petstore/kotlin-gson/docs/ApiResponse.md
index 12f08d5cdef0..059525a99512 100644
--- a/samples/client/petstore/kotlin-gson/docs/ApiResponse.md
+++ b/samples/client/petstore/kotlin-gson/docs/ApiResponse.md
@@ -2,11 +2,11 @@
# ModelApiResponse
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**code** | **kotlin.Int** | | [optional]
-**type** | **kotlin.String** | | [optional]
-**message** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **code** | **kotlin.Int** | | [optional] |
+| **type** | **kotlin.String** | | [optional] |
+| **message** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-gson/docs/Category.md b/samples/client/petstore/kotlin-gson/docs/Category.md
index 2c28a670fc79..baba5657eb21 100644
--- a/samples/client/petstore/kotlin-gson/docs/Category.md
+++ b/samples/client/petstore/kotlin-gson/docs/Category.md
@@ -2,10 +2,10 @@
# Category
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-gson/docs/Order.md b/samples/client/petstore/kotlin-gson/docs/Order.md
index c0c951b22d33..7b7a399f7f75 100644
--- a/samples/client/petstore/kotlin-gson/docs/Order.md
+++ b/samples/client/petstore/kotlin-gson/docs/Order.md
@@ -2,21 +2,21 @@
# Order
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**petId** | **kotlin.Long** | | [optional]
-**quantity** | **kotlin.Int** | | [optional]
-**shipDate** | [**java.time.OffsetDateTime**](java.time.OffsetDateTime.md) | | [optional]
-**status** | [**inline**](#Status) | Order Status | [optional]
-**complete** | **kotlin.Boolean** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **petId** | **kotlin.Long** | | [optional] |
+| **quantity** | **kotlin.Int** | | [optional] |
+| **shipDate** | [**java.time.OffsetDateTime**](java.time.OffsetDateTime.md) | | [optional] |
+| **status** | [**inline**](#Status) | Order Status | [optional] |
+| **complete** | **kotlin.Boolean** | | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | placed, approved, delivered
+| Name | Value |
+| ---- | ----- |
+| status | placed, approved, delivered |
diff --git a/samples/client/petstore/kotlin-gson/docs/Pet.md b/samples/client/petstore/kotlin-gson/docs/Pet.md
index da70fca06e65..287312efaf94 100644
--- a/samples/client/petstore/kotlin-gson/docs/Pet.md
+++ b/samples/client/petstore/kotlin-gson/docs/Pet.md
@@ -2,21 +2,21 @@
# Pet
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**name** | **kotlin.String** | |
-**photoUrls** | **kotlin.collections.List<kotlin.String>** | |
-**id** | **kotlin.Long** | | [optional]
-**category** | [**Category**](Category.md) | | [optional]
-**tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional]
-**status** | [**inline**](#Status) | pet status in the store | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **name** | **kotlin.String** | | |
+| **photoUrls** | **kotlin.collections.List<kotlin.String>** | | |
+| **id** | **kotlin.Long** | | [optional] |
+| **category** | [**Category**](Category.md) | | [optional] |
+| **tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional] |
+| **status** | [**inline**](#Status) | pet status in the store | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | available, pending, sold
+| Name | Value |
+| ---- | ----- |
+| status | available, pending, sold |
diff --git a/samples/client/petstore/kotlin-gson/docs/PetApi.md b/samples/client/petstore/kotlin-gson/docs/PetApi.md
index bb8451def0df..6856ea516dab 100644
--- a/samples/client/petstore/kotlin-gson/docs/PetApi.md
+++ b/samples/client/petstore/kotlin-gson/docs/PetApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**addPet**](PetApi.md#addPet) | **POST** /pet | Add a new pet to the store
-[**deletePet**](PetApi.md#deletePet) | **DELETE** /pet/{petId} | Deletes a pet
-[**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** /pet/findByStatus | Finds Pets by status
-[**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** /pet/findByTags | Finds Pets by tags
-[**getPetById**](PetApi.md#getPetById) | **GET** /pet/{petId} | Find pet by ID
-[**updatePet**](PetApi.md#updatePet) | **PUT** /pet | Update an existing pet
-[**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** /pet/{petId} | Updates a pet in the store with form data
-[**uploadFile**](PetApi.md#uploadFile) | **POST** /pet/{petId}/uploadImage | uploads an image
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**addPet**](PetApi.md#addPet) | **POST** /pet | Add a new pet to the store |
+| [**deletePet**](PetApi.md#deletePet) | **DELETE** /pet/{petId} | Deletes a pet |
+| [**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** /pet/findByStatus | Finds Pets by status |
+| [**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** /pet/findByTags | Finds Pets by tags |
+| [**getPetById**](PetApi.md#getPetById) | **GET** /pet/{petId} | Find pet by ID |
+| [**updatePet**](PetApi.md#updatePet) | **PUT** /pet | Update an existing pet |
+| [**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** /pet/{petId} | Updates a pet in the store with form data |
+| [**uploadFile**](PetApi.md#uploadFile) | **POST** /pet/{petId}/uploadImage | uploads an image |
@@ -40,10 +40,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -87,11 +86,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| Pet id to delete |
- **apiKey** | **kotlin.String**| | [optional]
+| **petId** | **kotlin.Long**| Pet id to delete | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **apiKey** | **kotlin.String**| | [optional] |
### Return type
@@ -137,10 +135,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **status** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [enum: available, pending, sold]
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **status** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [enum: available, pending, sold] |
### Return type
@@ -186,10 +183,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **tags** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Tags to filter by |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **tags** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Tags to filter by | |
### Return type
@@ -235,10 +231,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet to return |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **petId** | **kotlin.Long**| ID of pet to return | |
### Return type
@@ -282,10 +277,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -330,12 +324,11 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet that needs to be updated |
- **name** | **kotlin.String**| Updated name of the pet | [optional]
- **status** | **kotlin.String**| Updated status of the pet | [optional]
+| **petId** | **kotlin.Long**| ID of pet that needs to be updated | |
+| **name** | **kotlin.String**| Updated name of the pet | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **status** | **kotlin.String**| Updated status of the pet | [optional] |
### Return type
@@ -381,12 +374,11 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet to update |
- **additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional]
- **file** | **java.io.File**| file to upload | [optional]
+| **petId** | **kotlin.Long**| ID of pet to update | |
+| **additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **file** | **java.io.File**| file to upload | [optional] |
### Return type
diff --git a/samples/client/petstore/kotlin-gson/docs/StoreApi.md b/samples/client/petstore/kotlin-gson/docs/StoreApi.md
index 9515ccd6d0cb..53ff17b16676 100644
--- a/samples/client/petstore/kotlin-gson/docs/StoreApi.md
+++ b/samples/client/petstore/kotlin-gson/docs/StoreApi.md
@@ -2,12 +2,12 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID
-[**getInventory**](StoreApi.md#getInventory) | **GET** /store/inventory | Returns pet inventories by status
-[**getOrderById**](StoreApi.md#getOrderById) | **GET** /store/order/{orderId} | Find purchase order by ID
-[**placeOrder**](StoreApi.md#placeOrder) | **POST** /store/order | Place an order for a pet
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID |
+| [**getInventory**](StoreApi.md#getInventory) | **GET** /store/inventory | Returns pet inventories by status |
+| [**getOrderById**](StoreApi.md#getOrderById) | **GET** /store/order/{orderId} | Find purchase order by ID |
+| [**placeOrder**](StoreApi.md#placeOrder) | **POST** /store/order | Place an order for a pet |
@@ -38,10 +38,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **kotlin.String**| ID of the order that needs to be deleted |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **orderId** | **kotlin.String**| ID of the order that needs to be deleted | |
### Return type
@@ -131,10 +130,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **kotlin.Long**| ID of pet that needs to be fetched |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **orderId** | **kotlin.Long**| ID of pet that needs to be fetched | |
### Return type
@@ -176,10 +174,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**Order**](Order.md)| order placed for purchasing the pet |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**Order**](Order.md)| order placed for purchasing the pet | |
### Return type
diff --git a/samples/client/petstore/kotlin-gson/docs/Tag.md b/samples/client/petstore/kotlin-gson/docs/Tag.md
index 60ce1bcdbad3..dc8fa3cb555d 100644
--- a/samples/client/petstore/kotlin-gson/docs/Tag.md
+++ b/samples/client/petstore/kotlin-gson/docs/Tag.md
@@ -2,10 +2,10 @@
# Tag
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-gson/docs/User.md b/samples/client/petstore/kotlin-gson/docs/User.md
index e801729b5ed1..a9f35788637e 100644
--- a/samples/client/petstore/kotlin-gson/docs/User.md
+++ b/samples/client/petstore/kotlin-gson/docs/User.md
@@ -2,16 +2,16 @@
# User
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**username** | **kotlin.String** | | [optional]
-**firstName** | **kotlin.String** | | [optional]
-**lastName** | **kotlin.String** | | [optional]
-**email** | **kotlin.String** | | [optional]
-**password** | **kotlin.String** | | [optional]
-**phone** | **kotlin.String** | | [optional]
-**userStatus** | **kotlin.Int** | User Status | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **username** | **kotlin.String** | | [optional] |
+| **firstName** | **kotlin.String** | | [optional] |
+| **lastName** | **kotlin.String** | | [optional] |
+| **email** | **kotlin.String** | | [optional] |
+| **password** | **kotlin.String** | | [optional] |
+| **phone** | **kotlin.String** | | [optional] |
+| **userStatus** | **kotlin.Int** | User Status | [optional] |
diff --git a/samples/client/petstore/kotlin-gson/docs/UserApi.md b/samples/client/petstore/kotlin-gson/docs/UserApi.md
index fdf75275cb97..82c8d6060276 100644
--- a/samples/client/petstore/kotlin-gson/docs/UserApi.md
+++ b/samples/client/petstore/kotlin-gson/docs/UserApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**createUser**](UserApi.md#createUser) | **POST** /user | Create user
-[**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** /user/createWithArray | Creates list of users with given input array
-[**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** /user/createWithList | Creates list of users with given input array
-[**deleteUser**](UserApi.md#deleteUser) | **DELETE** /user/{username} | Delete user
-[**getUserByName**](UserApi.md#getUserByName) | **GET** /user/{username} | Get user by user name
-[**loginUser**](UserApi.md#loginUser) | **GET** /user/login | Logs user into the system
-[**logoutUser**](UserApi.md#logoutUser) | **GET** /user/logout | Logs out current logged in user session
-[**updateUser**](UserApi.md#updateUser) | **PUT** /user/{username} | Updated user
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**createUser**](UserApi.md#createUser) | **POST** /user | Create user |
+| [**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** /user/createWithArray | Creates list of users with given input array |
+| [**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** /user/createWithList | Creates list of users with given input array |
+| [**deleteUser**](UserApi.md#deleteUser) | **DELETE** /user/{username} | Delete user |
+| [**getUserByName**](UserApi.md#getUserByName) | **GET** /user/{username} | Get user by user name |
+| [**loginUser**](UserApi.md#loginUser) | **GET** /user/login | Logs user into the system |
+| [**logoutUser**](UserApi.md#logoutUser) | **GET** /user/logout | Logs out current logged in user session |
+| [**updateUser**](UserApi.md#updateUser) | **PUT** /user/{username} | Updated user |
@@ -42,10 +42,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**User**](User.md)| Created user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**User**](User.md)| Created user object | |
### Return type
@@ -86,10 +85,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**kotlin.collections.List<User>**](User.md)| List of user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**kotlin.collections.List<User>**](User.md)| List of user object | |
### Return type
@@ -130,10 +128,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**kotlin.collections.List<User>**](User.md)| List of user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**kotlin.collections.List<User>**](User.md)| List of user object | |
### Return type
@@ -176,10 +173,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The name that needs to be deleted |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String**| The name that needs to be deleted | |
### Return type
@@ -221,10 +217,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. | |
### Return type
@@ -267,11 +262,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The user name for login |
- **password** | **kotlin.String**| The password for login in clear text |
+| **username** | **kotlin.String**| The user name for login | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **password** | **kotlin.String**| The password for login in clear text | |
### Return type
@@ -355,11 +349,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| name that need to be deleted |
- **body** | [**User**](User.md)| Updated user object |
+| **username** | **kotlin.String**| name that need to be deleted | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**User**](User.md)| Updated user object | |
### Return type
diff --git a/samples/client/petstore/kotlin-gson/src/main/kotlin/org/openapitools/client/models/Category.kt b/samples/client/petstore/kotlin-gson/src/main/kotlin/org/openapitools/client/models/Category.kt
index 2601d6552e70..87eacb1365a5 100644
--- a/samples/client/petstore/kotlin-gson/src/main/kotlin/org/openapitools/client/models/Category.kt
+++ b/samples/client/petstore/kotlin-gson/src/main/kotlin/org/openapitools/client/models/Category.kt
@@ -34,5 +34,8 @@ data class Category (
@SerializedName("name")
val name: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-gson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt b/samples/client/petstore/kotlin-gson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
index 683e7501919d..fe2d51d4ef04 100644
--- a/samples/client/petstore/kotlin-gson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
+++ b/samples/client/petstore/kotlin-gson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
@@ -38,5 +38,8 @@ data class ModelApiResponse (
@SerializedName("message")
val message: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-gson/src/main/kotlin/org/openapitools/client/models/Order.kt b/samples/client/petstore/kotlin-gson/src/main/kotlin/org/openapitools/client/models/Order.kt
index 81eb2947f315..b9f182f53b53 100644
--- a/samples/client/petstore/kotlin-gson/src/main/kotlin/org/openapitools/client/models/Order.kt
+++ b/samples/client/petstore/kotlin-gson/src/main/kotlin/org/openapitools/client/models/Order.kt
@@ -63,5 +63,6 @@ data class Order (
@SerializedName(value = "approved") approved("approved"),
@SerializedName(value = "delivered") delivered("delivered");
}
+
}
diff --git a/samples/client/petstore/kotlin-gson/src/main/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/petstore/kotlin-gson/src/main/kotlin/org/openapitools/client/models/Pet.kt
index 8cbd43cc64ff..57c97dd3d089 100644
--- a/samples/client/petstore/kotlin-gson/src/main/kotlin/org/openapitools/client/models/Pet.kt
+++ b/samples/client/petstore/kotlin-gson/src/main/kotlin/org/openapitools/client/models/Pet.kt
@@ -65,5 +65,6 @@ data class Pet (
@SerializedName(value = "pending") pending("pending"),
@SerializedName(value = "sold") sold("sold");
}
+
}
diff --git a/samples/client/petstore/kotlin-gson/src/main/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/petstore/kotlin-gson/src/main/kotlin/org/openapitools/client/models/Tag.kt
index c2962c214a1a..f66db9ea55e8 100644
--- a/samples/client/petstore/kotlin-gson/src/main/kotlin/org/openapitools/client/models/Tag.kt
+++ b/samples/client/petstore/kotlin-gson/src/main/kotlin/org/openapitools/client/models/Tag.kt
@@ -34,5 +34,8 @@ data class Tag (
@SerializedName("name")
val name: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-gson/src/main/kotlin/org/openapitools/client/models/User.kt b/samples/client/petstore/kotlin-gson/src/main/kotlin/org/openapitools/client/models/User.kt
index 8c93d094308e..62b3ce81f9bf 100644
--- a/samples/client/petstore/kotlin-gson/src/main/kotlin/org/openapitools/client/models/User.kt
+++ b/samples/client/petstore/kotlin-gson/src/main/kotlin/org/openapitools/client/models/User.kt
@@ -59,5 +59,8 @@ data class User (
@SerializedName("userStatus")
val userStatus: kotlin.Int? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-jackson/README.md b/samples/client/petstore/kotlin-jackson/README.md
index e4e111438878..f1cf0031b0c9 100644
--- a/samples/client/petstore/kotlin-jackson/README.md
+++ b/samples/client/petstore/kotlin-jackson/README.md
@@ -43,28 +43,28 @@ This runs all tests and packages the library.
All URIs are relative to *http://petstore.swagger.io/v2*
-Class | Method | HTTP request | Description
------------- | ------------- | ------------- | -------------
-*PetApi* | [**addPet**](docs/PetApi.md#addpet) | **POST** /pet | Add a new pet to the store
-*PetApi* | [**deletePet**](docs/PetApi.md#deletepet) | **DELETE** /pet/{petId} | Deletes a pet
-*PetApi* | [**findPetsByStatus**](docs/PetApi.md#findpetsbystatus) | **GET** /pet/findByStatus | Finds Pets by status
-*PetApi* | [**findPetsByTags**](docs/PetApi.md#findpetsbytags) | **GET** /pet/findByTags | Finds Pets by tags
-*PetApi* | [**getPetById**](docs/PetApi.md#getpetbyid) | **GET** /pet/{petId} | Find pet by ID
-*PetApi* | [**updatePet**](docs/PetApi.md#updatepet) | **PUT** /pet | Update an existing pet
-*PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatepetwithform) | **POST** /pet/{petId} | Updates a pet in the store with form data
-*PetApi* | [**uploadFile**](docs/PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image
-*StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteorder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID
-*StoreApi* | [**getInventory**](docs/StoreApi.md#getinventory) | **GET** /store/inventory | Returns pet inventories by status
-*StoreApi* | [**getOrderById**](docs/StoreApi.md#getorderbyid) | **GET** /store/order/{orderId} | Find purchase order by ID
-*StoreApi* | [**placeOrder**](docs/StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet
-*UserApi* | [**createUser**](docs/UserApi.md#createuser) | **POST** /user | Create user
-*UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createuserswitharrayinput) | **POST** /user/createWithArray | Creates list of users with given input array
-*UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createuserswithlistinput) | **POST** /user/createWithList | Creates list of users with given input array
-*UserApi* | [**deleteUser**](docs/UserApi.md#deleteuser) | **DELETE** /user/{username} | Delete user
-*UserApi* | [**getUserByName**](docs/UserApi.md#getuserbyname) | **GET** /user/{username} | Get user by user name
-*UserApi* | [**loginUser**](docs/UserApi.md#loginuser) | **GET** /user/login | Logs user into the system
-*UserApi* | [**logoutUser**](docs/UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session
-*UserApi* | [**updateUser**](docs/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user
+| Class | Method | HTTP request | Description |
+| ------------ | ------------- | ------------- | ------------- |
+| *PetApi* | [**addPet**](docs/PetApi.md#addpet) | **POST** /pet | Add a new pet to the store |
+| *PetApi* | [**deletePet**](docs/PetApi.md#deletepet) | **DELETE** /pet/{petId} | Deletes a pet |
+| *PetApi* | [**findPetsByStatus**](docs/PetApi.md#findpetsbystatus) | **GET** /pet/findByStatus | Finds Pets by status |
+| *PetApi* | [**findPetsByTags**](docs/PetApi.md#findpetsbytags) | **GET** /pet/findByTags | Finds Pets by tags |
+| *PetApi* | [**getPetById**](docs/PetApi.md#getpetbyid) | **GET** /pet/{petId} | Find pet by ID |
+| *PetApi* | [**updatePet**](docs/PetApi.md#updatepet) | **PUT** /pet | Update an existing pet |
+| *PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatepetwithform) | **POST** /pet/{petId} | Updates a pet in the store with form data |
+| *PetApi* | [**uploadFile**](docs/PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image |
+| *StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteorder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID |
+| *StoreApi* | [**getInventory**](docs/StoreApi.md#getinventory) | **GET** /store/inventory | Returns pet inventories by status |
+| *StoreApi* | [**getOrderById**](docs/StoreApi.md#getorderbyid) | **GET** /store/order/{orderId} | Find purchase order by ID |
+| *StoreApi* | [**placeOrder**](docs/StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet |
+| *UserApi* | [**createUser**](docs/UserApi.md#createuser) | **POST** /user | Create user |
+| *UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createuserswitharrayinput) | **POST** /user/createWithArray | Creates list of users with given input array |
+| *UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createuserswithlistinput) | **POST** /user/createWithList | Creates list of users with given input array |
+| *UserApi* | [**deleteUser**](docs/UserApi.md#deleteuser) | **DELETE** /user/{username} | Delete user |
+| *UserApi* | [**getUserByName**](docs/UserApi.md#getuserbyname) | **GET** /user/{username} | Get user by user name |
+| *UserApi* | [**loginUser**](docs/UserApi.md#loginuser) | **GET** /user/login | Logs user into the system |
+| *UserApi* | [**logoutUser**](docs/UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session |
+| *UserApi* | [**updateUser**](docs/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user |
diff --git a/samples/client/petstore/kotlin-jackson/docs/ApiResponse.md b/samples/client/petstore/kotlin-jackson/docs/ApiResponse.md
index 12f08d5cdef0..059525a99512 100644
--- a/samples/client/petstore/kotlin-jackson/docs/ApiResponse.md
+++ b/samples/client/petstore/kotlin-jackson/docs/ApiResponse.md
@@ -2,11 +2,11 @@
# ModelApiResponse
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**code** | **kotlin.Int** | | [optional]
-**type** | **kotlin.String** | | [optional]
-**message** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **code** | **kotlin.Int** | | [optional] |
+| **type** | **kotlin.String** | | [optional] |
+| **message** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-jackson/docs/Category.md b/samples/client/petstore/kotlin-jackson/docs/Category.md
index 2c28a670fc79..baba5657eb21 100644
--- a/samples/client/petstore/kotlin-jackson/docs/Category.md
+++ b/samples/client/petstore/kotlin-jackson/docs/Category.md
@@ -2,10 +2,10 @@
# Category
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-jackson/docs/Order.md b/samples/client/petstore/kotlin-jackson/docs/Order.md
index c0c951b22d33..7b7a399f7f75 100644
--- a/samples/client/petstore/kotlin-jackson/docs/Order.md
+++ b/samples/client/petstore/kotlin-jackson/docs/Order.md
@@ -2,21 +2,21 @@
# Order
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**petId** | **kotlin.Long** | | [optional]
-**quantity** | **kotlin.Int** | | [optional]
-**shipDate** | [**java.time.OffsetDateTime**](java.time.OffsetDateTime.md) | | [optional]
-**status** | [**inline**](#Status) | Order Status | [optional]
-**complete** | **kotlin.Boolean** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **petId** | **kotlin.Long** | | [optional] |
+| **quantity** | **kotlin.Int** | | [optional] |
+| **shipDate** | [**java.time.OffsetDateTime**](java.time.OffsetDateTime.md) | | [optional] |
+| **status** | [**inline**](#Status) | Order Status | [optional] |
+| **complete** | **kotlin.Boolean** | | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | placed, approved, delivered
+| Name | Value |
+| ---- | ----- |
+| status | placed, approved, delivered |
diff --git a/samples/client/petstore/kotlin-jackson/docs/Pet.md b/samples/client/petstore/kotlin-jackson/docs/Pet.md
index da70fca06e65..287312efaf94 100644
--- a/samples/client/petstore/kotlin-jackson/docs/Pet.md
+++ b/samples/client/petstore/kotlin-jackson/docs/Pet.md
@@ -2,21 +2,21 @@
# Pet
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**name** | **kotlin.String** | |
-**photoUrls** | **kotlin.collections.List<kotlin.String>** | |
-**id** | **kotlin.Long** | | [optional]
-**category** | [**Category**](Category.md) | | [optional]
-**tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional]
-**status** | [**inline**](#Status) | pet status in the store | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **name** | **kotlin.String** | | |
+| **photoUrls** | **kotlin.collections.List<kotlin.String>** | | |
+| **id** | **kotlin.Long** | | [optional] |
+| **category** | [**Category**](Category.md) | | [optional] |
+| **tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional] |
+| **status** | [**inline**](#Status) | pet status in the store | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | available, pending, sold
+| Name | Value |
+| ---- | ----- |
+| status | available, pending, sold |
diff --git a/samples/client/petstore/kotlin-jackson/docs/PetApi.md b/samples/client/petstore/kotlin-jackson/docs/PetApi.md
index bb8451def0df..6856ea516dab 100644
--- a/samples/client/petstore/kotlin-jackson/docs/PetApi.md
+++ b/samples/client/petstore/kotlin-jackson/docs/PetApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**addPet**](PetApi.md#addPet) | **POST** /pet | Add a new pet to the store
-[**deletePet**](PetApi.md#deletePet) | **DELETE** /pet/{petId} | Deletes a pet
-[**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** /pet/findByStatus | Finds Pets by status
-[**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** /pet/findByTags | Finds Pets by tags
-[**getPetById**](PetApi.md#getPetById) | **GET** /pet/{petId} | Find pet by ID
-[**updatePet**](PetApi.md#updatePet) | **PUT** /pet | Update an existing pet
-[**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** /pet/{petId} | Updates a pet in the store with form data
-[**uploadFile**](PetApi.md#uploadFile) | **POST** /pet/{petId}/uploadImage | uploads an image
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**addPet**](PetApi.md#addPet) | **POST** /pet | Add a new pet to the store |
+| [**deletePet**](PetApi.md#deletePet) | **DELETE** /pet/{petId} | Deletes a pet |
+| [**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** /pet/findByStatus | Finds Pets by status |
+| [**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** /pet/findByTags | Finds Pets by tags |
+| [**getPetById**](PetApi.md#getPetById) | **GET** /pet/{petId} | Find pet by ID |
+| [**updatePet**](PetApi.md#updatePet) | **PUT** /pet | Update an existing pet |
+| [**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** /pet/{petId} | Updates a pet in the store with form data |
+| [**uploadFile**](PetApi.md#uploadFile) | **POST** /pet/{petId}/uploadImage | uploads an image |
@@ -40,10 +40,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -87,11 +86,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| Pet id to delete |
- **apiKey** | **kotlin.String**| | [optional]
+| **petId** | **kotlin.Long**| Pet id to delete | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **apiKey** | **kotlin.String**| | [optional] |
### Return type
@@ -137,10 +135,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **status** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [enum: available, pending, sold]
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **status** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [enum: available, pending, sold] |
### Return type
@@ -186,10 +183,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **tags** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Tags to filter by |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **tags** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Tags to filter by | |
### Return type
@@ -235,10 +231,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet to return |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **petId** | **kotlin.Long**| ID of pet to return | |
### Return type
@@ -282,10 +277,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -330,12 +324,11 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet that needs to be updated |
- **name** | **kotlin.String**| Updated name of the pet | [optional]
- **status** | **kotlin.String**| Updated status of the pet | [optional]
+| **petId** | **kotlin.Long**| ID of pet that needs to be updated | |
+| **name** | **kotlin.String**| Updated name of the pet | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **status** | **kotlin.String**| Updated status of the pet | [optional] |
### Return type
@@ -381,12 +374,11 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet to update |
- **additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional]
- **file** | **java.io.File**| file to upload | [optional]
+| **petId** | **kotlin.Long**| ID of pet to update | |
+| **additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **file** | **java.io.File**| file to upload | [optional] |
### Return type
diff --git a/samples/client/petstore/kotlin-jackson/docs/StoreApi.md b/samples/client/petstore/kotlin-jackson/docs/StoreApi.md
index 9515ccd6d0cb..53ff17b16676 100644
--- a/samples/client/petstore/kotlin-jackson/docs/StoreApi.md
+++ b/samples/client/petstore/kotlin-jackson/docs/StoreApi.md
@@ -2,12 +2,12 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID
-[**getInventory**](StoreApi.md#getInventory) | **GET** /store/inventory | Returns pet inventories by status
-[**getOrderById**](StoreApi.md#getOrderById) | **GET** /store/order/{orderId} | Find purchase order by ID
-[**placeOrder**](StoreApi.md#placeOrder) | **POST** /store/order | Place an order for a pet
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID |
+| [**getInventory**](StoreApi.md#getInventory) | **GET** /store/inventory | Returns pet inventories by status |
+| [**getOrderById**](StoreApi.md#getOrderById) | **GET** /store/order/{orderId} | Find purchase order by ID |
+| [**placeOrder**](StoreApi.md#placeOrder) | **POST** /store/order | Place an order for a pet |
@@ -38,10 +38,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **kotlin.String**| ID of the order that needs to be deleted |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **orderId** | **kotlin.String**| ID of the order that needs to be deleted | |
### Return type
@@ -131,10 +130,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **kotlin.Long**| ID of pet that needs to be fetched |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **orderId** | **kotlin.Long**| ID of pet that needs to be fetched | |
### Return type
@@ -176,10 +174,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**Order**](Order.md)| order placed for purchasing the pet |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**Order**](Order.md)| order placed for purchasing the pet | |
### Return type
diff --git a/samples/client/petstore/kotlin-jackson/docs/Tag.md b/samples/client/petstore/kotlin-jackson/docs/Tag.md
index 60ce1bcdbad3..dc8fa3cb555d 100644
--- a/samples/client/petstore/kotlin-jackson/docs/Tag.md
+++ b/samples/client/petstore/kotlin-jackson/docs/Tag.md
@@ -2,10 +2,10 @@
# Tag
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-jackson/docs/User.md b/samples/client/petstore/kotlin-jackson/docs/User.md
index e801729b5ed1..a9f35788637e 100644
--- a/samples/client/petstore/kotlin-jackson/docs/User.md
+++ b/samples/client/petstore/kotlin-jackson/docs/User.md
@@ -2,16 +2,16 @@
# User
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**username** | **kotlin.String** | | [optional]
-**firstName** | **kotlin.String** | | [optional]
-**lastName** | **kotlin.String** | | [optional]
-**email** | **kotlin.String** | | [optional]
-**password** | **kotlin.String** | | [optional]
-**phone** | **kotlin.String** | | [optional]
-**userStatus** | **kotlin.Int** | User Status | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **username** | **kotlin.String** | | [optional] |
+| **firstName** | **kotlin.String** | | [optional] |
+| **lastName** | **kotlin.String** | | [optional] |
+| **email** | **kotlin.String** | | [optional] |
+| **password** | **kotlin.String** | | [optional] |
+| **phone** | **kotlin.String** | | [optional] |
+| **userStatus** | **kotlin.Int** | User Status | [optional] |
diff --git a/samples/client/petstore/kotlin-jackson/docs/UserApi.md b/samples/client/petstore/kotlin-jackson/docs/UserApi.md
index fdf75275cb97..82c8d6060276 100644
--- a/samples/client/petstore/kotlin-jackson/docs/UserApi.md
+++ b/samples/client/petstore/kotlin-jackson/docs/UserApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**createUser**](UserApi.md#createUser) | **POST** /user | Create user
-[**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** /user/createWithArray | Creates list of users with given input array
-[**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** /user/createWithList | Creates list of users with given input array
-[**deleteUser**](UserApi.md#deleteUser) | **DELETE** /user/{username} | Delete user
-[**getUserByName**](UserApi.md#getUserByName) | **GET** /user/{username} | Get user by user name
-[**loginUser**](UserApi.md#loginUser) | **GET** /user/login | Logs user into the system
-[**logoutUser**](UserApi.md#logoutUser) | **GET** /user/logout | Logs out current logged in user session
-[**updateUser**](UserApi.md#updateUser) | **PUT** /user/{username} | Updated user
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**createUser**](UserApi.md#createUser) | **POST** /user | Create user |
+| [**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** /user/createWithArray | Creates list of users with given input array |
+| [**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** /user/createWithList | Creates list of users with given input array |
+| [**deleteUser**](UserApi.md#deleteUser) | **DELETE** /user/{username} | Delete user |
+| [**getUserByName**](UserApi.md#getUserByName) | **GET** /user/{username} | Get user by user name |
+| [**loginUser**](UserApi.md#loginUser) | **GET** /user/login | Logs user into the system |
+| [**logoutUser**](UserApi.md#logoutUser) | **GET** /user/logout | Logs out current logged in user session |
+| [**updateUser**](UserApi.md#updateUser) | **PUT** /user/{username} | Updated user |
@@ -42,10 +42,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**User**](User.md)| Created user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**User**](User.md)| Created user object | |
### Return type
@@ -86,10 +85,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**kotlin.collections.List<User>**](User.md)| List of user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**kotlin.collections.List<User>**](User.md)| List of user object | |
### Return type
@@ -130,10 +128,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**kotlin.collections.List<User>**](User.md)| List of user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**kotlin.collections.List<User>**](User.md)| List of user object | |
### Return type
@@ -176,10 +173,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The name that needs to be deleted |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String**| The name that needs to be deleted | |
### Return type
@@ -221,10 +217,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. | |
### Return type
@@ -267,11 +262,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The user name for login |
- **password** | **kotlin.String**| The password for login in clear text |
+| **username** | **kotlin.String**| The user name for login | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **password** | **kotlin.String**| The password for login in clear text | |
### Return type
@@ -355,11 +349,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| name that need to be deleted |
- **body** | [**User**](User.md)| Updated user object |
+| **username** | **kotlin.String**| name that need to be deleted | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**User**](User.md)| Updated user object | |
### Return type
diff --git a/samples/client/petstore/kotlin-jackson/src/main/kotlin/org/openapitools/client/models/Category.kt b/samples/client/petstore/kotlin-jackson/src/main/kotlin/org/openapitools/client/models/Category.kt
index ff41aedca0bf..6ea4e930c6c2 100644
--- a/samples/client/petstore/kotlin-jackson/src/main/kotlin/org/openapitools/client/models/Category.kt
+++ b/samples/client/petstore/kotlin-jackson/src/main/kotlin/org/openapitools/client/models/Category.kt
@@ -35,5 +35,8 @@ data class Category (
@field:JsonProperty("name")
val name: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-jackson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt b/samples/client/petstore/kotlin-jackson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
index 2a59a8f3acdb..cbd86808f1e9 100644
--- a/samples/client/petstore/kotlin-jackson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
+++ b/samples/client/petstore/kotlin-jackson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
@@ -39,5 +39,8 @@ data class ModelApiResponse (
@field:JsonProperty("message")
val message: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-jackson/src/main/kotlin/org/openapitools/client/models/Order.kt b/samples/client/petstore/kotlin-jackson/src/main/kotlin/org/openapitools/client/models/Order.kt
index 5d72e185d7f3..cf1470cbff2b 100644
--- a/samples/client/petstore/kotlin-jackson/src/main/kotlin/org/openapitools/client/models/Order.kt
+++ b/samples/client/petstore/kotlin-jackson/src/main/kotlin/org/openapitools/client/models/Order.kt
@@ -65,5 +65,6 @@ data class Order (
@JsonProperty(value = "delivered") DELIVERED("delivered"),
@JsonProperty(value = "unknown_default_open_api") @JsonEnumDefaultValue UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api");
}
+
}
diff --git a/samples/client/petstore/kotlin-jackson/src/main/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/petstore/kotlin-jackson/src/main/kotlin/org/openapitools/client/models/Pet.kt
index c9863eb6c326..6bc911742a14 100644
--- a/samples/client/petstore/kotlin-jackson/src/main/kotlin/org/openapitools/client/models/Pet.kt
+++ b/samples/client/petstore/kotlin-jackson/src/main/kotlin/org/openapitools/client/models/Pet.kt
@@ -67,5 +67,6 @@ data class Pet (
@JsonProperty(value = "sold") SOLD("sold"),
@JsonProperty(value = "unknown_default_open_api") @JsonEnumDefaultValue UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api");
}
+
}
diff --git a/samples/client/petstore/kotlin-jackson/src/main/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/petstore/kotlin-jackson/src/main/kotlin/org/openapitools/client/models/Tag.kt
index bfff056241ca..e0b2095ca18d 100644
--- a/samples/client/petstore/kotlin-jackson/src/main/kotlin/org/openapitools/client/models/Tag.kt
+++ b/samples/client/petstore/kotlin-jackson/src/main/kotlin/org/openapitools/client/models/Tag.kt
@@ -35,5 +35,8 @@ data class Tag (
@field:JsonProperty("name")
val name: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-jackson/src/main/kotlin/org/openapitools/client/models/User.kt b/samples/client/petstore/kotlin-jackson/src/main/kotlin/org/openapitools/client/models/User.kt
index 48cabe858981..fa771a986f24 100644
--- a/samples/client/petstore/kotlin-jackson/src/main/kotlin/org/openapitools/client/models/User.kt
+++ b/samples/client/petstore/kotlin-jackson/src/main/kotlin/org/openapitools/client/models/User.kt
@@ -60,5 +60,8 @@ data class User (
@field:JsonProperty("userStatus")
val userStatus: kotlin.Int? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-json-request-string/README.md b/samples/client/petstore/kotlin-json-request-string/README.md
index 6d5012e90829..b780ba5c2f95 100644
--- a/samples/client/petstore/kotlin-json-request-string/README.md
+++ b/samples/client/petstore/kotlin-json-request-string/README.md
@@ -43,28 +43,28 @@ This runs all tests and packages the library.
All URIs are relative to *http://petstore.swagger.io/v2*
-Class | Method | HTTP request | Description
------------- | ------------- | ------------- | -------------
-*PetApi* | [**addPet**](docs/PetApi.md#addpet) | **POST** /pet | Add a new pet to the store
-*PetApi* | [**deletePet**](docs/PetApi.md#deletepet) | **DELETE** /pet/{petId} | Deletes a pet
-*PetApi* | [**findPetsByTags**](docs/PetApi.md#findpetsbytags) | **GET** /pet/findByTags | Finds Pets by tags
-*PetApi* | [**getAllPets**](docs/PetApi.md#getallpets) | **GET** /pet/getAll | Get all pets
-*PetApi* | [**getPetById**](docs/PetApi.md#getpetbyid) | **GET** /pet/{petId} | Find pet by ID
-*PetApi* | [**updatePet**](docs/PetApi.md#updatepet) | **PUT** /pet | Update an existing pet
-*PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatepetwithform) | **POST** /pet/{petId} | Updates a pet in the store with form data
-*PetApi* | [**uploadFile**](docs/PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image
-*StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteorder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID
-*StoreApi* | [**getInventory**](docs/StoreApi.md#getinventory) | **GET** /store/inventory | Returns pet inventories by status
-*StoreApi* | [**getOrderById**](docs/StoreApi.md#getorderbyid) | **GET** /store/order/{orderId} | Find purchase order by ID
-*StoreApi* | [**placeOrder**](docs/StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet
-*UserApi* | [**createUser**](docs/UserApi.md#createuser) | **POST** /user | Create user
-*UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createuserswitharrayinput) | **POST** /user/createWithArray | Creates list of users with given input array
-*UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createuserswithlistinput) | **POST** /user/createWithList | Creates list of users with given input array
-*UserApi* | [**deleteUser**](docs/UserApi.md#deleteuser) | **DELETE** /user/{username} | Delete user
-*UserApi* | [**getUserByName**](docs/UserApi.md#getuserbyname) | **GET** /user/{username} | Get user by user name
-*UserApi* | [**loginUser**](docs/UserApi.md#loginuser) | **GET** /user/login | Logs user into the system
-*UserApi* | [**logoutUser**](docs/UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session
-*UserApi* | [**updateUser**](docs/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user
+| Class | Method | HTTP request | Description |
+| ------------ | ------------- | ------------- | ------------- |
+| *PetApi* | [**addPet**](docs/PetApi.md#addpet) | **POST** /pet | Add a new pet to the store |
+| *PetApi* | [**deletePet**](docs/PetApi.md#deletepet) | **DELETE** /pet/{petId} | Deletes a pet |
+| *PetApi* | [**findPetsByTags**](docs/PetApi.md#findpetsbytags) | **GET** /pet/findByTags | Finds Pets by tags |
+| *PetApi* | [**getAllPets**](docs/PetApi.md#getallpets) | **GET** /pet/getAll | Get all pets |
+| *PetApi* | [**getPetById**](docs/PetApi.md#getpetbyid) | **GET** /pet/{petId} | Find pet by ID |
+| *PetApi* | [**updatePet**](docs/PetApi.md#updatepet) | **PUT** /pet | Update an existing pet |
+| *PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatepetwithform) | **POST** /pet/{petId} | Updates a pet in the store with form data |
+| *PetApi* | [**uploadFile**](docs/PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image |
+| *StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteorder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID |
+| *StoreApi* | [**getInventory**](docs/StoreApi.md#getinventory) | **GET** /store/inventory | Returns pet inventories by status |
+| *StoreApi* | [**getOrderById**](docs/StoreApi.md#getorderbyid) | **GET** /store/order/{orderId} | Find purchase order by ID |
+| *StoreApi* | [**placeOrder**](docs/StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet |
+| *UserApi* | [**createUser**](docs/UserApi.md#createuser) | **POST** /user | Create user |
+| *UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createuserswitharrayinput) | **POST** /user/createWithArray | Creates list of users with given input array |
+| *UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createuserswithlistinput) | **POST** /user/createWithList | Creates list of users with given input array |
+| *UserApi* | [**deleteUser**](docs/UserApi.md#deleteuser) | **DELETE** /user/{username} | Delete user |
+| *UserApi* | [**getUserByName**](docs/UserApi.md#getuserbyname) | **GET** /user/{username} | Get user by user name |
+| *UserApi* | [**loginUser**](docs/UserApi.md#loginuser) | **GET** /user/login | Logs user into the system |
+| *UserApi* | [**logoutUser**](docs/UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session |
+| *UserApi* | [**updateUser**](docs/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user |
diff --git a/samples/client/petstore/kotlin-json-request-string/docs/ApiResponse.md b/samples/client/petstore/kotlin-json-request-string/docs/ApiResponse.md
index 12f08d5cdef0..059525a99512 100644
--- a/samples/client/petstore/kotlin-json-request-string/docs/ApiResponse.md
+++ b/samples/client/petstore/kotlin-json-request-string/docs/ApiResponse.md
@@ -2,11 +2,11 @@
# ModelApiResponse
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**code** | **kotlin.Int** | | [optional]
-**type** | **kotlin.String** | | [optional]
-**message** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **code** | **kotlin.Int** | | [optional] |
+| **type** | **kotlin.String** | | [optional] |
+| **message** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-json-request-string/docs/Category.md b/samples/client/petstore/kotlin-json-request-string/docs/Category.md
index 2c28a670fc79..baba5657eb21 100644
--- a/samples/client/petstore/kotlin-json-request-string/docs/Category.md
+++ b/samples/client/petstore/kotlin-json-request-string/docs/Category.md
@@ -2,10 +2,10 @@
# Category
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-json-request-string/docs/Order.md b/samples/client/petstore/kotlin-json-request-string/docs/Order.md
index c0c951b22d33..7b7a399f7f75 100644
--- a/samples/client/petstore/kotlin-json-request-string/docs/Order.md
+++ b/samples/client/petstore/kotlin-json-request-string/docs/Order.md
@@ -2,21 +2,21 @@
# Order
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**petId** | **kotlin.Long** | | [optional]
-**quantity** | **kotlin.Int** | | [optional]
-**shipDate** | [**java.time.OffsetDateTime**](java.time.OffsetDateTime.md) | | [optional]
-**status** | [**inline**](#Status) | Order Status | [optional]
-**complete** | **kotlin.Boolean** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **petId** | **kotlin.Long** | | [optional] |
+| **quantity** | **kotlin.Int** | | [optional] |
+| **shipDate** | [**java.time.OffsetDateTime**](java.time.OffsetDateTime.md) | | [optional] |
+| **status** | [**inline**](#Status) | Order Status | [optional] |
+| **complete** | **kotlin.Boolean** | | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | placed, approved, delivered
+| Name | Value |
+| ---- | ----- |
+| status | placed, approved, delivered |
diff --git a/samples/client/petstore/kotlin-json-request-string/docs/Pet.md b/samples/client/petstore/kotlin-json-request-string/docs/Pet.md
index da70fca06e65..287312efaf94 100644
--- a/samples/client/petstore/kotlin-json-request-string/docs/Pet.md
+++ b/samples/client/petstore/kotlin-json-request-string/docs/Pet.md
@@ -2,21 +2,21 @@
# Pet
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**name** | **kotlin.String** | |
-**photoUrls** | **kotlin.collections.List<kotlin.String>** | |
-**id** | **kotlin.Long** | | [optional]
-**category** | [**Category**](Category.md) | | [optional]
-**tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional]
-**status** | [**inline**](#Status) | pet status in the store | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **name** | **kotlin.String** | | |
+| **photoUrls** | **kotlin.collections.List<kotlin.String>** | | |
+| **id** | **kotlin.Long** | | [optional] |
+| **category** | [**Category**](Category.md) | | [optional] |
+| **tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional] |
+| **status** | [**inline**](#Status) | pet status in the store | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | available, pending, sold
+| Name | Value |
+| ---- | ----- |
+| status | available, pending, sold |
diff --git a/samples/client/petstore/kotlin-json-request-string/docs/PetApi.md b/samples/client/petstore/kotlin-json-request-string/docs/PetApi.md
index 9fb6cf76a0be..318ca7c9e1e9 100644
--- a/samples/client/petstore/kotlin-json-request-string/docs/PetApi.md
+++ b/samples/client/petstore/kotlin-json-request-string/docs/PetApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**addPet**](PetApi.md#addPet) | **POST** /pet | Add a new pet to the store
-[**deletePet**](PetApi.md#deletePet) | **DELETE** /pet/{petId} | Deletes a pet
-[**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** /pet/findByTags | Finds Pets by tags
-[**getAllPets**](PetApi.md#getAllPets) | **GET** /pet/getAll | Get all pets
-[**getPetById**](PetApi.md#getPetById) | **GET** /pet/{petId} | Find pet by ID
-[**updatePet**](PetApi.md#updatePet) | **PUT** /pet | Update an existing pet
-[**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** /pet/{petId} | Updates a pet in the store with form data
-[**uploadFile**](PetApi.md#uploadFile) | **POST** /pet/{petId}/uploadImage | uploads an image
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**addPet**](PetApi.md#addPet) | **POST** /pet | Add a new pet to the store |
+| [**deletePet**](PetApi.md#deletePet) | **DELETE** /pet/{petId} | Deletes a pet |
+| [**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** /pet/findByTags | Finds Pets by tags |
+| [**getAllPets**](PetApi.md#getAllPets) | **GET** /pet/getAll | Get all pets |
+| [**getPetById**](PetApi.md#getPetById) | **GET** /pet/{petId} | Find pet by ID |
+| [**updatePet**](PetApi.md#updatePet) | **PUT** /pet | Update an existing pet |
+| [**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** /pet/{petId} | Updates a pet in the store with form data |
+| [**uploadFile**](PetApi.md#uploadFile) | **POST** /pet/{petId}/uploadImage | uploads an image |
@@ -40,10 +40,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -87,11 +86,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| Pet id to delete |
- **apiKey** | **kotlin.String**| | [optional]
+| **petId** | **kotlin.Long**| Pet id to delete | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **apiKey** | **kotlin.String**| | [optional] |
### Return type
@@ -137,10 +135,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **tags** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Tags to filter by |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **tags** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Tags to filter by | |
### Return type
@@ -184,10 +181,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **lastUpdated** | **java.time.OffsetDateTime**| When this endpoint was hit last to help identify if the client already has the latest copy. | [optional]
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **lastUpdated** | **java.time.OffsetDateTime**| When this endpoint was hit last to help identify if the client already has the latest copy. | [optional] |
### Return type
@@ -233,10 +229,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet to return |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **petId** | **kotlin.Long**| ID of pet to return | |
### Return type
@@ -280,10 +275,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -328,12 +322,11 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet that needs to be updated |
- **name** | **kotlin.String**| Updated name of the pet | [optional]
- **status** | **kotlin.String**| Updated status of the pet | [optional]
+| **petId** | **kotlin.Long**| ID of pet that needs to be updated | |
+| **name** | **kotlin.String**| Updated name of the pet | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **status** | **kotlin.String**| Updated status of the pet | [optional] |
### Return type
@@ -379,12 +372,11 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet to update |
- **additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional]
- **file** | **java.io.File**| file to upload | [optional]
+| **petId** | **kotlin.Long**| ID of pet to update | |
+| **additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **file** | **java.io.File**| file to upload | [optional] |
### Return type
diff --git a/samples/client/petstore/kotlin-json-request-string/docs/StoreApi.md b/samples/client/petstore/kotlin-json-request-string/docs/StoreApi.md
index 9515ccd6d0cb..53ff17b16676 100644
--- a/samples/client/petstore/kotlin-json-request-string/docs/StoreApi.md
+++ b/samples/client/petstore/kotlin-json-request-string/docs/StoreApi.md
@@ -2,12 +2,12 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID
-[**getInventory**](StoreApi.md#getInventory) | **GET** /store/inventory | Returns pet inventories by status
-[**getOrderById**](StoreApi.md#getOrderById) | **GET** /store/order/{orderId} | Find purchase order by ID
-[**placeOrder**](StoreApi.md#placeOrder) | **POST** /store/order | Place an order for a pet
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID |
+| [**getInventory**](StoreApi.md#getInventory) | **GET** /store/inventory | Returns pet inventories by status |
+| [**getOrderById**](StoreApi.md#getOrderById) | **GET** /store/order/{orderId} | Find purchase order by ID |
+| [**placeOrder**](StoreApi.md#placeOrder) | **POST** /store/order | Place an order for a pet |
@@ -38,10 +38,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **kotlin.String**| ID of the order that needs to be deleted |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **orderId** | **kotlin.String**| ID of the order that needs to be deleted | |
### Return type
@@ -131,10 +130,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **kotlin.Long**| ID of pet that needs to be fetched |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **orderId** | **kotlin.Long**| ID of pet that needs to be fetched | |
### Return type
@@ -176,10 +174,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**Order**](Order.md)| order placed for purchasing the pet |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**Order**](Order.md)| order placed for purchasing the pet | |
### Return type
diff --git a/samples/client/petstore/kotlin-json-request-string/docs/Tag.md b/samples/client/petstore/kotlin-json-request-string/docs/Tag.md
index 60ce1bcdbad3..dc8fa3cb555d 100644
--- a/samples/client/petstore/kotlin-json-request-string/docs/Tag.md
+++ b/samples/client/petstore/kotlin-json-request-string/docs/Tag.md
@@ -2,10 +2,10 @@
# Tag
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-json-request-string/docs/User.md b/samples/client/petstore/kotlin-json-request-string/docs/User.md
index e801729b5ed1..a9f35788637e 100644
--- a/samples/client/petstore/kotlin-json-request-string/docs/User.md
+++ b/samples/client/petstore/kotlin-json-request-string/docs/User.md
@@ -2,16 +2,16 @@
# User
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**username** | **kotlin.String** | | [optional]
-**firstName** | **kotlin.String** | | [optional]
-**lastName** | **kotlin.String** | | [optional]
-**email** | **kotlin.String** | | [optional]
-**password** | **kotlin.String** | | [optional]
-**phone** | **kotlin.String** | | [optional]
-**userStatus** | **kotlin.Int** | User Status | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **username** | **kotlin.String** | | [optional] |
+| **firstName** | **kotlin.String** | | [optional] |
+| **lastName** | **kotlin.String** | | [optional] |
+| **email** | **kotlin.String** | | [optional] |
+| **password** | **kotlin.String** | | [optional] |
+| **phone** | **kotlin.String** | | [optional] |
+| **userStatus** | **kotlin.Int** | User Status | [optional] |
diff --git a/samples/client/petstore/kotlin-json-request-string/docs/UserApi.md b/samples/client/petstore/kotlin-json-request-string/docs/UserApi.md
index fdf75275cb97..82c8d6060276 100644
--- a/samples/client/petstore/kotlin-json-request-string/docs/UserApi.md
+++ b/samples/client/petstore/kotlin-json-request-string/docs/UserApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**createUser**](UserApi.md#createUser) | **POST** /user | Create user
-[**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** /user/createWithArray | Creates list of users with given input array
-[**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** /user/createWithList | Creates list of users with given input array
-[**deleteUser**](UserApi.md#deleteUser) | **DELETE** /user/{username} | Delete user
-[**getUserByName**](UserApi.md#getUserByName) | **GET** /user/{username} | Get user by user name
-[**loginUser**](UserApi.md#loginUser) | **GET** /user/login | Logs user into the system
-[**logoutUser**](UserApi.md#logoutUser) | **GET** /user/logout | Logs out current logged in user session
-[**updateUser**](UserApi.md#updateUser) | **PUT** /user/{username} | Updated user
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**createUser**](UserApi.md#createUser) | **POST** /user | Create user |
+| [**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** /user/createWithArray | Creates list of users with given input array |
+| [**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** /user/createWithList | Creates list of users with given input array |
+| [**deleteUser**](UserApi.md#deleteUser) | **DELETE** /user/{username} | Delete user |
+| [**getUserByName**](UserApi.md#getUserByName) | **GET** /user/{username} | Get user by user name |
+| [**loginUser**](UserApi.md#loginUser) | **GET** /user/login | Logs user into the system |
+| [**logoutUser**](UserApi.md#logoutUser) | **GET** /user/logout | Logs out current logged in user session |
+| [**updateUser**](UserApi.md#updateUser) | **PUT** /user/{username} | Updated user |
@@ -42,10 +42,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**User**](User.md)| Created user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**User**](User.md)| Created user object | |
### Return type
@@ -86,10 +85,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**kotlin.collections.List<User>**](User.md)| List of user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**kotlin.collections.List<User>**](User.md)| List of user object | |
### Return type
@@ -130,10 +128,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**kotlin.collections.List<User>**](User.md)| List of user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**kotlin.collections.List<User>**](User.md)| List of user object | |
### Return type
@@ -176,10 +173,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The name that needs to be deleted |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String**| The name that needs to be deleted | |
### Return type
@@ -221,10 +217,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. | |
### Return type
@@ -267,11 +262,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The user name for login |
- **password** | **kotlin.String**| The password for login in clear text |
+| **username** | **kotlin.String**| The user name for login | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **password** | **kotlin.String**| The password for login in clear text | |
### Return type
@@ -355,11 +349,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| name that need to be deleted |
- **body** | [**User**](User.md)| Updated user object |
+| **username** | **kotlin.String**| name that need to be deleted | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**User**](User.md)| Updated user object | |
### Return type
diff --git a/samples/client/petstore/kotlin-json-request-string/src/main/kotlin/org/openapitools/client/models/Category.kt b/samples/client/petstore/kotlin-json-request-string/src/main/kotlin/org/openapitools/client/models/Category.kt
index 111976831453..b1b4fcc5f20a 100644
--- a/samples/client/petstore/kotlin-json-request-string/src/main/kotlin/org/openapitools/client/models/Category.kt
+++ b/samples/client/petstore/kotlin-json-request-string/src/main/kotlin/org/openapitools/client/models/Category.kt
@@ -44,5 +44,8 @@ data class Category (
@SerialName(value = "name")
val name: kotlin.String? = null
-) : Parcelable
+) : Parcelable {
+
+
+}
diff --git a/samples/client/petstore/kotlin-json-request-string/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt b/samples/client/petstore/kotlin-json-request-string/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
index 9eced3daa383..4cda49a253ac 100644
--- a/samples/client/petstore/kotlin-json-request-string/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
+++ b/samples/client/petstore/kotlin-json-request-string/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
@@ -48,5 +48,8 @@ data class ModelApiResponse (
@SerialName(value = "message")
val message: kotlin.String? = null
-) : Parcelable
+) : Parcelable {
+
+
+}
diff --git a/samples/client/petstore/kotlin-json-request-string/src/main/kotlin/org/openapitools/client/models/Order.kt b/samples/client/petstore/kotlin-json-request-string/src/main/kotlin/org/openapitools/client/models/Order.kt
index be99a7f34829..ea9cd7d4bbb7 100644
--- a/samples/client/petstore/kotlin-json-request-string/src/main/kotlin/org/openapitools/client/models/Order.kt
+++ b/samples/client/petstore/kotlin-json-request-string/src/main/kotlin/org/openapitools/client/models/Order.kt
@@ -90,5 +90,6 @@ data class Order (
encoder.encodeSerializableValue(kotlin.String.serializer(), value.value)
}
}
+
}
diff --git a/samples/client/petstore/kotlin-json-request-string/src/main/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/petstore/kotlin-json-request-string/src/main/kotlin/org/openapitools/client/models/Pet.kt
index 1f70e4317dd8..16800beb37c0 100644
--- a/samples/client/petstore/kotlin-json-request-string/src/main/kotlin/org/openapitools/client/models/Pet.kt
+++ b/samples/client/petstore/kotlin-json-request-string/src/main/kotlin/org/openapitools/client/models/Pet.kt
@@ -92,5 +92,6 @@ data class Pet (
encoder.encodeSerializableValue(kotlin.String.serializer(), value.value)
}
}
+
}
diff --git a/samples/client/petstore/kotlin-json-request-string/src/main/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/petstore/kotlin-json-request-string/src/main/kotlin/org/openapitools/client/models/Tag.kt
index dfbf3a6be9b7..82c2b16be4ca 100644
--- a/samples/client/petstore/kotlin-json-request-string/src/main/kotlin/org/openapitools/client/models/Tag.kt
+++ b/samples/client/petstore/kotlin-json-request-string/src/main/kotlin/org/openapitools/client/models/Tag.kt
@@ -44,5 +44,8 @@ data class Tag (
@SerialName(value = "name")
val name: kotlin.String? = null
-) : Parcelable
+) : Parcelable {
+
+
+}
diff --git a/samples/client/petstore/kotlin-json-request-string/src/main/kotlin/org/openapitools/client/models/User.kt b/samples/client/petstore/kotlin-json-request-string/src/main/kotlin/org/openapitools/client/models/User.kt
index e21033334852..79dae9e05bc7 100644
--- a/samples/client/petstore/kotlin-json-request-string/src/main/kotlin/org/openapitools/client/models/User.kt
+++ b/samples/client/petstore/kotlin-json-request-string/src/main/kotlin/org/openapitools/client/models/User.kt
@@ -69,5 +69,8 @@ data class User (
@SerialName(value = "userStatus")
val userStatus: kotlin.Int? = null
-) : Parcelable
+) : Parcelable {
+
+
+}
diff --git a/samples/client/petstore/kotlin-jvm-jackson/README.md b/samples/client/petstore/kotlin-jvm-jackson/README.md
index 7a33a54b760e..eea90cd4dc4c 100644
--- a/samples/client/petstore/kotlin-jvm-jackson/README.md
+++ b/samples/client/petstore/kotlin-jvm-jackson/README.md
@@ -43,28 +43,28 @@ This runs all tests and packages the library.
All URIs are relative to *http://petstore.swagger.io/v2*
-Class | Method | HTTP request | Description
------------- | ------------- | ------------- | -------------
-*PetApi* | [**addPet**](docs/PetApi.md#addpet) | **POST** pet | Add a new pet to the store
-*PetApi* | [**deletePet**](docs/PetApi.md#deletepet) | **DELETE** pet/{petId} | Deletes a pet
-*PetApi* | [**findPetsByStatus**](docs/PetApi.md#findpetsbystatus) | **GET** pet/findByStatus | Finds Pets by status
-*PetApi* | [**findPetsByTags**](docs/PetApi.md#findpetsbytags) | **GET** pet/findByTags | Finds Pets by tags
-*PetApi* | [**getPetById**](docs/PetApi.md#getpetbyid) | **GET** pet/{petId} | Find pet by ID
-*PetApi* | [**updatePet**](docs/PetApi.md#updatepet) | **PUT** pet | Update an existing pet
-*PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatepetwithform) | **POST** pet/{petId} | Updates a pet in the store with form data
-*PetApi* | [**uploadFile**](docs/PetApi.md#uploadfile) | **POST** pet/{petId}/uploadImage | uploads an image
-*StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteorder) | **DELETE** store/order/{orderId} | Delete purchase order by ID
-*StoreApi* | [**getInventory**](docs/StoreApi.md#getinventory) | **GET** store/inventory | Returns pet inventories by status
-*StoreApi* | [**getOrderById**](docs/StoreApi.md#getorderbyid) | **GET** store/order/{orderId} | Find purchase order by ID
-*StoreApi* | [**placeOrder**](docs/StoreApi.md#placeorder) | **POST** store/order | Place an order for a pet
-*UserApi* | [**createUser**](docs/UserApi.md#createuser) | **POST** user | Create user
-*UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createuserswitharrayinput) | **POST** user/createWithArray | Creates list of users with given input array
-*UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createuserswithlistinput) | **POST** user/createWithList | Creates list of users with given input array
-*UserApi* | [**deleteUser**](docs/UserApi.md#deleteuser) | **DELETE** user/{username} | Delete user
-*UserApi* | [**getUserByName**](docs/UserApi.md#getuserbyname) | **GET** user/{username} | Get user by user name
-*UserApi* | [**loginUser**](docs/UserApi.md#loginuser) | **GET** user/login | Logs user into the system
-*UserApi* | [**logoutUser**](docs/UserApi.md#logoutuser) | **GET** user/logout | Logs out current logged in user session
-*UserApi* | [**updateUser**](docs/UserApi.md#updateuser) | **PUT** user/{username} | Updated user
+| Class | Method | HTTP request | Description |
+| ------------ | ------------- | ------------- | ------------- |
+| *PetApi* | [**addPet**](docs/PetApi.md#addpet) | **POST** pet | Add a new pet to the store |
+| *PetApi* | [**deletePet**](docs/PetApi.md#deletepet) | **DELETE** pet/{petId} | Deletes a pet |
+| *PetApi* | [**findPetsByStatus**](docs/PetApi.md#findpetsbystatus) | **GET** pet/findByStatus | Finds Pets by status |
+| *PetApi* | [**findPetsByTags**](docs/PetApi.md#findpetsbytags) | **GET** pet/findByTags | Finds Pets by tags |
+| *PetApi* | [**getPetById**](docs/PetApi.md#getpetbyid) | **GET** pet/{petId} | Find pet by ID |
+| *PetApi* | [**updatePet**](docs/PetApi.md#updatepet) | **PUT** pet | Update an existing pet |
+| *PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatepetwithform) | **POST** pet/{petId} | Updates a pet in the store with form data |
+| *PetApi* | [**uploadFile**](docs/PetApi.md#uploadfile) | **POST** pet/{petId}/uploadImage | uploads an image |
+| *StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteorder) | **DELETE** store/order/{orderId} | Delete purchase order by ID |
+| *StoreApi* | [**getInventory**](docs/StoreApi.md#getinventory) | **GET** store/inventory | Returns pet inventories by status |
+| *StoreApi* | [**getOrderById**](docs/StoreApi.md#getorderbyid) | **GET** store/order/{orderId} | Find purchase order by ID |
+| *StoreApi* | [**placeOrder**](docs/StoreApi.md#placeorder) | **POST** store/order | Place an order for a pet |
+| *UserApi* | [**createUser**](docs/UserApi.md#createuser) | **POST** user | Create user |
+| *UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createuserswitharrayinput) | **POST** user/createWithArray | Creates list of users with given input array |
+| *UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createuserswithlistinput) | **POST** user/createWithList | Creates list of users with given input array |
+| *UserApi* | [**deleteUser**](docs/UserApi.md#deleteuser) | **DELETE** user/{username} | Delete user |
+| *UserApi* | [**getUserByName**](docs/UserApi.md#getuserbyname) | **GET** user/{username} | Get user by user name |
+| *UserApi* | [**loginUser**](docs/UserApi.md#loginuser) | **GET** user/login | Logs user into the system |
+| *UserApi* | [**logoutUser**](docs/UserApi.md#logoutuser) | **GET** user/logout | Logs out current logged in user session |
+| *UserApi* | [**updateUser**](docs/UserApi.md#updateuser) | **PUT** user/{username} | Updated user |
diff --git a/samples/client/petstore/kotlin-jvm-jackson/docs/ApiResponse.md b/samples/client/petstore/kotlin-jvm-jackson/docs/ApiResponse.md
index 12f08d5cdef0..059525a99512 100644
--- a/samples/client/petstore/kotlin-jvm-jackson/docs/ApiResponse.md
+++ b/samples/client/petstore/kotlin-jvm-jackson/docs/ApiResponse.md
@@ -2,11 +2,11 @@
# ModelApiResponse
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**code** | **kotlin.Int** | | [optional]
-**type** | **kotlin.String** | | [optional]
-**message** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **code** | **kotlin.Int** | | [optional] |
+| **type** | **kotlin.String** | | [optional] |
+| **message** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-jvm-jackson/docs/Category.md b/samples/client/petstore/kotlin-jvm-jackson/docs/Category.md
index 2c28a670fc79..baba5657eb21 100644
--- a/samples/client/petstore/kotlin-jvm-jackson/docs/Category.md
+++ b/samples/client/petstore/kotlin-jvm-jackson/docs/Category.md
@@ -2,10 +2,10 @@
# Category
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-jvm-jackson/docs/Order.md b/samples/client/petstore/kotlin-jvm-jackson/docs/Order.md
index c0c951b22d33..7b7a399f7f75 100644
--- a/samples/client/petstore/kotlin-jvm-jackson/docs/Order.md
+++ b/samples/client/petstore/kotlin-jvm-jackson/docs/Order.md
@@ -2,21 +2,21 @@
# Order
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**petId** | **kotlin.Long** | | [optional]
-**quantity** | **kotlin.Int** | | [optional]
-**shipDate** | [**java.time.OffsetDateTime**](java.time.OffsetDateTime.md) | | [optional]
-**status** | [**inline**](#Status) | Order Status | [optional]
-**complete** | **kotlin.Boolean** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **petId** | **kotlin.Long** | | [optional] |
+| **quantity** | **kotlin.Int** | | [optional] |
+| **shipDate** | [**java.time.OffsetDateTime**](java.time.OffsetDateTime.md) | | [optional] |
+| **status** | [**inline**](#Status) | Order Status | [optional] |
+| **complete** | **kotlin.Boolean** | | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | placed, approved, delivered
+| Name | Value |
+| ---- | ----- |
+| status | placed, approved, delivered |
diff --git a/samples/client/petstore/kotlin-jvm-jackson/docs/Pet.md b/samples/client/petstore/kotlin-jvm-jackson/docs/Pet.md
index da70fca06e65..287312efaf94 100644
--- a/samples/client/petstore/kotlin-jvm-jackson/docs/Pet.md
+++ b/samples/client/petstore/kotlin-jvm-jackson/docs/Pet.md
@@ -2,21 +2,21 @@
# Pet
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**name** | **kotlin.String** | |
-**photoUrls** | **kotlin.collections.List<kotlin.String>** | |
-**id** | **kotlin.Long** | | [optional]
-**category** | [**Category**](Category.md) | | [optional]
-**tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional]
-**status** | [**inline**](#Status) | pet status in the store | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **name** | **kotlin.String** | | |
+| **photoUrls** | **kotlin.collections.List<kotlin.String>** | | |
+| **id** | **kotlin.Long** | | [optional] |
+| **category** | [**Category**](Category.md) | | [optional] |
+| **tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional] |
+| **status** | [**inline**](#Status) | pet status in the store | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | available, pending, sold
+| Name | Value |
+| ---- | ----- |
+| status | available, pending, sold |
diff --git a/samples/client/petstore/kotlin-jvm-jackson/docs/PetApi.md b/samples/client/petstore/kotlin-jvm-jackson/docs/PetApi.md
index 0d9d5f4a8cb3..01ad4cac6196 100644
--- a/samples/client/petstore/kotlin-jvm-jackson/docs/PetApi.md
+++ b/samples/client/petstore/kotlin-jvm-jackson/docs/PetApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**addPet**](PetApi.md#addPet) | **POST** pet | Add a new pet to the store
-[**deletePet**](PetApi.md#deletePet) | **DELETE** pet/{petId} | Deletes a pet
-[**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** pet/findByStatus | Finds Pets by status
-[**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** pet/findByTags | Finds Pets by tags
-[**getPetById**](PetApi.md#getPetById) | **GET** pet/{petId} | Find pet by ID
-[**updatePet**](PetApi.md#updatePet) | **PUT** pet | Update an existing pet
-[**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** pet/{petId} | Updates a pet in the store with form data
-[**uploadFile**](PetApi.md#uploadFile) | **POST** pet/{petId}/uploadImage | uploads an image
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**addPet**](PetApi.md#addPet) | **POST** pet | Add a new pet to the store |
+| [**deletePet**](PetApi.md#deletePet) | **DELETE** pet/{petId} | Deletes a pet |
+| [**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** pet/findByStatus | Finds Pets by status |
+| [**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** pet/findByTags | Finds Pets by tags |
+| [**getPetById**](PetApi.md#getPetById) | **GET** pet/{petId} | Find pet by ID |
+| [**updatePet**](PetApi.md#updatePet) | **PUT** pet | Update an existing pet |
+| [**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** pet/{petId} | Updates a pet in the store with form data |
+| [**uploadFile**](PetApi.md#uploadFile) | **POST** pet/{petId}/uploadImage | uploads an image |
@@ -34,10 +34,9 @@ val result : Pet = webService.addPet(pet)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **pet** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **pet** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -73,11 +72,10 @@ webService.deletePet(petId, apiKey)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| Pet id to delete |
- **apiKey** | **kotlin.String**| | [optional]
+| **petId** | **kotlin.Long**| Pet id to delete | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **apiKey** | **kotlin.String**| | [optional] |
### Return type
@@ -112,10 +110,9 @@ val result : kotlin.collections.List = webService.findPetsByStatus(status)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **status** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [enum: available, pending, sold]
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **status** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [enum: available, pending, sold] |
### Return type
@@ -150,10 +147,9 @@ val result : kotlin.collections.List = webService.findPetsByTags(tags)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **tags** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Tags to filter by |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **tags** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Tags to filter by | |
### Return type
@@ -188,10 +184,9 @@ val result : Pet = webService.getPetById(petId)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet to return |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **petId** | **kotlin.Long**| ID of pet to return | |
### Return type
@@ -226,10 +221,9 @@ val result : Pet = webService.updatePet(pet)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **pet** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **pet** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -266,12 +260,11 @@ webService.updatePetWithForm(petId, name, status)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet that needs to be updated |
- **name** | **kotlin.String**| Updated name of the pet | [optional]
- **status** | **kotlin.String**| Updated status of the pet | [optional]
+| **petId** | **kotlin.Long**| ID of pet that needs to be updated | |
+| **name** | **kotlin.String**| Updated name of the pet | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **status** | **kotlin.String**| Updated status of the pet | [optional] |
### Return type
@@ -308,12 +301,11 @@ val result : ModelApiResponse = webService.uploadFile(petId, additionalMetadata,
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet to update |
- **additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional]
- **file** | **java.io.File**| file to upload | [optional]
+| **petId** | **kotlin.Long**| ID of pet to update | |
+| **additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **file** | **java.io.File**| file to upload | [optional] |
### Return type
diff --git a/samples/client/petstore/kotlin-jvm-jackson/docs/StoreApi.md b/samples/client/petstore/kotlin-jvm-jackson/docs/StoreApi.md
index 591623f8993a..34b0e0700a72 100644
--- a/samples/client/petstore/kotlin-jvm-jackson/docs/StoreApi.md
+++ b/samples/client/petstore/kotlin-jvm-jackson/docs/StoreApi.md
@@ -2,12 +2,12 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** store/order/{orderId} | Delete purchase order by ID
-[**getInventory**](StoreApi.md#getInventory) | **GET** store/inventory | Returns pet inventories by status
-[**getOrderById**](StoreApi.md#getOrderById) | **GET** store/order/{orderId} | Find purchase order by ID
-[**placeOrder**](StoreApi.md#placeOrder) | **POST** store/order | Place an order for a pet
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** store/order/{orderId} | Delete purchase order by ID |
+| [**getInventory**](StoreApi.md#getInventory) | **GET** store/inventory | Returns pet inventories by status |
+| [**getOrderById**](StoreApi.md#getOrderById) | **GET** store/order/{orderId} | Find purchase order by ID |
+| [**placeOrder**](StoreApi.md#placeOrder) | **POST** store/order | Place an order for a pet |
@@ -30,10 +30,9 @@ webService.deleteOrder(orderId)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **kotlin.String**| ID of the order that needs to be deleted |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **orderId** | **kotlin.String**| ID of the order that needs to be deleted | |
### Return type
@@ -102,10 +101,9 @@ val result : Order = webService.getOrderById(orderId)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **kotlin.Long**| ID of pet that needs to be fetched |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **orderId** | **kotlin.Long**| ID of pet that needs to be fetched | |
### Return type
@@ -140,10 +138,9 @@ val result : Order = webService.placeOrder(order)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **order** | [**Order**](Order.md)| order placed for purchasing the pet |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **order** | [**Order**](Order.md)| order placed for purchasing the pet | |
### Return type
diff --git a/samples/client/petstore/kotlin-jvm-jackson/docs/Tag.md b/samples/client/petstore/kotlin-jvm-jackson/docs/Tag.md
index 60ce1bcdbad3..dc8fa3cb555d 100644
--- a/samples/client/petstore/kotlin-jvm-jackson/docs/Tag.md
+++ b/samples/client/petstore/kotlin-jvm-jackson/docs/Tag.md
@@ -2,10 +2,10 @@
# Tag
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-jvm-jackson/docs/User.md b/samples/client/petstore/kotlin-jvm-jackson/docs/User.md
index e801729b5ed1..a9f35788637e 100644
--- a/samples/client/petstore/kotlin-jvm-jackson/docs/User.md
+++ b/samples/client/petstore/kotlin-jvm-jackson/docs/User.md
@@ -2,16 +2,16 @@
# User
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**username** | **kotlin.String** | | [optional]
-**firstName** | **kotlin.String** | | [optional]
-**lastName** | **kotlin.String** | | [optional]
-**email** | **kotlin.String** | | [optional]
-**password** | **kotlin.String** | | [optional]
-**phone** | **kotlin.String** | | [optional]
-**userStatus** | **kotlin.Int** | User Status | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **username** | **kotlin.String** | | [optional] |
+| **firstName** | **kotlin.String** | | [optional] |
+| **lastName** | **kotlin.String** | | [optional] |
+| **email** | **kotlin.String** | | [optional] |
+| **password** | **kotlin.String** | | [optional] |
+| **phone** | **kotlin.String** | | [optional] |
+| **userStatus** | **kotlin.Int** | User Status | [optional] |
diff --git a/samples/client/petstore/kotlin-jvm-jackson/docs/UserApi.md b/samples/client/petstore/kotlin-jvm-jackson/docs/UserApi.md
index 0d238432fd61..20a1ac7703b4 100644
--- a/samples/client/petstore/kotlin-jvm-jackson/docs/UserApi.md
+++ b/samples/client/petstore/kotlin-jvm-jackson/docs/UserApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**createUser**](UserApi.md#createUser) | **POST** user | Create user
-[**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** user/createWithArray | Creates list of users with given input array
-[**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** user/createWithList | Creates list of users with given input array
-[**deleteUser**](UserApi.md#deleteUser) | **DELETE** user/{username} | Delete user
-[**getUserByName**](UserApi.md#getUserByName) | **GET** user/{username} | Get user by user name
-[**loginUser**](UserApi.md#loginUser) | **GET** user/login | Logs user into the system
-[**logoutUser**](UserApi.md#logoutUser) | **GET** user/logout | Logs out current logged in user session
-[**updateUser**](UserApi.md#updateUser) | **PUT** user/{username} | Updated user
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**createUser**](UserApi.md#createUser) | **POST** user | Create user |
+| [**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** user/createWithArray | Creates list of users with given input array |
+| [**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** user/createWithList | Creates list of users with given input array |
+| [**deleteUser**](UserApi.md#deleteUser) | **DELETE** user/{username} | Delete user |
+| [**getUserByName**](UserApi.md#getUserByName) | **GET** user/{username} | Get user by user name |
+| [**loginUser**](UserApi.md#loginUser) | **GET** user/login | Logs user into the system |
+| [**logoutUser**](UserApi.md#logoutUser) | **GET** user/logout | Logs out current logged in user session |
+| [**updateUser**](UserApi.md#updateUser) | **PUT** user/{username} | Updated user |
@@ -34,10 +34,9 @@ webService.createUser(user)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **user** | [**User**](User.md)| Created user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **user** | [**User**](User.md)| Created user object | |
### Return type
@@ -72,10 +71,9 @@ webService.createUsersWithArrayInput(user)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **user** | [**kotlin.collections.List<User>**](User.md)| List of user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **user** | [**kotlin.collections.List<User>**](User.md)| List of user object | |
### Return type
@@ -110,10 +108,9 @@ webService.createUsersWithListInput(user)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **user** | [**kotlin.collections.List<User>**](User.md)| List of user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **user** | [**kotlin.collections.List<User>**](User.md)| List of user object | |
### Return type
@@ -148,10 +145,9 @@ webService.deleteUser(username)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The name that needs to be deleted |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String**| The name that needs to be deleted | |
### Return type
@@ -186,10 +182,9 @@ val result : User = webService.getUserByName(username)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. | |
### Return type
@@ -225,11 +220,10 @@ val result : kotlin.String = webService.loginUser(username, password)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The user name for login |
- **password** | **kotlin.String**| The password for login in clear text |
+| **username** | **kotlin.String**| The user name for login | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **password** | **kotlin.String**| The password for login in clear text | |
### Return type
@@ -299,11 +293,10 @@ webService.updateUser(username, user)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| name that need to be deleted |
- **user** | [**User**](User.md)| Updated user object |
+| **username** | **kotlin.String**| name that need to be deleted | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **user** | [**User**](User.md)| Updated user object | |
### Return type
diff --git a/samples/client/petstore/kotlin-jvm-jackson/src/main/kotlin/org/openapitools/client/models/Category.kt b/samples/client/petstore/kotlin-jvm-jackson/src/main/kotlin/org/openapitools/client/models/Category.kt
index ff41aedca0bf..6ea4e930c6c2 100644
--- a/samples/client/petstore/kotlin-jvm-jackson/src/main/kotlin/org/openapitools/client/models/Category.kt
+++ b/samples/client/petstore/kotlin-jvm-jackson/src/main/kotlin/org/openapitools/client/models/Category.kt
@@ -35,5 +35,8 @@ data class Category (
@field:JsonProperty("name")
val name: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-jvm-jackson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt b/samples/client/petstore/kotlin-jvm-jackson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
index 2a59a8f3acdb..cbd86808f1e9 100644
--- a/samples/client/petstore/kotlin-jvm-jackson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
+++ b/samples/client/petstore/kotlin-jvm-jackson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
@@ -39,5 +39,8 @@ data class ModelApiResponse (
@field:JsonProperty("message")
val message: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-jvm-jackson/src/main/kotlin/org/openapitools/client/models/Order.kt b/samples/client/petstore/kotlin-jvm-jackson/src/main/kotlin/org/openapitools/client/models/Order.kt
index ded639bcd589..e49bdfc04899 100644
--- a/samples/client/petstore/kotlin-jvm-jackson/src/main/kotlin/org/openapitools/client/models/Order.kt
+++ b/samples/client/petstore/kotlin-jvm-jackson/src/main/kotlin/org/openapitools/client/models/Order.kt
@@ -65,5 +65,6 @@ data class Order (
@JsonProperty(value = "delivered") delivered("delivered"),
@JsonProperty(value = "unknown_default_open_api") @JsonEnumDefaultValue unknown_default_open_api("unknown_default_open_api");
}
+
}
diff --git a/samples/client/petstore/kotlin-jvm-jackson/src/main/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/petstore/kotlin-jvm-jackson/src/main/kotlin/org/openapitools/client/models/Pet.kt
index 62240499eb93..1b7f870840fd 100644
--- a/samples/client/petstore/kotlin-jvm-jackson/src/main/kotlin/org/openapitools/client/models/Pet.kt
+++ b/samples/client/petstore/kotlin-jvm-jackson/src/main/kotlin/org/openapitools/client/models/Pet.kt
@@ -68,5 +68,6 @@ data class Pet (
@JsonProperty(value = "sold") sold("sold"),
@JsonProperty(value = "unknown_default_open_api") @JsonEnumDefaultValue unknown_default_open_api("unknown_default_open_api");
}
+
}
diff --git a/samples/client/petstore/kotlin-jvm-jackson/src/main/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/petstore/kotlin-jvm-jackson/src/main/kotlin/org/openapitools/client/models/Tag.kt
index bfff056241ca..e0b2095ca18d 100644
--- a/samples/client/petstore/kotlin-jvm-jackson/src/main/kotlin/org/openapitools/client/models/Tag.kt
+++ b/samples/client/petstore/kotlin-jvm-jackson/src/main/kotlin/org/openapitools/client/models/Tag.kt
@@ -35,5 +35,8 @@ data class Tag (
@field:JsonProperty("name")
val name: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-jvm-jackson/src/main/kotlin/org/openapitools/client/models/User.kt b/samples/client/petstore/kotlin-jvm-jackson/src/main/kotlin/org/openapitools/client/models/User.kt
index 48cabe858981..fa771a986f24 100644
--- a/samples/client/petstore/kotlin-jvm-jackson/src/main/kotlin/org/openapitools/client/models/User.kt
+++ b/samples/client/petstore/kotlin-jvm-jackson/src/main/kotlin/org/openapitools/client/models/User.kt
@@ -60,5 +60,8 @@ data class User (
@field:JsonProperty("userStatus")
val userStatus: kotlin.Int? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-jvm-ktor-gson/README.md b/samples/client/petstore/kotlin-jvm-ktor-gson/README.md
index e4e111438878..f1cf0031b0c9 100644
--- a/samples/client/petstore/kotlin-jvm-ktor-gson/README.md
+++ b/samples/client/petstore/kotlin-jvm-ktor-gson/README.md
@@ -43,28 +43,28 @@ This runs all tests and packages the library.
All URIs are relative to *http://petstore.swagger.io/v2*
-Class | Method | HTTP request | Description
------------- | ------------- | ------------- | -------------
-*PetApi* | [**addPet**](docs/PetApi.md#addpet) | **POST** /pet | Add a new pet to the store
-*PetApi* | [**deletePet**](docs/PetApi.md#deletepet) | **DELETE** /pet/{petId} | Deletes a pet
-*PetApi* | [**findPetsByStatus**](docs/PetApi.md#findpetsbystatus) | **GET** /pet/findByStatus | Finds Pets by status
-*PetApi* | [**findPetsByTags**](docs/PetApi.md#findpetsbytags) | **GET** /pet/findByTags | Finds Pets by tags
-*PetApi* | [**getPetById**](docs/PetApi.md#getpetbyid) | **GET** /pet/{petId} | Find pet by ID
-*PetApi* | [**updatePet**](docs/PetApi.md#updatepet) | **PUT** /pet | Update an existing pet
-*PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatepetwithform) | **POST** /pet/{petId} | Updates a pet in the store with form data
-*PetApi* | [**uploadFile**](docs/PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image
-*StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteorder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID
-*StoreApi* | [**getInventory**](docs/StoreApi.md#getinventory) | **GET** /store/inventory | Returns pet inventories by status
-*StoreApi* | [**getOrderById**](docs/StoreApi.md#getorderbyid) | **GET** /store/order/{orderId} | Find purchase order by ID
-*StoreApi* | [**placeOrder**](docs/StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet
-*UserApi* | [**createUser**](docs/UserApi.md#createuser) | **POST** /user | Create user
-*UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createuserswitharrayinput) | **POST** /user/createWithArray | Creates list of users with given input array
-*UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createuserswithlistinput) | **POST** /user/createWithList | Creates list of users with given input array
-*UserApi* | [**deleteUser**](docs/UserApi.md#deleteuser) | **DELETE** /user/{username} | Delete user
-*UserApi* | [**getUserByName**](docs/UserApi.md#getuserbyname) | **GET** /user/{username} | Get user by user name
-*UserApi* | [**loginUser**](docs/UserApi.md#loginuser) | **GET** /user/login | Logs user into the system
-*UserApi* | [**logoutUser**](docs/UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session
-*UserApi* | [**updateUser**](docs/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user
+| Class | Method | HTTP request | Description |
+| ------------ | ------------- | ------------- | ------------- |
+| *PetApi* | [**addPet**](docs/PetApi.md#addpet) | **POST** /pet | Add a new pet to the store |
+| *PetApi* | [**deletePet**](docs/PetApi.md#deletepet) | **DELETE** /pet/{petId} | Deletes a pet |
+| *PetApi* | [**findPetsByStatus**](docs/PetApi.md#findpetsbystatus) | **GET** /pet/findByStatus | Finds Pets by status |
+| *PetApi* | [**findPetsByTags**](docs/PetApi.md#findpetsbytags) | **GET** /pet/findByTags | Finds Pets by tags |
+| *PetApi* | [**getPetById**](docs/PetApi.md#getpetbyid) | **GET** /pet/{petId} | Find pet by ID |
+| *PetApi* | [**updatePet**](docs/PetApi.md#updatepet) | **PUT** /pet | Update an existing pet |
+| *PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatepetwithform) | **POST** /pet/{petId} | Updates a pet in the store with form data |
+| *PetApi* | [**uploadFile**](docs/PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image |
+| *StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteorder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID |
+| *StoreApi* | [**getInventory**](docs/StoreApi.md#getinventory) | **GET** /store/inventory | Returns pet inventories by status |
+| *StoreApi* | [**getOrderById**](docs/StoreApi.md#getorderbyid) | **GET** /store/order/{orderId} | Find purchase order by ID |
+| *StoreApi* | [**placeOrder**](docs/StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet |
+| *UserApi* | [**createUser**](docs/UserApi.md#createuser) | **POST** /user | Create user |
+| *UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createuserswitharrayinput) | **POST** /user/createWithArray | Creates list of users with given input array |
+| *UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createuserswithlistinput) | **POST** /user/createWithList | Creates list of users with given input array |
+| *UserApi* | [**deleteUser**](docs/UserApi.md#deleteuser) | **DELETE** /user/{username} | Delete user |
+| *UserApi* | [**getUserByName**](docs/UserApi.md#getuserbyname) | **GET** /user/{username} | Get user by user name |
+| *UserApi* | [**loginUser**](docs/UserApi.md#loginuser) | **GET** /user/login | Logs user into the system |
+| *UserApi* | [**logoutUser**](docs/UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session |
+| *UserApi* | [**updateUser**](docs/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user |
diff --git a/samples/client/petstore/kotlin-jvm-ktor-gson/docs/ApiResponse.md b/samples/client/petstore/kotlin-jvm-ktor-gson/docs/ApiResponse.md
index 12f08d5cdef0..059525a99512 100644
--- a/samples/client/petstore/kotlin-jvm-ktor-gson/docs/ApiResponse.md
+++ b/samples/client/petstore/kotlin-jvm-ktor-gson/docs/ApiResponse.md
@@ -2,11 +2,11 @@
# ModelApiResponse
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**code** | **kotlin.Int** | | [optional]
-**type** | **kotlin.String** | | [optional]
-**message** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **code** | **kotlin.Int** | | [optional] |
+| **type** | **kotlin.String** | | [optional] |
+| **message** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-jvm-ktor-gson/docs/Category.md b/samples/client/petstore/kotlin-jvm-ktor-gson/docs/Category.md
index 2c28a670fc79..baba5657eb21 100644
--- a/samples/client/petstore/kotlin-jvm-ktor-gson/docs/Category.md
+++ b/samples/client/petstore/kotlin-jvm-ktor-gson/docs/Category.md
@@ -2,10 +2,10 @@
# Category
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-jvm-ktor-gson/docs/Order.md b/samples/client/petstore/kotlin-jvm-ktor-gson/docs/Order.md
index c0c951b22d33..7b7a399f7f75 100644
--- a/samples/client/petstore/kotlin-jvm-ktor-gson/docs/Order.md
+++ b/samples/client/petstore/kotlin-jvm-ktor-gson/docs/Order.md
@@ -2,21 +2,21 @@
# Order
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**petId** | **kotlin.Long** | | [optional]
-**quantity** | **kotlin.Int** | | [optional]
-**shipDate** | [**java.time.OffsetDateTime**](java.time.OffsetDateTime.md) | | [optional]
-**status** | [**inline**](#Status) | Order Status | [optional]
-**complete** | **kotlin.Boolean** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **petId** | **kotlin.Long** | | [optional] |
+| **quantity** | **kotlin.Int** | | [optional] |
+| **shipDate** | [**java.time.OffsetDateTime**](java.time.OffsetDateTime.md) | | [optional] |
+| **status** | [**inline**](#Status) | Order Status | [optional] |
+| **complete** | **kotlin.Boolean** | | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | placed, approved, delivered
+| Name | Value |
+| ---- | ----- |
+| status | placed, approved, delivered |
diff --git a/samples/client/petstore/kotlin-jvm-ktor-gson/docs/Pet.md b/samples/client/petstore/kotlin-jvm-ktor-gson/docs/Pet.md
index da70fca06e65..287312efaf94 100644
--- a/samples/client/petstore/kotlin-jvm-ktor-gson/docs/Pet.md
+++ b/samples/client/petstore/kotlin-jvm-ktor-gson/docs/Pet.md
@@ -2,21 +2,21 @@
# Pet
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**name** | **kotlin.String** | |
-**photoUrls** | **kotlin.collections.List<kotlin.String>** | |
-**id** | **kotlin.Long** | | [optional]
-**category** | [**Category**](Category.md) | | [optional]
-**tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional]
-**status** | [**inline**](#Status) | pet status in the store | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **name** | **kotlin.String** | | |
+| **photoUrls** | **kotlin.collections.List<kotlin.String>** | | |
+| **id** | **kotlin.Long** | | [optional] |
+| **category** | [**Category**](Category.md) | | [optional] |
+| **tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional] |
+| **status** | [**inline**](#Status) | pet status in the store | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | available, pending, sold
+| Name | Value |
+| ---- | ----- |
+| status | available, pending, sold |
diff --git a/samples/client/petstore/kotlin-jvm-ktor-gson/docs/PetApi.md b/samples/client/petstore/kotlin-jvm-ktor-gson/docs/PetApi.md
index 851879ed2f4d..94d0a303a876 100644
--- a/samples/client/petstore/kotlin-jvm-ktor-gson/docs/PetApi.md
+++ b/samples/client/petstore/kotlin-jvm-ktor-gson/docs/PetApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**addPet**](PetApi.md#addPet) | **POST** /pet | Add a new pet to the store
-[**deletePet**](PetApi.md#deletePet) | **DELETE** /pet/{petId} | Deletes a pet
-[**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** /pet/findByStatus | Finds Pets by status
-[**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** /pet/findByTags | Finds Pets by tags
-[**getPetById**](PetApi.md#getPetById) | **GET** /pet/{petId} | Find pet by ID
-[**updatePet**](PetApi.md#updatePet) | **PUT** /pet | Update an existing pet
-[**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** /pet/{petId} | Updates a pet in the store with form data
-[**uploadFile**](PetApi.md#uploadFile) | **POST** /pet/{petId}/uploadImage | uploads an image
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**addPet**](PetApi.md#addPet) | **POST** /pet | Add a new pet to the store |
+| [**deletePet**](PetApi.md#deletePet) | **DELETE** /pet/{petId} | Deletes a pet |
+| [**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** /pet/findByStatus | Finds Pets by status |
+| [**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** /pet/findByTags | Finds Pets by tags |
+| [**getPetById**](PetApi.md#getPetById) | **GET** /pet/{petId} | Find pet by ID |
+| [**updatePet**](PetApi.md#updatePet) | **PUT** /pet | Update an existing pet |
+| [**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** /pet/{petId} | Updates a pet in the store with form data |
+| [**uploadFile**](PetApi.md#uploadFile) | **POST** /pet/{petId}/uploadImage | uploads an image |
@@ -40,10 +40,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -87,11 +86,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| Pet id to delete |
- **apiKey** | **kotlin.String**| | [optional]
+| **petId** | **kotlin.Long**| Pet id to delete | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **apiKey** | **kotlin.String**| | [optional] |
### Return type
@@ -137,10 +135,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **status** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [enum: available, pending, sold]
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **status** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [enum: available, pending, sold] |
### Return type
@@ -186,10 +183,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **tags** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Tags to filter by |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **tags** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Tags to filter by | |
### Return type
@@ -235,10 +231,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet to return |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **petId** | **kotlin.Long**| ID of pet to return | |
### Return type
@@ -282,10 +277,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -330,12 +324,11 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet that needs to be updated |
- **name** | **kotlin.String**| Updated name of the pet | [optional]
- **status** | **kotlin.String**| Updated status of the pet | [optional]
+| **petId** | **kotlin.Long**| ID of pet that needs to be updated | |
+| **name** | **kotlin.String**| Updated name of the pet | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **status** | **kotlin.String**| Updated status of the pet | [optional] |
### Return type
@@ -381,12 +374,11 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet to update |
- **additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional]
- **file** | **io.ktor.client.request.forms.InputProvider**| file to upload | [optional]
+| **petId** | **kotlin.Long**| ID of pet to update | |
+| **additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **file** | **io.ktor.client.request.forms.InputProvider**| file to upload | [optional] |
### Return type
diff --git a/samples/client/petstore/kotlin-jvm-ktor-gson/docs/StoreApi.md b/samples/client/petstore/kotlin-jvm-ktor-gson/docs/StoreApi.md
index d111b2911d7e..27694e9e7100 100644
--- a/samples/client/petstore/kotlin-jvm-ktor-gson/docs/StoreApi.md
+++ b/samples/client/petstore/kotlin-jvm-ktor-gson/docs/StoreApi.md
@@ -2,12 +2,12 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID
-[**getInventory**](StoreApi.md#getInventory) | **GET** /store/inventory | Returns pet inventories by status
-[**getOrderById**](StoreApi.md#getOrderById) | **GET** /store/order/{orderId} | Find purchase order by ID
-[**placeOrder**](StoreApi.md#placeOrder) | **POST** /store/order | Place an order for a pet
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID |
+| [**getInventory**](StoreApi.md#getInventory) | **GET** /store/inventory | Returns pet inventories by status |
+| [**getOrderById**](StoreApi.md#getOrderById) | **GET** /store/order/{orderId} | Find purchase order by ID |
+| [**placeOrder**](StoreApi.md#placeOrder) | **POST** /store/order | Place an order for a pet |
@@ -38,10 +38,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **kotlin.String**| ID of the order that needs to be deleted |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **orderId** | **kotlin.String**| ID of the order that needs to be deleted | |
### Return type
@@ -131,10 +130,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **kotlin.Long**| ID of pet that needs to be fetched |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **orderId** | **kotlin.Long**| ID of pet that needs to be fetched | |
### Return type
@@ -176,10 +174,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**Order**](Order.md)| order placed for purchasing the pet |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**Order**](Order.md)| order placed for purchasing the pet | |
### Return type
diff --git a/samples/client/petstore/kotlin-jvm-ktor-gson/docs/Tag.md b/samples/client/petstore/kotlin-jvm-ktor-gson/docs/Tag.md
index 60ce1bcdbad3..dc8fa3cb555d 100644
--- a/samples/client/petstore/kotlin-jvm-ktor-gson/docs/Tag.md
+++ b/samples/client/petstore/kotlin-jvm-ktor-gson/docs/Tag.md
@@ -2,10 +2,10 @@
# Tag
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-jvm-ktor-gson/docs/User.md b/samples/client/petstore/kotlin-jvm-ktor-gson/docs/User.md
index e801729b5ed1..a9f35788637e 100644
--- a/samples/client/petstore/kotlin-jvm-ktor-gson/docs/User.md
+++ b/samples/client/petstore/kotlin-jvm-ktor-gson/docs/User.md
@@ -2,16 +2,16 @@
# User
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**username** | **kotlin.String** | | [optional]
-**firstName** | **kotlin.String** | | [optional]
-**lastName** | **kotlin.String** | | [optional]
-**email** | **kotlin.String** | | [optional]
-**password** | **kotlin.String** | | [optional]
-**phone** | **kotlin.String** | | [optional]
-**userStatus** | **kotlin.Int** | User Status | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **username** | **kotlin.String** | | [optional] |
+| **firstName** | **kotlin.String** | | [optional] |
+| **lastName** | **kotlin.String** | | [optional] |
+| **email** | **kotlin.String** | | [optional] |
+| **password** | **kotlin.String** | | [optional] |
+| **phone** | **kotlin.String** | | [optional] |
+| **userStatus** | **kotlin.Int** | User Status | [optional] |
diff --git a/samples/client/petstore/kotlin-jvm-ktor-gson/docs/UserApi.md b/samples/client/petstore/kotlin-jvm-ktor-gson/docs/UserApi.md
index afcdb070dbbd..6a4403972b4d 100644
--- a/samples/client/petstore/kotlin-jvm-ktor-gson/docs/UserApi.md
+++ b/samples/client/petstore/kotlin-jvm-ktor-gson/docs/UserApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**createUser**](UserApi.md#createUser) | **POST** /user | Create user
-[**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** /user/createWithArray | Creates list of users with given input array
-[**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** /user/createWithList | Creates list of users with given input array
-[**deleteUser**](UserApi.md#deleteUser) | **DELETE** /user/{username} | Delete user
-[**getUserByName**](UserApi.md#getUserByName) | **GET** /user/{username} | Get user by user name
-[**loginUser**](UserApi.md#loginUser) | **GET** /user/login | Logs user into the system
-[**logoutUser**](UserApi.md#logoutUser) | **GET** /user/logout | Logs out current logged in user session
-[**updateUser**](UserApi.md#updateUser) | **PUT** /user/{username} | Updated user
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**createUser**](UserApi.md#createUser) | **POST** /user | Create user |
+| [**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** /user/createWithArray | Creates list of users with given input array |
+| [**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** /user/createWithList | Creates list of users with given input array |
+| [**deleteUser**](UserApi.md#deleteUser) | **DELETE** /user/{username} | Delete user |
+| [**getUserByName**](UserApi.md#getUserByName) | **GET** /user/{username} | Get user by user name |
+| [**loginUser**](UserApi.md#loginUser) | **GET** /user/login | Logs user into the system |
+| [**logoutUser**](UserApi.md#logoutUser) | **GET** /user/logout | Logs out current logged in user session |
+| [**updateUser**](UserApi.md#updateUser) | **PUT** /user/{username} | Updated user |
@@ -42,10 +42,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**User**](User.md)| Created user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**User**](User.md)| Created user object | |
### Return type
@@ -86,10 +85,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**kotlin.collections.List<User>**](User.md)| List of user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**kotlin.collections.List<User>**](User.md)| List of user object | |
### Return type
@@ -130,10 +128,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**kotlin.collections.List<User>**](User.md)| List of user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**kotlin.collections.List<User>**](User.md)| List of user object | |
### Return type
@@ -176,10 +173,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The name that needs to be deleted |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String**| The name that needs to be deleted | |
### Return type
@@ -221,10 +217,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. | |
### Return type
@@ -267,11 +262,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The user name for login |
- **password** | **kotlin.String**| The password for login in clear text |
+| **username** | **kotlin.String**| The user name for login | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **password** | **kotlin.String**| The password for login in clear text | |
### Return type
@@ -355,11 +349,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| name that need to be deleted |
- **body** | [**User**](User.md)| Updated user object |
+| **username** | **kotlin.String**| name that need to be deleted | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**User**](User.md)| Updated user object | |
### Return type
diff --git a/samples/client/petstore/kotlin-jvm-ktor-gson/src/main/kotlin/org/openapitools/client/models/Category.kt b/samples/client/petstore/kotlin-jvm-ktor-gson/src/main/kotlin/org/openapitools/client/models/Category.kt
index 2601d6552e70..87eacb1365a5 100644
--- a/samples/client/petstore/kotlin-jvm-ktor-gson/src/main/kotlin/org/openapitools/client/models/Category.kt
+++ b/samples/client/petstore/kotlin-jvm-ktor-gson/src/main/kotlin/org/openapitools/client/models/Category.kt
@@ -34,5 +34,8 @@ data class Category (
@SerializedName("name")
val name: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-jvm-ktor-gson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt b/samples/client/petstore/kotlin-jvm-ktor-gson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
index 683e7501919d..fe2d51d4ef04 100644
--- a/samples/client/petstore/kotlin-jvm-ktor-gson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
+++ b/samples/client/petstore/kotlin-jvm-ktor-gson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
@@ -38,5 +38,8 @@ data class ModelApiResponse (
@SerializedName("message")
val message: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-jvm-ktor-gson/src/main/kotlin/org/openapitools/client/models/Order.kt b/samples/client/petstore/kotlin-jvm-ktor-gson/src/main/kotlin/org/openapitools/client/models/Order.kt
index 5c99ae176b00..156297028fcd 100644
--- a/samples/client/petstore/kotlin-jvm-ktor-gson/src/main/kotlin/org/openapitools/client/models/Order.kt
+++ b/samples/client/petstore/kotlin-jvm-ktor-gson/src/main/kotlin/org/openapitools/client/models/Order.kt
@@ -64,5 +64,6 @@ data class Order (
@SerializedName(value = "delivered") delivered("delivered"),
@SerializedName(value = "unknown_default_open_api") unknown_default_open_api("unknown_default_open_api");
}
+
}
diff --git a/samples/client/petstore/kotlin-jvm-ktor-gson/src/main/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/petstore/kotlin-jvm-ktor-gson/src/main/kotlin/org/openapitools/client/models/Pet.kt
index 3cedacbde972..47a0509474c8 100644
--- a/samples/client/petstore/kotlin-jvm-ktor-gson/src/main/kotlin/org/openapitools/client/models/Pet.kt
+++ b/samples/client/petstore/kotlin-jvm-ktor-gson/src/main/kotlin/org/openapitools/client/models/Pet.kt
@@ -66,5 +66,6 @@ data class Pet (
@SerializedName(value = "sold") sold("sold"),
@SerializedName(value = "unknown_default_open_api") unknown_default_open_api("unknown_default_open_api");
}
+
}
diff --git a/samples/client/petstore/kotlin-jvm-ktor-gson/src/main/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/petstore/kotlin-jvm-ktor-gson/src/main/kotlin/org/openapitools/client/models/Tag.kt
index c2962c214a1a..f66db9ea55e8 100644
--- a/samples/client/petstore/kotlin-jvm-ktor-gson/src/main/kotlin/org/openapitools/client/models/Tag.kt
+++ b/samples/client/petstore/kotlin-jvm-ktor-gson/src/main/kotlin/org/openapitools/client/models/Tag.kt
@@ -34,5 +34,8 @@ data class Tag (
@SerializedName("name")
val name: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-jvm-ktor-gson/src/main/kotlin/org/openapitools/client/models/User.kt b/samples/client/petstore/kotlin-jvm-ktor-gson/src/main/kotlin/org/openapitools/client/models/User.kt
index 8c93d094308e..62b3ce81f9bf 100644
--- a/samples/client/petstore/kotlin-jvm-ktor-gson/src/main/kotlin/org/openapitools/client/models/User.kt
+++ b/samples/client/petstore/kotlin-jvm-ktor-gson/src/main/kotlin/org/openapitools/client/models/User.kt
@@ -59,5 +59,8 @@ data class User (
@SerializedName("userStatus")
val userStatus: kotlin.Int? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-jvm-ktor-jackson/README.md b/samples/client/petstore/kotlin-jvm-ktor-jackson/README.md
index e4e111438878..f1cf0031b0c9 100644
--- a/samples/client/petstore/kotlin-jvm-ktor-jackson/README.md
+++ b/samples/client/petstore/kotlin-jvm-ktor-jackson/README.md
@@ -43,28 +43,28 @@ This runs all tests and packages the library.
All URIs are relative to *http://petstore.swagger.io/v2*
-Class | Method | HTTP request | Description
------------- | ------------- | ------------- | -------------
-*PetApi* | [**addPet**](docs/PetApi.md#addpet) | **POST** /pet | Add a new pet to the store
-*PetApi* | [**deletePet**](docs/PetApi.md#deletepet) | **DELETE** /pet/{petId} | Deletes a pet
-*PetApi* | [**findPetsByStatus**](docs/PetApi.md#findpetsbystatus) | **GET** /pet/findByStatus | Finds Pets by status
-*PetApi* | [**findPetsByTags**](docs/PetApi.md#findpetsbytags) | **GET** /pet/findByTags | Finds Pets by tags
-*PetApi* | [**getPetById**](docs/PetApi.md#getpetbyid) | **GET** /pet/{petId} | Find pet by ID
-*PetApi* | [**updatePet**](docs/PetApi.md#updatepet) | **PUT** /pet | Update an existing pet
-*PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatepetwithform) | **POST** /pet/{petId} | Updates a pet in the store with form data
-*PetApi* | [**uploadFile**](docs/PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image
-*StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteorder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID
-*StoreApi* | [**getInventory**](docs/StoreApi.md#getinventory) | **GET** /store/inventory | Returns pet inventories by status
-*StoreApi* | [**getOrderById**](docs/StoreApi.md#getorderbyid) | **GET** /store/order/{orderId} | Find purchase order by ID
-*StoreApi* | [**placeOrder**](docs/StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet
-*UserApi* | [**createUser**](docs/UserApi.md#createuser) | **POST** /user | Create user
-*UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createuserswitharrayinput) | **POST** /user/createWithArray | Creates list of users with given input array
-*UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createuserswithlistinput) | **POST** /user/createWithList | Creates list of users with given input array
-*UserApi* | [**deleteUser**](docs/UserApi.md#deleteuser) | **DELETE** /user/{username} | Delete user
-*UserApi* | [**getUserByName**](docs/UserApi.md#getuserbyname) | **GET** /user/{username} | Get user by user name
-*UserApi* | [**loginUser**](docs/UserApi.md#loginuser) | **GET** /user/login | Logs user into the system
-*UserApi* | [**logoutUser**](docs/UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session
-*UserApi* | [**updateUser**](docs/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user
+| Class | Method | HTTP request | Description |
+| ------------ | ------------- | ------------- | ------------- |
+| *PetApi* | [**addPet**](docs/PetApi.md#addpet) | **POST** /pet | Add a new pet to the store |
+| *PetApi* | [**deletePet**](docs/PetApi.md#deletepet) | **DELETE** /pet/{petId} | Deletes a pet |
+| *PetApi* | [**findPetsByStatus**](docs/PetApi.md#findpetsbystatus) | **GET** /pet/findByStatus | Finds Pets by status |
+| *PetApi* | [**findPetsByTags**](docs/PetApi.md#findpetsbytags) | **GET** /pet/findByTags | Finds Pets by tags |
+| *PetApi* | [**getPetById**](docs/PetApi.md#getpetbyid) | **GET** /pet/{petId} | Find pet by ID |
+| *PetApi* | [**updatePet**](docs/PetApi.md#updatepet) | **PUT** /pet | Update an existing pet |
+| *PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatepetwithform) | **POST** /pet/{petId} | Updates a pet in the store with form data |
+| *PetApi* | [**uploadFile**](docs/PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image |
+| *StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteorder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID |
+| *StoreApi* | [**getInventory**](docs/StoreApi.md#getinventory) | **GET** /store/inventory | Returns pet inventories by status |
+| *StoreApi* | [**getOrderById**](docs/StoreApi.md#getorderbyid) | **GET** /store/order/{orderId} | Find purchase order by ID |
+| *StoreApi* | [**placeOrder**](docs/StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet |
+| *UserApi* | [**createUser**](docs/UserApi.md#createuser) | **POST** /user | Create user |
+| *UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createuserswitharrayinput) | **POST** /user/createWithArray | Creates list of users with given input array |
+| *UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createuserswithlistinput) | **POST** /user/createWithList | Creates list of users with given input array |
+| *UserApi* | [**deleteUser**](docs/UserApi.md#deleteuser) | **DELETE** /user/{username} | Delete user |
+| *UserApi* | [**getUserByName**](docs/UserApi.md#getuserbyname) | **GET** /user/{username} | Get user by user name |
+| *UserApi* | [**loginUser**](docs/UserApi.md#loginuser) | **GET** /user/login | Logs user into the system |
+| *UserApi* | [**logoutUser**](docs/UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session |
+| *UserApi* | [**updateUser**](docs/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user |
diff --git a/samples/client/petstore/kotlin-jvm-ktor-jackson/docs/ApiResponse.md b/samples/client/petstore/kotlin-jvm-ktor-jackson/docs/ApiResponse.md
index 12f08d5cdef0..059525a99512 100644
--- a/samples/client/petstore/kotlin-jvm-ktor-jackson/docs/ApiResponse.md
+++ b/samples/client/petstore/kotlin-jvm-ktor-jackson/docs/ApiResponse.md
@@ -2,11 +2,11 @@
# ModelApiResponse
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**code** | **kotlin.Int** | | [optional]
-**type** | **kotlin.String** | | [optional]
-**message** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **code** | **kotlin.Int** | | [optional] |
+| **type** | **kotlin.String** | | [optional] |
+| **message** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-jvm-ktor-jackson/docs/Category.md b/samples/client/petstore/kotlin-jvm-ktor-jackson/docs/Category.md
index 2c28a670fc79..baba5657eb21 100644
--- a/samples/client/petstore/kotlin-jvm-ktor-jackson/docs/Category.md
+++ b/samples/client/petstore/kotlin-jvm-ktor-jackson/docs/Category.md
@@ -2,10 +2,10 @@
# Category
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-jvm-ktor-jackson/docs/Order.md b/samples/client/petstore/kotlin-jvm-ktor-jackson/docs/Order.md
index c0c951b22d33..7b7a399f7f75 100644
--- a/samples/client/petstore/kotlin-jvm-ktor-jackson/docs/Order.md
+++ b/samples/client/petstore/kotlin-jvm-ktor-jackson/docs/Order.md
@@ -2,21 +2,21 @@
# Order
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**petId** | **kotlin.Long** | | [optional]
-**quantity** | **kotlin.Int** | | [optional]
-**shipDate** | [**java.time.OffsetDateTime**](java.time.OffsetDateTime.md) | | [optional]
-**status** | [**inline**](#Status) | Order Status | [optional]
-**complete** | **kotlin.Boolean** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **petId** | **kotlin.Long** | | [optional] |
+| **quantity** | **kotlin.Int** | | [optional] |
+| **shipDate** | [**java.time.OffsetDateTime**](java.time.OffsetDateTime.md) | | [optional] |
+| **status** | [**inline**](#Status) | Order Status | [optional] |
+| **complete** | **kotlin.Boolean** | | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | placed, approved, delivered
+| Name | Value |
+| ---- | ----- |
+| status | placed, approved, delivered |
diff --git a/samples/client/petstore/kotlin-jvm-ktor-jackson/docs/Pet.md b/samples/client/petstore/kotlin-jvm-ktor-jackson/docs/Pet.md
index da70fca06e65..287312efaf94 100644
--- a/samples/client/petstore/kotlin-jvm-ktor-jackson/docs/Pet.md
+++ b/samples/client/petstore/kotlin-jvm-ktor-jackson/docs/Pet.md
@@ -2,21 +2,21 @@
# Pet
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**name** | **kotlin.String** | |
-**photoUrls** | **kotlin.collections.List<kotlin.String>** | |
-**id** | **kotlin.Long** | | [optional]
-**category** | [**Category**](Category.md) | | [optional]
-**tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional]
-**status** | [**inline**](#Status) | pet status in the store | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **name** | **kotlin.String** | | |
+| **photoUrls** | **kotlin.collections.List<kotlin.String>** | | |
+| **id** | **kotlin.Long** | | [optional] |
+| **category** | [**Category**](Category.md) | | [optional] |
+| **tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional] |
+| **status** | [**inline**](#Status) | pet status in the store | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | available, pending, sold
+| Name | Value |
+| ---- | ----- |
+| status | available, pending, sold |
diff --git a/samples/client/petstore/kotlin-jvm-ktor-jackson/docs/PetApi.md b/samples/client/petstore/kotlin-jvm-ktor-jackson/docs/PetApi.md
index 851879ed2f4d..94d0a303a876 100644
--- a/samples/client/petstore/kotlin-jvm-ktor-jackson/docs/PetApi.md
+++ b/samples/client/petstore/kotlin-jvm-ktor-jackson/docs/PetApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**addPet**](PetApi.md#addPet) | **POST** /pet | Add a new pet to the store
-[**deletePet**](PetApi.md#deletePet) | **DELETE** /pet/{petId} | Deletes a pet
-[**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** /pet/findByStatus | Finds Pets by status
-[**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** /pet/findByTags | Finds Pets by tags
-[**getPetById**](PetApi.md#getPetById) | **GET** /pet/{petId} | Find pet by ID
-[**updatePet**](PetApi.md#updatePet) | **PUT** /pet | Update an existing pet
-[**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** /pet/{petId} | Updates a pet in the store with form data
-[**uploadFile**](PetApi.md#uploadFile) | **POST** /pet/{petId}/uploadImage | uploads an image
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**addPet**](PetApi.md#addPet) | **POST** /pet | Add a new pet to the store |
+| [**deletePet**](PetApi.md#deletePet) | **DELETE** /pet/{petId} | Deletes a pet |
+| [**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** /pet/findByStatus | Finds Pets by status |
+| [**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** /pet/findByTags | Finds Pets by tags |
+| [**getPetById**](PetApi.md#getPetById) | **GET** /pet/{petId} | Find pet by ID |
+| [**updatePet**](PetApi.md#updatePet) | **PUT** /pet | Update an existing pet |
+| [**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** /pet/{petId} | Updates a pet in the store with form data |
+| [**uploadFile**](PetApi.md#uploadFile) | **POST** /pet/{petId}/uploadImage | uploads an image |
@@ -40,10 +40,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -87,11 +86,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| Pet id to delete |
- **apiKey** | **kotlin.String**| | [optional]
+| **petId** | **kotlin.Long**| Pet id to delete | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **apiKey** | **kotlin.String**| | [optional] |
### Return type
@@ -137,10 +135,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **status** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [enum: available, pending, sold]
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **status** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [enum: available, pending, sold] |
### Return type
@@ -186,10 +183,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **tags** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Tags to filter by |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **tags** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Tags to filter by | |
### Return type
@@ -235,10 +231,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet to return |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **petId** | **kotlin.Long**| ID of pet to return | |
### Return type
@@ -282,10 +277,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -330,12 +324,11 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet that needs to be updated |
- **name** | **kotlin.String**| Updated name of the pet | [optional]
- **status** | **kotlin.String**| Updated status of the pet | [optional]
+| **petId** | **kotlin.Long**| ID of pet that needs to be updated | |
+| **name** | **kotlin.String**| Updated name of the pet | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **status** | **kotlin.String**| Updated status of the pet | [optional] |
### Return type
@@ -381,12 +374,11 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet to update |
- **additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional]
- **file** | **io.ktor.client.request.forms.InputProvider**| file to upload | [optional]
+| **petId** | **kotlin.Long**| ID of pet to update | |
+| **additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **file** | **io.ktor.client.request.forms.InputProvider**| file to upload | [optional] |
### Return type
diff --git a/samples/client/petstore/kotlin-jvm-ktor-jackson/docs/StoreApi.md b/samples/client/petstore/kotlin-jvm-ktor-jackson/docs/StoreApi.md
index d111b2911d7e..27694e9e7100 100644
--- a/samples/client/petstore/kotlin-jvm-ktor-jackson/docs/StoreApi.md
+++ b/samples/client/petstore/kotlin-jvm-ktor-jackson/docs/StoreApi.md
@@ -2,12 +2,12 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID
-[**getInventory**](StoreApi.md#getInventory) | **GET** /store/inventory | Returns pet inventories by status
-[**getOrderById**](StoreApi.md#getOrderById) | **GET** /store/order/{orderId} | Find purchase order by ID
-[**placeOrder**](StoreApi.md#placeOrder) | **POST** /store/order | Place an order for a pet
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID |
+| [**getInventory**](StoreApi.md#getInventory) | **GET** /store/inventory | Returns pet inventories by status |
+| [**getOrderById**](StoreApi.md#getOrderById) | **GET** /store/order/{orderId} | Find purchase order by ID |
+| [**placeOrder**](StoreApi.md#placeOrder) | **POST** /store/order | Place an order for a pet |
@@ -38,10 +38,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **kotlin.String**| ID of the order that needs to be deleted |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **orderId** | **kotlin.String**| ID of the order that needs to be deleted | |
### Return type
@@ -131,10 +130,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **kotlin.Long**| ID of pet that needs to be fetched |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **orderId** | **kotlin.Long**| ID of pet that needs to be fetched | |
### Return type
@@ -176,10 +174,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**Order**](Order.md)| order placed for purchasing the pet |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**Order**](Order.md)| order placed for purchasing the pet | |
### Return type
diff --git a/samples/client/petstore/kotlin-jvm-ktor-jackson/docs/Tag.md b/samples/client/petstore/kotlin-jvm-ktor-jackson/docs/Tag.md
index 60ce1bcdbad3..dc8fa3cb555d 100644
--- a/samples/client/petstore/kotlin-jvm-ktor-jackson/docs/Tag.md
+++ b/samples/client/petstore/kotlin-jvm-ktor-jackson/docs/Tag.md
@@ -2,10 +2,10 @@
# Tag
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-jvm-ktor-jackson/docs/User.md b/samples/client/petstore/kotlin-jvm-ktor-jackson/docs/User.md
index e801729b5ed1..a9f35788637e 100644
--- a/samples/client/petstore/kotlin-jvm-ktor-jackson/docs/User.md
+++ b/samples/client/petstore/kotlin-jvm-ktor-jackson/docs/User.md
@@ -2,16 +2,16 @@
# User
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**username** | **kotlin.String** | | [optional]
-**firstName** | **kotlin.String** | | [optional]
-**lastName** | **kotlin.String** | | [optional]
-**email** | **kotlin.String** | | [optional]
-**password** | **kotlin.String** | | [optional]
-**phone** | **kotlin.String** | | [optional]
-**userStatus** | **kotlin.Int** | User Status | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **username** | **kotlin.String** | | [optional] |
+| **firstName** | **kotlin.String** | | [optional] |
+| **lastName** | **kotlin.String** | | [optional] |
+| **email** | **kotlin.String** | | [optional] |
+| **password** | **kotlin.String** | | [optional] |
+| **phone** | **kotlin.String** | | [optional] |
+| **userStatus** | **kotlin.Int** | User Status | [optional] |
diff --git a/samples/client/petstore/kotlin-jvm-ktor-jackson/docs/UserApi.md b/samples/client/petstore/kotlin-jvm-ktor-jackson/docs/UserApi.md
index afcdb070dbbd..6a4403972b4d 100644
--- a/samples/client/petstore/kotlin-jvm-ktor-jackson/docs/UserApi.md
+++ b/samples/client/petstore/kotlin-jvm-ktor-jackson/docs/UserApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**createUser**](UserApi.md#createUser) | **POST** /user | Create user
-[**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** /user/createWithArray | Creates list of users with given input array
-[**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** /user/createWithList | Creates list of users with given input array
-[**deleteUser**](UserApi.md#deleteUser) | **DELETE** /user/{username} | Delete user
-[**getUserByName**](UserApi.md#getUserByName) | **GET** /user/{username} | Get user by user name
-[**loginUser**](UserApi.md#loginUser) | **GET** /user/login | Logs user into the system
-[**logoutUser**](UserApi.md#logoutUser) | **GET** /user/logout | Logs out current logged in user session
-[**updateUser**](UserApi.md#updateUser) | **PUT** /user/{username} | Updated user
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**createUser**](UserApi.md#createUser) | **POST** /user | Create user |
+| [**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** /user/createWithArray | Creates list of users with given input array |
+| [**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** /user/createWithList | Creates list of users with given input array |
+| [**deleteUser**](UserApi.md#deleteUser) | **DELETE** /user/{username} | Delete user |
+| [**getUserByName**](UserApi.md#getUserByName) | **GET** /user/{username} | Get user by user name |
+| [**loginUser**](UserApi.md#loginUser) | **GET** /user/login | Logs user into the system |
+| [**logoutUser**](UserApi.md#logoutUser) | **GET** /user/logout | Logs out current logged in user session |
+| [**updateUser**](UserApi.md#updateUser) | **PUT** /user/{username} | Updated user |
@@ -42,10 +42,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**User**](User.md)| Created user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**User**](User.md)| Created user object | |
### Return type
@@ -86,10 +85,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**kotlin.collections.List<User>**](User.md)| List of user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**kotlin.collections.List<User>**](User.md)| List of user object | |
### Return type
@@ -130,10 +128,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**kotlin.collections.List<User>**](User.md)| List of user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**kotlin.collections.List<User>**](User.md)| List of user object | |
### Return type
@@ -176,10 +173,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The name that needs to be deleted |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String**| The name that needs to be deleted | |
### Return type
@@ -221,10 +217,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. | |
### Return type
@@ -267,11 +262,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The user name for login |
- **password** | **kotlin.String**| The password for login in clear text |
+| **username** | **kotlin.String**| The user name for login | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **password** | **kotlin.String**| The password for login in clear text | |
### Return type
@@ -355,11 +349,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| name that need to be deleted |
- **body** | [**User**](User.md)| Updated user object |
+| **username** | **kotlin.String**| name that need to be deleted | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**User**](User.md)| Updated user object | |
### Return type
diff --git a/samples/client/petstore/kotlin-jvm-ktor-jackson/src/main/kotlin/org/openapitools/client/models/Category.kt b/samples/client/petstore/kotlin-jvm-ktor-jackson/src/main/kotlin/org/openapitools/client/models/Category.kt
index ff41aedca0bf..6ea4e930c6c2 100644
--- a/samples/client/petstore/kotlin-jvm-ktor-jackson/src/main/kotlin/org/openapitools/client/models/Category.kt
+++ b/samples/client/petstore/kotlin-jvm-ktor-jackson/src/main/kotlin/org/openapitools/client/models/Category.kt
@@ -35,5 +35,8 @@ data class Category (
@field:JsonProperty("name")
val name: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-jvm-ktor-jackson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt b/samples/client/petstore/kotlin-jvm-ktor-jackson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
index 2a59a8f3acdb..cbd86808f1e9 100644
--- a/samples/client/petstore/kotlin-jvm-ktor-jackson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
+++ b/samples/client/petstore/kotlin-jvm-ktor-jackson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
@@ -39,5 +39,8 @@ data class ModelApiResponse (
@field:JsonProperty("message")
val message: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-jvm-ktor-jackson/src/main/kotlin/org/openapitools/client/models/Order.kt b/samples/client/petstore/kotlin-jvm-ktor-jackson/src/main/kotlin/org/openapitools/client/models/Order.kt
index ded639bcd589..e49bdfc04899 100644
--- a/samples/client/petstore/kotlin-jvm-ktor-jackson/src/main/kotlin/org/openapitools/client/models/Order.kt
+++ b/samples/client/petstore/kotlin-jvm-ktor-jackson/src/main/kotlin/org/openapitools/client/models/Order.kt
@@ -65,5 +65,6 @@ data class Order (
@JsonProperty(value = "delivered") delivered("delivered"),
@JsonProperty(value = "unknown_default_open_api") @JsonEnumDefaultValue unknown_default_open_api("unknown_default_open_api");
}
+
}
diff --git a/samples/client/petstore/kotlin-jvm-ktor-jackson/src/main/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/petstore/kotlin-jvm-ktor-jackson/src/main/kotlin/org/openapitools/client/models/Pet.kt
index 2aafc065fafc..3d75f9221363 100644
--- a/samples/client/petstore/kotlin-jvm-ktor-jackson/src/main/kotlin/org/openapitools/client/models/Pet.kt
+++ b/samples/client/petstore/kotlin-jvm-ktor-jackson/src/main/kotlin/org/openapitools/client/models/Pet.kt
@@ -67,5 +67,6 @@ data class Pet (
@JsonProperty(value = "sold") sold("sold"),
@JsonProperty(value = "unknown_default_open_api") @JsonEnumDefaultValue unknown_default_open_api("unknown_default_open_api");
}
+
}
diff --git a/samples/client/petstore/kotlin-jvm-ktor-jackson/src/main/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/petstore/kotlin-jvm-ktor-jackson/src/main/kotlin/org/openapitools/client/models/Tag.kt
index bfff056241ca..e0b2095ca18d 100644
--- a/samples/client/petstore/kotlin-jvm-ktor-jackson/src/main/kotlin/org/openapitools/client/models/Tag.kt
+++ b/samples/client/petstore/kotlin-jvm-ktor-jackson/src/main/kotlin/org/openapitools/client/models/Tag.kt
@@ -35,5 +35,8 @@ data class Tag (
@field:JsonProperty("name")
val name: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-jvm-ktor-jackson/src/main/kotlin/org/openapitools/client/models/User.kt b/samples/client/petstore/kotlin-jvm-ktor-jackson/src/main/kotlin/org/openapitools/client/models/User.kt
index 48cabe858981..fa771a986f24 100644
--- a/samples/client/petstore/kotlin-jvm-ktor-jackson/src/main/kotlin/org/openapitools/client/models/User.kt
+++ b/samples/client/petstore/kotlin-jvm-ktor-jackson/src/main/kotlin/org/openapitools/client/models/User.kt
@@ -60,5 +60,8 @@ data class User (
@field:JsonProperty("userStatus")
val userStatus: kotlin.Int? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/README.md b/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/README.md
index e4e111438878..f1cf0031b0c9 100644
--- a/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/README.md
+++ b/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/README.md
@@ -43,28 +43,28 @@ This runs all tests and packages the library.
All URIs are relative to *http://petstore.swagger.io/v2*
-Class | Method | HTTP request | Description
------------- | ------------- | ------------- | -------------
-*PetApi* | [**addPet**](docs/PetApi.md#addpet) | **POST** /pet | Add a new pet to the store
-*PetApi* | [**deletePet**](docs/PetApi.md#deletepet) | **DELETE** /pet/{petId} | Deletes a pet
-*PetApi* | [**findPetsByStatus**](docs/PetApi.md#findpetsbystatus) | **GET** /pet/findByStatus | Finds Pets by status
-*PetApi* | [**findPetsByTags**](docs/PetApi.md#findpetsbytags) | **GET** /pet/findByTags | Finds Pets by tags
-*PetApi* | [**getPetById**](docs/PetApi.md#getpetbyid) | **GET** /pet/{petId} | Find pet by ID
-*PetApi* | [**updatePet**](docs/PetApi.md#updatepet) | **PUT** /pet | Update an existing pet
-*PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatepetwithform) | **POST** /pet/{petId} | Updates a pet in the store with form data
-*PetApi* | [**uploadFile**](docs/PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image
-*StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteorder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID
-*StoreApi* | [**getInventory**](docs/StoreApi.md#getinventory) | **GET** /store/inventory | Returns pet inventories by status
-*StoreApi* | [**getOrderById**](docs/StoreApi.md#getorderbyid) | **GET** /store/order/{orderId} | Find purchase order by ID
-*StoreApi* | [**placeOrder**](docs/StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet
-*UserApi* | [**createUser**](docs/UserApi.md#createuser) | **POST** /user | Create user
-*UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createuserswitharrayinput) | **POST** /user/createWithArray | Creates list of users with given input array
-*UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createuserswithlistinput) | **POST** /user/createWithList | Creates list of users with given input array
-*UserApi* | [**deleteUser**](docs/UserApi.md#deleteuser) | **DELETE** /user/{username} | Delete user
-*UserApi* | [**getUserByName**](docs/UserApi.md#getuserbyname) | **GET** /user/{username} | Get user by user name
-*UserApi* | [**loginUser**](docs/UserApi.md#loginuser) | **GET** /user/login | Logs user into the system
-*UserApi* | [**logoutUser**](docs/UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session
-*UserApi* | [**updateUser**](docs/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user
+| Class | Method | HTTP request | Description |
+| ------------ | ------------- | ------------- | ------------- |
+| *PetApi* | [**addPet**](docs/PetApi.md#addpet) | **POST** /pet | Add a new pet to the store |
+| *PetApi* | [**deletePet**](docs/PetApi.md#deletepet) | **DELETE** /pet/{petId} | Deletes a pet |
+| *PetApi* | [**findPetsByStatus**](docs/PetApi.md#findpetsbystatus) | **GET** /pet/findByStatus | Finds Pets by status |
+| *PetApi* | [**findPetsByTags**](docs/PetApi.md#findpetsbytags) | **GET** /pet/findByTags | Finds Pets by tags |
+| *PetApi* | [**getPetById**](docs/PetApi.md#getpetbyid) | **GET** /pet/{petId} | Find pet by ID |
+| *PetApi* | [**updatePet**](docs/PetApi.md#updatepet) | **PUT** /pet | Update an existing pet |
+| *PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatepetwithform) | **POST** /pet/{petId} | Updates a pet in the store with form data |
+| *PetApi* | [**uploadFile**](docs/PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image |
+| *StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteorder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID |
+| *StoreApi* | [**getInventory**](docs/StoreApi.md#getinventory) | **GET** /store/inventory | Returns pet inventories by status |
+| *StoreApi* | [**getOrderById**](docs/StoreApi.md#getorderbyid) | **GET** /store/order/{orderId} | Find purchase order by ID |
+| *StoreApi* | [**placeOrder**](docs/StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet |
+| *UserApi* | [**createUser**](docs/UserApi.md#createuser) | **POST** /user | Create user |
+| *UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createuserswitharrayinput) | **POST** /user/createWithArray | Creates list of users with given input array |
+| *UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createuserswithlistinput) | **POST** /user/createWithList | Creates list of users with given input array |
+| *UserApi* | [**deleteUser**](docs/UserApi.md#deleteuser) | **DELETE** /user/{username} | Delete user |
+| *UserApi* | [**getUserByName**](docs/UserApi.md#getuserbyname) | **GET** /user/{username} | Get user by user name |
+| *UserApi* | [**loginUser**](docs/UserApi.md#loginuser) | **GET** /user/login | Logs user into the system |
+| *UserApi* | [**logoutUser**](docs/UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session |
+| *UserApi* | [**updateUser**](docs/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user |
diff --git a/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/docs/ApiResponse.md b/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/docs/ApiResponse.md
index 12f08d5cdef0..059525a99512 100644
--- a/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/docs/ApiResponse.md
+++ b/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/docs/ApiResponse.md
@@ -2,11 +2,11 @@
# ModelApiResponse
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**code** | **kotlin.Int** | | [optional]
-**type** | **kotlin.String** | | [optional]
-**message** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **code** | **kotlin.Int** | | [optional] |
+| **type** | **kotlin.String** | | [optional] |
+| **message** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/docs/Category.md b/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/docs/Category.md
index 2c28a670fc79..baba5657eb21 100644
--- a/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/docs/Category.md
+++ b/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/docs/Category.md
@@ -2,10 +2,10 @@
# Category
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/docs/Order.md b/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/docs/Order.md
index c0c951b22d33..7b7a399f7f75 100644
--- a/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/docs/Order.md
+++ b/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/docs/Order.md
@@ -2,21 +2,21 @@
# Order
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**petId** | **kotlin.Long** | | [optional]
-**quantity** | **kotlin.Int** | | [optional]
-**shipDate** | [**java.time.OffsetDateTime**](java.time.OffsetDateTime.md) | | [optional]
-**status** | [**inline**](#Status) | Order Status | [optional]
-**complete** | **kotlin.Boolean** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **petId** | **kotlin.Long** | | [optional] |
+| **quantity** | **kotlin.Int** | | [optional] |
+| **shipDate** | [**java.time.OffsetDateTime**](java.time.OffsetDateTime.md) | | [optional] |
+| **status** | [**inline**](#Status) | Order Status | [optional] |
+| **complete** | **kotlin.Boolean** | | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | placed, approved, delivered
+| Name | Value |
+| ---- | ----- |
+| status | placed, approved, delivered |
diff --git a/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/docs/Pet.md b/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/docs/Pet.md
index da70fca06e65..287312efaf94 100644
--- a/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/docs/Pet.md
+++ b/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/docs/Pet.md
@@ -2,21 +2,21 @@
# Pet
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**name** | **kotlin.String** | |
-**photoUrls** | **kotlin.collections.List<kotlin.String>** | |
-**id** | **kotlin.Long** | | [optional]
-**category** | [**Category**](Category.md) | | [optional]
-**tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional]
-**status** | [**inline**](#Status) | pet status in the store | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **name** | **kotlin.String** | | |
+| **photoUrls** | **kotlin.collections.List<kotlin.String>** | | |
+| **id** | **kotlin.Long** | | [optional] |
+| **category** | [**Category**](Category.md) | | [optional] |
+| **tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional] |
+| **status** | [**inline**](#Status) | pet status in the store | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | available, pending, sold
+| Name | Value |
+| ---- | ----- |
+| status | available, pending, sold |
diff --git a/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/docs/PetApi.md b/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/docs/PetApi.md
index 940a62a6f6ce..b6eff247cc2a 100644
--- a/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/docs/PetApi.md
+++ b/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/docs/PetApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**addPet**](PetApi.md#addPet) | **POST** /pet | Add a new pet to the store
-[**deletePet**](PetApi.md#deletePet) | **DELETE** /pet/{petId} | Deletes a pet
-[**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** /pet/findByStatus | Finds Pets by status
-[**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** /pet/findByTags | Finds Pets by tags
-[**getPetById**](PetApi.md#getPetById) | **GET** /pet/{petId} | Find pet by ID
-[**updatePet**](PetApi.md#updatePet) | **PUT** /pet | Update an existing pet
-[**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** /pet/{petId} | Updates a pet in the store with form data
-[**uploadFile**](PetApi.md#uploadFile) | **POST** /pet/{petId}/uploadImage | uploads an image
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**addPet**](PetApi.md#addPet) | **POST** /pet | Add a new pet to the store |
+| [**deletePet**](PetApi.md#deletePet) | **DELETE** /pet/{petId} | Deletes a pet |
+| [**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** /pet/findByStatus | Finds Pets by status |
+| [**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** /pet/findByTags | Finds Pets by tags |
+| [**getPetById**](PetApi.md#getPetById) | **GET** /pet/{petId} | Find pet by ID |
+| [**updatePet**](PetApi.md#updatePet) | **PUT** /pet | Update an existing pet |
+| [**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** /pet/{petId} | Updates a pet in the store with form data |
+| [**uploadFile**](PetApi.md#uploadFile) | **POST** /pet/{petId}/uploadImage | uploads an image |
@@ -43,10 +43,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **pet** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **pet** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -92,11 +91,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| Pet id to delete |
- **apiKey** | **kotlin.String**| | [optional]
+| **petId** | **kotlin.Long**| Pet id to delete | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **apiKey** | **kotlin.String**| | [optional] |
### Return type
@@ -142,10 +140,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **status** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [enum: available, pending, sold]
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **status** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [enum: available, pending, sold] |
### Return type
@@ -191,10 +188,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **tags** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Tags to filter by |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **tags** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Tags to filter by | |
### Return type
@@ -240,10 +236,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet to return |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **petId** | **kotlin.Long**| ID of pet to return | |
### Return type
@@ -290,10 +285,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **pet** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **pet** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -340,12 +334,11 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet that needs to be updated |
- **name** | **kotlin.String**| Updated name of the pet | [optional]
- **status** | **kotlin.String**| Updated status of the pet | [optional]
+| **petId** | **kotlin.Long**| ID of pet that needs to be updated | |
+| **name** | **kotlin.String**| Updated name of the pet | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **status** | **kotlin.String**| Updated status of the pet | [optional] |
### Return type
@@ -393,12 +386,11 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet to update |
- **additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional]
- **file** | **io.ktor.client.request.forms.InputProvider**| file to upload | [optional]
+| **petId** | **kotlin.Long**| ID of pet to update | |
+| **additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **file** | **io.ktor.client.request.forms.InputProvider**| file to upload | [optional] |
### Return type
diff --git a/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/docs/StoreApi.md b/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/docs/StoreApi.md
index 76ca75818c63..aac02408ec79 100644
--- a/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/docs/StoreApi.md
+++ b/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/docs/StoreApi.md
@@ -2,12 +2,12 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID
-[**getInventory**](StoreApi.md#getInventory) | **GET** /store/inventory | Returns pet inventories by status
-[**getOrderById**](StoreApi.md#getOrderById) | **GET** /store/order/{orderId} | Find purchase order by ID
-[**placeOrder**](StoreApi.md#placeOrder) | **POST** /store/order | Place an order for a pet
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID |
+| [**getInventory**](StoreApi.md#getInventory) | **GET** /store/inventory | Returns pet inventories by status |
+| [**getOrderById**](StoreApi.md#getOrderById) | **GET** /store/order/{orderId} | Find purchase order by ID |
+| [**placeOrder**](StoreApi.md#placeOrder) | **POST** /store/order | Place an order for a pet |
@@ -38,10 +38,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **kotlin.String**| ID of the order that needs to be deleted |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **orderId** | **kotlin.String**| ID of the order that needs to be deleted | |
### Return type
@@ -131,10 +130,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **kotlin.Long**| ID of pet that needs to be fetched |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **orderId** | **kotlin.Long**| ID of pet that needs to be fetched | |
### Return type
@@ -178,10 +176,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **order** | [**Order**](Order.md)| order placed for purchasing the pet |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **order** | [**Order**](Order.md)| order placed for purchasing the pet | |
### Return type
diff --git a/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/docs/Tag.md b/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/docs/Tag.md
index 60ce1bcdbad3..dc8fa3cb555d 100644
--- a/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/docs/Tag.md
+++ b/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/docs/Tag.md
@@ -2,10 +2,10 @@
# Tag
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/docs/User.md b/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/docs/User.md
index e801729b5ed1..a9f35788637e 100644
--- a/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/docs/User.md
+++ b/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/docs/User.md
@@ -2,16 +2,16 @@
# User
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**username** | **kotlin.String** | | [optional]
-**firstName** | **kotlin.String** | | [optional]
-**lastName** | **kotlin.String** | | [optional]
-**email** | **kotlin.String** | | [optional]
-**password** | **kotlin.String** | | [optional]
-**phone** | **kotlin.String** | | [optional]
-**userStatus** | **kotlin.Int** | User Status | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **username** | **kotlin.String** | | [optional] |
+| **firstName** | **kotlin.String** | | [optional] |
+| **lastName** | **kotlin.String** | | [optional] |
+| **email** | **kotlin.String** | | [optional] |
+| **password** | **kotlin.String** | | [optional] |
+| **phone** | **kotlin.String** | | [optional] |
+| **userStatus** | **kotlin.Int** | User Status | [optional] |
diff --git a/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/docs/UserApi.md b/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/docs/UserApi.md
index cc033aebee6c..055b9506b4d2 100644
--- a/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/docs/UserApi.md
+++ b/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/docs/UserApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**createUser**](UserApi.md#createUser) | **POST** /user | Create user
-[**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** /user/createWithArray | Creates list of users with given input array
-[**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** /user/createWithList | Creates list of users with given input array
-[**deleteUser**](UserApi.md#deleteUser) | **DELETE** /user/{username} | Delete user
-[**getUserByName**](UserApi.md#getUserByName) | **GET** /user/{username} | Get user by user name
-[**loginUser**](UserApi.md#loginUser) | **GET** /user/login | Logs user into the system
-[**logoutUser**](UserApi.md#logoutUser) | **GET** /user/logout | Logs out current logged in user session
-[**updateUser**](UserApi.md#updateUser) | **PUT** /user/{username} | Updated user
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**createUser**](UserApi.md#createUser) | **POST** /user | Create user |
+| [**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** /user/createWithArray | Creates list of users with given input array |
+| [**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** /user/createWithList | Creates list of users with given input array |
+| [**deleteUser**](UserApi.md#deleteUser) | **DELETE** /user/{username} | Delete user |
+| [**getUserByName**](UserApi.md#getUserByName) | **GET** /user/{username} | Get user by user name |
+| [**loginUser**](UserApi.md#loginUser) | **GET** /user/login | Logs user into the system |
+| [**logoutUser**](UserApi.md#logoutUser) | **GET** /user/logout | Logs out current logged in user session |
+| [**updateUser**](UserApi.md#updateUser) | **PUT** /user/{username} | Updated user |
@@ -42,10 +42,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **user** | [**User**](User.md)| Created user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **user** | [**User**](User.md)| Created user object | |
### Return type
@@ -91,10 +90,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **user** | [**kotlin.collections.List<User>**](User.md)| List of user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **user** | [**kotlin.collections.List<User>**](User.md)| List of user object | |
### Return type
@@ -140,10 +138,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **user** | [**kotlin.collections.List<User>**](User.md)| List of user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **user** | [**kotlin.collections.List<User>**](User.md)| List of user object | |
### Return type
@@ -189,10 +186,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The name that needs to be deleted |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String**| The name that needs to be deleted | |
### Return type
@@ -239,10 +235,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. | |
### Return type
@@ -287,11 +282,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The user name for login |
- **password** | **kotlin.String**| The password for login in clear text |
+| **username** | **kotlin.String**| The user name for login | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **password** | **kotlin.String**| The password for login in clear text | |
### Return type
@@ -380,11 +374,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| name that need to be deleted |
- **user** | [**User**](User.md)| Updated user object |
+| **username** | **kotlin.String**| name that need to be deleted | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **user** | [**User**](User.md)| Updated user object | |
### Return type
diff --git a/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Category.kt b/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Category.kt
index 08b8d68af6c7..85657c5904fa 100644
--- a/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Category.kt
+++ b/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Category.kt
@@ -36,5 +36,8 @@ data class Category (
@SerialName(value = "name")
val name: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt b/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
index 8c25f99624e1..43078d5d1e27 100644
--- a/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
+++ b/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
@@ -40,5 +40,8 @@ data class ModelApiResponse (
@SerialName(value = "message")
val message: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Order.kt b/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Order.kt
index e3fdd49212bf..dcd2e9a437e2 100644
--- a/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Order.kt
+++ b/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Order.kt
@@ -66,5 +66,6 @@ data class Order (
@SerialName(value = "approved") approved("approved"),
@SerialName(value = "delivered") delivered("delivered");
}
+
}
diff --git a/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Pet.kt
index 1bc6066ab9d8..bdc59355c723 100644
--- a/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Pet.kt
+++ b/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Pet.kt
@@ -69,5 +69,6 @@ data class Pet (
@SerialName(value = "pending") pending("pending"),
@SerialName(value = "sold") sold("sold");
}
+
}
diff --git a/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Tag.kt
index c1da8b844468..25f4d9e01af1 100644
--- a/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Tag.kt
+++ b/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Tag.kt
@@ -36,5 +36,8 @@ data class Tag (
@SerialName(value = "name")
val name: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/User.kt b/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/User.kt
index 2d87dc6b38b3..6e269aa599ee 100644
--- a/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/User.kt
+++ b/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/User.kt
@@ -61,5 +61,8 @@ data class User (
@SerialName(value = "userStatus")
val userStatus: kotlin.Int? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/README.md b/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/README.md
index e4e111438878..f1cf0031b0c9 100644
--- a/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/README.md
+++ b/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/README.md
@@ -43,28 +43,28 @@ This runs all tests and packages the library.
All URIs are relative to *http://petstore.swagger.io/v2*
-Class | Method | HTTP request | Description
------------- | ------------- | ------------- | -------------
-*PetApi* | [**addPet**](docs/PetApi.md#addpet) | **POST** /pet | Add a new pet to the store
-*PetApi* | [**deletePet**](docs/PetApi.md#deletepet) | **DELETE** /pet/{petId} | Deletes a pet
-*PetApi* | [**findPetsByStatus**](docs/PetApi.md#findpetsbystatus) | **GET** /pet/findByStatus | Finds Pets by status
-*PetApi* | [**findPetsByTags**](docs/PetApi.md#findpetsbytags) | **GET** /pet/findByTags | Finds Pets by tags
-*PetApi* | [**getPetById**](docs/PetApi.md#getpetbyid) | **GET** /pet/{petId} | Find pet by ID
-*PetApi* | [**updatePet**](docs/PetApi.md#updatepet) | **PUT** /pet | Update an existing pet
-*PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatepetwithform) | **POST** /pet/{petId} | Updates a pet in the store with form data
-*PetApi* | [**uploadFile**](docs/PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image
-*StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteorder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID
-*StoreApi* | [**getInventory**](docs/StoreApi.md#getinventory) | **GET** /store/inventory | Returns pet inventories by status
-*StoreApi* | [**getOrderById**](docs/StoreApi.md#getorderbyid) | **GET** /store/order/{orderId} | Find purchase order by ID
-*StoreApi* | [**placeOrder**](docs/StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet
-*UserApi* | [**createUser**](docs/UserApi.md#createuser) | **POST** /user | Create user
-*UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createuserswitharrayinput) | **POST** /user/createWithArray | Creates list of users with given input array
-*UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createuserswithlistinput) | **POST** /user/createWithList | Creates list of users with given input array
-*UserApi* | [**deleteUser**](docs/UserApi.md#deleteuser) | **DELETE** /user/{username} | Delete user
-*UserApi* | [**getUserByName**](docs/UserApi.md#getuserbyname) | **GET** /user/{username} | Get user by user name
-*UserApi* | [**loginUser**](docs/UserApi.md#loginuser) | **GET** /user/login | Logs user into the system
-*UserApi* | [**logoutUser**](docs/UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session
-*UserApi* | [**updateUser**](docs/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user
+| Class | Method | HTTP request | Description |
+| ------------ | ------------- | ------------- | ------------- |
+| *PetApi* | [**addPet**](docs/PetApi.md#addpet) | **POST** /pet | Add a new pet to the store |
+| *PetApi* | [**deletePet**](docs/PetApi.md#deletepet) | **DELETE** /pet/{petId} | Deletes a pet |
+| *PetApi* | [**findPetsByStatus**](docs/PetApi.md#findpetsbystatus) | **GET** /pet/findByStatus | Finds Pets by status |
+| *PetApi* | [**findPetsByTags**](docs/PetApi.md#findpetsbytags) | **GET** /pet/findByTags | Finds Pets by tags |
+| *PetApi* | [**getPetById**](docs/PetApi.md#getpetbyid) | **GET** /pet/{petId} | Find pet by ID |
+| *PetApi* | [**updatePet**](docs/PetApi.md#updatepet) | **PUT** /pet | Update an existing pet |
+| *PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatepetwithform) | **POST** /pet/{petId} | Updates a pet in the store with form data |
+| *PetApi* | [**uploadFile**](docs/PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image |
+| *StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteorder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID |
+| *StoreApi* | [**getInventory**](docs/StoreApi.md#getinventory) | **GET** /store/inventory | Returns pet inventories by status |
+| *StoreApi* | [**getOrderById**](docs/StoreApi.md#getorderbyid) | **GET** /store/order/{orderId} | Find purchase order by ID |
+| *StoreApi* | [**placeOrder**](docs/StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet |
+| *UserApi* | [**createUser**](docs/UserApi.md#createuser) | **POST** /user | Create user |
+| *UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createuserswitharrayinput) | **POST** /user/createWithArray | Creates list of users with given input array |
+| *UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createuserswithlistinput) | **POST** /user/createWithList | Creates list of users with given input array |
+| *UserApi* | [**deleteUser**](docs/UserApi.md#deleteuser) | **DELETE** /user/{username} | Delete user |
+| *UserApi* | [**getUserByName**](docs/UserApi.md#getuserbyname) | **GET** /user/{username} | Get user by user name |
+| *UserApi* | [**loginUser**](docs/UserApi.md#loginuser) | **GET** /user/login | Logs user into the system |
+| *UserApi* | [**logoutUser**](docs/UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session |
+| *UserApi* | [**updateUser**](docs/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user |
diff --git a/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/docs/ApiResponse.md b/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/docs/ApiResponse.md
index 12f08d5cdef0..059525a99512 100644
--- a/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/docs/ApiResponse.md
+++ b/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/docs/ApiResponse.md
@@ -2,11 +2,11 @@
# ModelApiResponse
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**code** | **kotlin.Int** | | [optional]
-**type** | **kotlin.String** | | [optional]
-**message** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **code** | **kotlin.Int** | | [optional] |
+| **type** | **kotlin.String** | | [optional] |
+| **message** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/docs/Category.md b/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/docs/Category.md
index 2c28a670fc79..baba5657eb21 100644
--- a/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/docs/Category.md
+++ b/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/docs/Category.md
@@ -2,10 +2,10 @@
# Category
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/docs/Order.md b/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/docs/Order.md
index c0c951b22d33..7b7a399f7f75 100644
--- a/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/docs/Order.md
+++ b/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/docs/Order.md
@@ -2,21 +2,21 @@
# Order
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**petId** | **kotlin.Long** | | [optional]
-**quantity** | **kotlin.Int** | | [optional]
-**shipDate** | [**java.time.OffsetDateTime**](java.time.OffsetDateTime.md) | | [optional]
-**status** | [**inline**](#Status) | Order Status | [optional]
-**complete** | **kotlin.Boolean** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **petId** | **kotlin.Long** | | [optional] |
+| **quantity** | **kotlin.Int** | | [optional] |
+| **shipDate** | [**java.time.OffsetDateTime**](java.time.OffsetDateTime.md) | | [optional] |
+| **status** | [**inline**](#Status) | Order Status | [optional] |
+| **complete** | **kotlin.Boolean** | | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | placed, approved, delivered
+| Name | Value |
+| ---- | ----- |
+| status | placed, approved, delivered |
diff --git a/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/docs/Pet.md b/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/docs/Pet.md
index da70fca06e65..287312efaf94 100644
--- a/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/docs/Pet.md
+++ b/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/docs/Pet.md
@@ -2,21 +2,21 @@
# Pet
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**name** | **kotlin.String** | |
-**photoUrls** | **kotlin.collections.List<kotlin.String>** | |
-**id** | **kotlin.Long** | | [optional]
-**category** | [**Category**](Category.md) | | [optional]
-**tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional]
-**status** | [**inline**](#Status) | pet status in the store | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **name** | **kotlin.String** | | |
+| **photoUrls** | **kotlin.collections.List<kotlin.String>** | | |
+| **id** | **kotlin.Long** | | [optional] |
+| **category** | [**Category**](Category.md) | | [optional] |
+| **tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional] |
+| **status** | [**inline**](#Status) | pet status in the store | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | available, pending, sold
+| Name | Value |
+| ---- | ----- |
+| status | available, pending, sold |
diff --git a/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/docs/PetApi.md b/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/docs/PetApi.md
index bb8451def0df..6856ea516dab 100644
--- a/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/docs/PetApi.md
+++ b/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/docs/PetApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**addPet**](PetApi.md#addPet) | **POST** /pet | Add a new pet to the store
-[**deletePet**](PetApi.md#deletePet) | **DELETE** /pet/{petId} | Deletes a pet
-[**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** /pet/findByStatus | Finds Pets by status
-[**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** /pet/findByTags | Finds Pets by tags
-[**getPetById**](PetApi.md#getPetById) | **GET** /pet/{petId} | Find pet by ID
-[**updatePet**](PetApi.md#updatePet) | **PUT** /pet | Update an existing pet
-[**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** /pet/{petId} | Updates a pet in the store with form data
-[**uploadFile**](PetApi.md#uploadFile) | **POST** /pet/{petId}/uploadImage | uploads an image
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**addPet**](PetApi.md#addPet) | **POST** /pet | Add a new pet to the store |
+| [**deletePet**](PetApi.md#deletePet) | **DELETE** /pet/{petId} | Deletes a pet |
+| [**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** /pet/findByStatus | Finds Pets by status |
+| [**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** /pet/findByTags | Finds Pets by tags |
+| [**getPetById**](PetApi.md#getPetById) | **GET** /pet/{petId} | Find pet by ID |
+| [**updatePet**](PetApi.md#updatePet) | **PUT** /pet | Update an existing pet |
+| [**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** /pet/{petId} | Updates a pet in the store with form data |
+| [**uploadFile**](PetApi.md#uploadFile) | **POST** /pet/{petId}/uploadImage | uploads an image |
@@ -40,10 +40,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -87,11 +86,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| Pet id to delete |
- **apiKey** | **kotlin.String**| | [optional]
+| **petId** | **kotlin.Long**| Pet id to delete | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **apiKey** | **kotlin.String**| | [optional] |
### Return type
@@ -137,10 +135,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **status** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [enum: available, pending, sold]
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **status** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [enum: available, pending, sold] |
### Return type
@@ -186,10 +183,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **tags** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Tags to filter by |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **tags** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Tags to filter by | |
### Return type
@@ -235,10 +231,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet to return |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **petId** | **kotlin.Long**| ID of pet to return | |
### Return type
@@ -282,10 +277,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -330,12 +324,11 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet that needs to be updated |
- **name** | **kotlin.String**| Updated name of the pet | [optional]
- **status** | **kotlin.String**| Updated status of the pet | [optional]
+| **petId** | **kotlin.Long**| ID of pet that needs to be updated | |
+| **name** | **kotlin.String**| Updated name of the pet | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **status** | **kotlin.String**| Updated status of the pet | [optional] |
### Return type
@@ -381,12 +374,11 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet to update |
- **additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional]
- **file** | **java.io.File**| file to upload | [optional]
+| **petId** | **kotlin.Long**| ID of pet to update | |
+| **additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **file** | **java.io.File**| file to upload | [optional] |
### Return type
diff --git a/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/docs/StoreApi.md b/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/docs/StoreApi.md
index 9515ccd6d0cb..53ff17b16676 100644
--- a/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/docs/StoreApi.md
+++ b/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/docs/StoreApi.md
@@ -2,12 +2,12 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID
-[**getInventory**](StoreApi.md#getInventory) | **GET** /store/inventory | Returns pet inventories by status
-[**getOrderById**](StoreApi.md#getOrderById) | **GET** /store/order/{orderId} | Find purchase order by ID
-[**placeOrder**](StoreApi.md#placeOrder) | **POST** /store/order | Place an order for a pet
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID |
+| [**getInventory**](StoreApi.md#getInventory) | **GET** /store/inventory | Returns pet inventories by status |
+| [**getOrderById**](StoreApi.md#getOrderById) | **GET** /store/order/{orderId} | Find purchase order by ID |
+| [**placeOrder**](StoreApi.md#placeOrder) | **POST** /store/order | Place an order for a pet |
@@ -38,10 +38,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **kotlin.String**| ID of the order that needs to be deleted |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **orderId** | **kotlin.String**| ID of the order that needs to be deleted | |
### Return type
@@ -131,10 +130,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **kotlin.Long**| ID of pet that needs to be fetched |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **orderId** | **kotlin.Long**| ID of pet that needs to be fetched | |
### Return type
@@ -176,10 +174,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**Order**](Order.md)| order placed for purchasing the pet |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**Order**](Order.md)| order placed for purchasing the pet | |
### Return type
diff --git a/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/docs/Tag.md b/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/docs/Tag.md
index 60ce1bcdbad3..dc8fa3cb555d 100644
--- a/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/docs/Tag.md
+++ b/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/docs/Tag.md
@@ -2,10 +2,10 @@
# Tag
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/docs/User.md b/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/docs/User.md
index e801729b5ed1..a9f35788637e 100644
--- a/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/docs/User.md
+++ b/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/docs/User.md
@@ -2,16 +2,16 @@
# User
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**username** | **kotlin.String** | | [optional]
-**firstName** | **kotlin.String** | | [optional]
-**lastName** | **kotlin.String** | | [optional]
-**email** | **kotlin.String** | | [optional]
-**password** | **kotlin.String** | | [optional]
-**phone** | **kotlin.String** | | [optional]
-**userStatus** | **kotlin.Int** | User Status | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **username** | **kotlin.String** | | [optional] |
+| **firstName** | **kotlin.String** | | [optional] |
+| **lastName** | **kotlin.String** | | [optional] |
+| **email** | **kotlin.String** | | [optional] |
+| **password** | **kotlin.String** | | [optional] |
+| **phone** | **kotlin.String** | | [optional] |
+| **userStatus** | **kotlin.Int** | User Status | [optional] |
diff --git a/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/docs/UserApi.md b/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/docs/UserApi.md
index fdf75275cb97..82c8d6060276 100644
--- a/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/docs/UserApi.md
+++ b/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/docs/UserApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**createUser**](UserApi.md#createUser) | **POST** /user | Create user
-[**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** /user/createWithArray | Creates list of users with given input array
-[**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** /user/createWithList | Creates list of users with given input array
-[**deleteUser**](UserApi.md#deleteUser) | **DELETE** /user/{username} | Delete user
-[**getUserByName**](UserApi.md#getUserByName) | **GET** /user/{username} | Get user by user name
-[**loginUser**](UserApi.md#loginUser) | **GET** /user/login | Logs user into the system
-[**logoutUser**](UserApi.md#logoutUser) | **GET** /user/logout | Logs out current logged in user session
-[**updateUser**](UserApi.md#updateUser) | **PUT** /user/{username} | Updated user
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**createUser**](UserApi.md#createUser) | **POST** /user | Create user |
+| [**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** /user/createWithArray | Creates list of users with given input array |
+| [**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** /user/createWithList | Creates list of users with given input array |
+| [**deleteUser**](UserApi.md#deleteUser) | **DELETE** /user/{username} | Delete user |
+| [**getUserByName**](UserApi.md#getUserByName) | **GET** /user/{username} | Get user by user name |
+| [**loginUser**](UserApi.md#loginUser) | **GET** /user/login | Logs user into the system |
+| [**logoutUser**](UserApi.md#logoutUser) | **GET** /user/logout | Logs out current logged in user session |
+| [**updateUser**](UserApi.md#updateUser) | **PUT** /user/{username} | Updated user |
@@ -42,10 +42,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**User**](User.md)| Created user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**User**](User.md)| Created user object | |
### Return type
@@ -86,10 +85,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**kotlin.collections.List<User>**](User.md)| List of user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**kotlin.collections.List<User>**](User.md)| List of user object | |
### Return type
@@ -130,10 +128,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**kotlin.collections.List<User>**](User.md)| List of user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**kotlin.collections.List<User>**](User.md)| List of user object | |
### Return type
@@ -176,10 +173,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The name that needs to be deleted |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String**| The name that needs to be deleted | |
### Return type
@@ -221,10 +217,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. | |
### Return type
@@ -267,11 +262,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The user name for login |
- **password** | **kotlin.String**| The password for login in clear text |
+| **username** | **kotlin.String**| The user name for login | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **password** | **kotlin.String**| The password for login in clear text | |
### Return type
@@ -355,11 +349,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| name that need to be deleted |
- **body** | [**User**](User.md)| Updated user object |
+| **username** | **kotlin.String**| name that need to be deleted | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**User**](User.md)| Updated user object | |
### Return type
diff --git a/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/src/main/kotlin/org/openapitools/client/models/Category.kt b/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/src/main/kotlin/org/openapitools/client/models/Category.kt
index e52d3776b4ae..f2ee725a1b14 100644
--- a/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/src/main/kotlin/org/openapitools/client/models/Category.kt
+++ b/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/src/main/kotlin/org/openapitools/client/models/Category.kt
@@ -40,5 +40,6 @@ data class Category (
private const val serialVersionUID: Long = 123
}
+
}
diff --git a/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt b/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
index 544e4cb37f34..e810679725bb 100644
--- a/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
+++ b/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
@@ -44,5 +44,6 @@ data class ModelApiResponse (
private const val serialVersionUID: Long = 123
}
+
}
diff --git a/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/src/main/kotlin/org/openapitools/client/models/Order.kt b/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/src/main/kotlin/org/openapitools/client/models/Order.kt
index a3700c21275f..8cfb5fb3a393 100644
--- a/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/src/main/kotlin/org/openapitools/client/models/Order.kt
+++ b/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/src/main/kotlin/org/openapitools/client/models/Order.kt
@@ -67,5 +67,6 @@ data class Order (
@SerializedName(value = "approved") approved("approved"),
@SerializedName(value = "delivered") delivered("delivered");
}
+
}
diff --git a/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/src/main/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/src/main/kotlin/org/openapitools/client/models/Pet.kt
index 3888433f78a6..dbee7c39476c 100644
--- a/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/src/main/kotlin/org/openapitools/client/models/Pet.kt
+++ b/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/src/main/kotlin/org/openapitools/client/models/Pet.kt
@@ -69,5 +69,6 @@ data class Pet (
@SerializedName(value = "pending") pending("pending"),
@SerializedName(value = "sold") sold("sold");
}
+
}
diff --git a/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/src/main/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/src/main/kotlin/org/openapitools/client/models/Tag.kt
index 6594820a4b1d..9916a1564854 100644
--- a/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/src/main/kotlin/org/openapitools/client/models/Tag.kt
+++ b/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/src/main/kotlin/org/openapitools/client/models/Tag.kt
@@ -40,5 +40,6 @@ data class Tag (
private const val serialVersionUID: Long = 123
}
+
}
diff --git a/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/src/main/kotlin/org/openapitools/client/models/User.kt b/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/src/main/kotlin/org/openapitools/client/models/User.kt
index c20fc41911f0..a7e8121c0566 100644
--- a/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/src/main/kotlin/org/openapitools/client/models/User.kt
+++ b/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/src/main/kotlin/org/openapitools/client/models/User.kt
@@ -65,5 +65,6 @@ data class User (
private const val serialVersionUID: Long = 123
}
+
}
diff --git a/samples/client/petstore/kotlin-jvm-spring-2-webclient/README.md b/samples/client/petstore/kotlin-jvm-spring-2-webclient/README.md
index e4e111438878..f1cf0031b0c9 100644
--- a/samples/client/petstore/kotlin-jvm-spring-2-webclient/README.md
+++ b/samples/client/petstore/kotlin-jvm-spring-2-webclient/README.md
@@ -43,28 +43,28 @@ This runs all tests and packages the library.
All URIs are relative to *http://petstore.swagger.io/v2*
-Class | Method | HTTP request | Description
------------- | ------------- | ------------- | -------------
-*PetApi* | [**addPet**](docs/PetApi.md#addpet) | **POST** /pet | Add a new pet to the store
-*PetApi* | [**deletePet**](docs/PetApi.md#deletepet) | **DELETE** /pet/{petId} | Deletes a pet
-*PetApi* | [**findPetsByStatus**](docs/PetApi.md#findpetsbystatus) | **GET** /pet/findByStatus | Finds Pets by status
-*PetApi* | [**findPetsByTags**](docs/PetApi.md#findpetsbytags) | **GET** /pet/findByTags | Finds Pets by tags
-*PetApi* | [**getPetById**](docs/PetApi.md#getpetbyid) | **GET** /pet/{petId} | Find pet by ID
-*PetApi* | [**updatePet**](docs/PetApi.md#updatepet) | **PUT** /pet | Update an existing pet
-*PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatepetwithform) | **POST** /pet/{petId} | Updates a pet in the store with form data
-*PetApi* | [**uploadFile**](docs/PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image
-*StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteorder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID
-*StoreApi* | [**getInventory**](docs/StoreApi.md#getinventory) | **GET** /store/inventory | Returns pet inventories by status
-*StoreApi* | [**getOrderById**](docs/StoreApi.md#getorderbyid) | **GET** /store/order/{orderId} | Find purchase order by ID
-*StoreApi* | [**placeOrder**](docs/StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet
-*UserApi* | [**createUser**](docs/UserApi.md#createuser) | **POST** /user | Create user
-*UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createuserswitharrayinput) | **POST** /user/createWithArray | Creates list of users with given input array
-*UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createuserswithlistinput) | **POST** /user/createWithList | Creates list of users with given input array
-*UserApi* | [**deleteUser**](docs/UserApi.md#deleteuser) | **DELETE** /user/{username} | Delete user
-*UserApi* | [**getUserByName**](docs/UserApi.md#getuserbyname) | **GET** /user/{username} | Get user by user name
-*UserApi* | [**loginUser**](docs/UserApi.md#loginuser) | **GET** /user/login | Logs user into the system
-*UserApi* | [**logoutUser**](docs/UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session
-*UserApi* | [**updateUser**](docs/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user
+| Class | Method | HTTP request | Description |
+| ------------ | ------------- | ------------- | ------------- |
+| *PetApi* | [**addPet**](docs/PetApi.md#addpet) | **POST** /pet | Add a new pet to the store |
+| *PetApi* | [**deletePet**](docs/PetApi.md#deletepet) | **DELETE** /pet/{petId} | Deletes a pet |
+| *PetApi* | [**findPetsByStatus**](docs/PetApi.md#findpetsbystatus) | **GET** /pet/findByStatus | Finds Pets by status |
+| *PetApi* | [**findPetsByTags**](docs/PetApi.md#findpetsbytags) | **GET** /pet/findByTags | Finds Pets by tags |
+| *PetApi* | [**getPetById**](docs/PetApi.md#getpetbyid) | **GET** /pet/{petId} | Find pet by ID |
+| *PetApi* | [**updatePet**](docs/PetApi.md#updatepet) | **PUT** /pet | Update an existing pet |
+| *PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatepetwithform) | **POST** /pet/{petId} | Updates a pet in the store with form data |
+| *PetApi* | [**uploadFile**](docs/PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image |
+| *StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteorder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID |
+| *StoreApi* | [**getInventory**](docs/StoreApi.md#getinventory) | **GET** /store/inventory | Returns pet inventories by status |
+| *StoreApi* | [**getOrderById**](docs/StoreApi.md#getorderbyid) | **GET** /store/order/{orderId} | Find purchase order by ID |
+| *StoreApi* | [**placeOrder**](docs/StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet |
+| *UserApi* | [**createUser**](docs/UserApi.md#createuser) | **POST** /user | Create user |
+| *UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createuserswitharrayinput) | **POST** /user/createWithArray | Creates list of users with given input array |
+| *UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createuserswithlistinput) | **POST** /user/createWithList | Creates list of users with given input array |
+| *UserApi* | [**deleteUser**](docs/UserApi.md#deleteuser) | **DELETE** /user/{username} | Delete user |
+| *UserApi* | [**getUserByName**](docs/UserApi.md#getuserbyname) | **GET** /user/{username} | Get user by user name |
+| *UserApi* | [**loginUser**](docs/UserApi.md#loginuser) | **GET** /user/login | Logs user into the system |
+| *UserApi* | [**logoutUser**](docs/UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session |
+| *UserApi* | [**updateUser**](docs/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user |
diff --git a/samples/client/petstore/kotlin-jvm-spring-2-webclient/docs/ApiResponse.md b/samples/client/petstore/kotlin-jvm-spring-2-webclient/docs/ApiResponse.md
index 12f08d5cdef0..059525a99512 100644
--- a/samples/client/petstore/kotlin-jvm-spring-2-webclient/docs/ApiResponse.md
+++ b/samples/client/petstore/kotlin-jvm-spring-2-webclient/docs/ApiResponse.md
@@ -2,11 +2,11 @@
# ModelApiResponse
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**code** | **kotlin.Int** | | [optional]
-**type** | **kotlin.String** | | [optional]
-**message** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **code** | **kotlin.Int** | | [optional] |
+| **type** | **kotlin.String** | | [optional] |
+| **message** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-jvm-spring-2-webclient/docs/Category.md b/samples/client/petstore/kotlin-jvm-spring-2-webclient/docs/Category.md
index 2c28a670fc79..baba5657eb21 100644
--- a/samples/client/petstore/kotlin-jvm-spring-2-webclient/docs/Category.md
+++ b/samples/client/petstore/kotlin-jvm-spring-2-webclient/docs/Category.md
@@ -2,10 +2,10 @@
# Category
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-jvm-spring-2-webclient/docs/Order.md b/samples/client/petstore/kotlin-jvm-spring-2-webclient/docs/Order.md
index c0c951b22d33..7b7a399f7f75 100644
--- a/samples/client/petstore/kotlin-jvm-spring-2-webclient/docs/Order.md
+++ b/samples/client/petstore/kotlin-jvm-spring-2-webclient/docs/Order.md
@@ -2,21 +2,21 @@
# Order
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**petId** | **kotlin.Long** | | [optional]
-**quantity** | **kotlin.Int** | | [optional]
-**shipDate** | [**java.time.OffsetDateTime**](java.time.OffsetDateTime.md) | | [optional]
-**status** | [**inline**](#Status) | Order Status | [optional]
-**complete** | **kotlin.Boolean** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **petId** | **kotlin.Long** | | [optional] |
+| **quantity** | **kotlin.Int** | | [optional] |
+| **shipDate** | [**java.time.OffsetDateTime**](java.time.OffsetDateTime.md) | | [optional] |
+| **status** | [**inline**](#Status) | Order Status | [optional] |
+| **complete** | **kotlin.Boolean** | | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | placed, approved, delivered
+| Name | Value |
+| ---- | ----- |
+| status | placed, approved, delivered |
diff --git a/samples/client/petstore/kotlin-jvm-spring-2-webclient/docs/Pet.md b/samples/client/petstore/kotlin-jvm-spring-2-webclient/docs/Pet.md
index da70fca06e65..287312efaf94 100644
--- a/samples/client/petstore/kotlin-jvm-spring-2-webclient/docs/Pet.md
+++ b/samples/client/petstore/kotlin-jvm-spring-2-webclient/docs/Pet.md
@@ -2,21 +2,21 @@
# Pet
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**name** | **kotlin.String** | |
-**photoUrls** | **kotlin.collections.List<kotlin.String>** | |
-**id** | **kotlin.Long** | | [optional]
-**category** | [**Category**](Category.md) | | [optional]
-**tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional]
-**status** | [**inline**](#Status) | pet status in the store | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **name** | **kotlin.String** | | |
+| **photoUrls** | **kotlin.collections.List<kotlin.String>** | | |
+| **id** | **kotlin.Long** | | [optional] |
+| **category** | [**Category**](Category.md) | | [optional] |
+| **tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional] |
+| **status** | [**inline**](#Status) | pet status in the store | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | available, pending, sold
+| Name | Value |
+| ---- | ----- |
+| status | available, pending, sold |
diff --git a/samples/client/petstore/kotlin-jvm-spring-2-webclient/docs/PetApi.md b/samples/client/petstore/kotlin-jvm-spring-2-webclient/docs/PetApi.md
index 000d91fd381e..9eb15f0e7013 100644
--- a/samples/client/petstore/kotlin-jvm-spring-2-webclient/docs/PetApi.md
+++ b/samples/client/petstore/kotlin-jvm-spring-2-webclient/docs/PetApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**addPet**](PetApi.md#addPet) | **POST** /pet | Add a new pet to the store
-[**deletePet**](PetApi.md#deletePet) | **DELETE** /pet/{petId} | Deletes a pet
-[**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** /pet/findByStatus | Finds Pets by status
-[**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** /pet/findByTags | Finds Pets by tags
-[**getPetById**](PetApi.md#getPetById) | **GET** /pet/{petId} | Find pet by ID
-[**updatePet**](PetApi.md#updatePet) | **PUT** /pet | Update an existing pet
-[**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** /pet/{petId} | Updates a pet in the store with form data
-[**uploadFile**](PetApi.md#uploadFile) | **POST** /pet/{petId}/uploadImage | uploads an image
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**addPet**](PetApi.md#addPet) | **POST** /pet | Add a new pet to the store |
+| [**deletePet**](PetApi.md#deletePet) | **DELETE** /pet/{petId} | Deletes a pet |
+| [**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** /pet/findByStatus | Finds Pets by status |
+| [**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** /pet/findByTags | Finds Pets by tags |
+| [**getPetById**](PetApi.md#getPetById) | **GET** /pet/{petId} | Find pet by ID |
+| [**updatePet**](PetApi.md#updatePet) | **PUT** /pet | Update an existing pet |
+| [**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** /pet/{petId} | Updates a pet in the store with form data |
+| [**uploadFile**](PetApi.md#uploadFile) | **POST** /pet/{petId}/uploadImage | uploads an image |
@@ -43,10 +43,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **pet** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **pet** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -92,11 +91,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| Pet id to delete |
- **apiKey** | **kotlin.String**| | [optional]
+| **petId** | **kotlin.Long**| Pet id to delete | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **apiKey** | **kotlin.String**| | [optional] |
### Return type
@@ -142,10 +140,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **status** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [enum: available, pending, sold]
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **status** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [enum: available, pending, sold] |
### Return type
@@ -191,10 +188,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **tags** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Tags to filter by |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **tags** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Tags to filter by | |
### Return type
@@ -240,10 +236,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet to return |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **petId** | **kotlin.Long**| ID of pet to return | |
### Return type
@@ -290,10 +285,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **pet** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **pet** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -340,12 +334,11 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet that needs to be updated |
- **name** | **kotlin.String**| Updated name of the pet | [optional]
- **status** | **kotlin.String**| Updated status of the pet | [optional]
+| **petId** | **kotlin.Long**| ID of pet that needs to be updated | |
+| **name** | **kotlin.String**| Updated name of the pet | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **status** | **kotlin.String**| Updated status of the pet | [optional] |
### Return type
@@ -393,12 +386,11 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet to update |
- **additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional]
- **file** | **java.io.File**| file to upload | [optional]
+| **petId** | **kotlin.Long**| ID of pet to update | |
+| **additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **file** | **java.io.File**| file to upload | [optional] |
### Return type
diff --git a/samples/client/petstore/kotlin-jvm-spring-2-webclient/docs/StoreApi.md b/samples/client/petstore/kotlin-jvm-spring-2-webclient/docs/StoreApi.md
index 76ca75818c63..aac02408ec79 100644
--- a/samples/client/petstore/kotlin-jvm-spring-2-webclient/docs/StoreApi.md
+++ b/samples/client/petstore/kotlin-jvm-spring-2-webclient/docs/StoreApi.md
@@ -2,12 +2,12 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID
-[**getInventory**](StoreApi.md#getInventory) | **GET** /store/inventory | Returns pet inventories by status
-[**getOrderById**](StoreApi.md#getOrderById) | **GET** /store/order/{orderId} | Find purchase order by ID
-[**placeOrder**](StoreApi.md#placeOrder) | **POST** /store/order | Place an order for a pet
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID |
+| [**getInventory**](StoreApi.md#getInventory) | **GET** /store/inventory | Returns pet inventories by status |
+| [**getOrderById**](StoreApi.md#getOrderById) | **GET** /store/order/{orderId} | Find purchase order by ID |
+| [**placeOrder**](StoreApi.md#placeOrder) | **POST** /store/order | Place an order for a pet |
@@ -38,10 +38,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **kotlin.String**| ID of the order that needs to be deleted |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **orderId** | **kotlin.String**| ID of the order that needs to be deleted | |
### Return type
@@ -131,10 +130,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **kotlin.Long**| ID of pet that needs to be fetched |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **orderId** | **kotlin.Long**| ID of pet that needs to be fetched | |
### Return type
@@ -178,10 +176,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **order** | [**Order**](Order.md)| order placed for purchasing the pet |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **order** | [**Order**](Order.md)| order placed for purchasing the pet | |
### Return type
diff --git a/samples/client/petstore/kotlin-jvm-spring-2-webclient/docs/Tag.md b/samples/client/petstore/kotlin-jvm-spring-2-webclient/docs/Tag.md
index 60ce1bcdbad3..dc8fa3cb555d 100644
--- a/samples/client/petstore/kotlin-jvm-spring-2-webclient/docs/Tag.md
+++ b/samples/client/petstore/kotlin-jvm-spring-2-webclient/docs/Tag.md
@@ -2,10 +2,10 @@
# Tag
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-jvm-spring-2-webclient/docs/User.md b/samples/client/petstore/kotlin-jvm-spring-2-webclient/docs/User.md
index e801729b5ed1..a9f35788637e 100644
--- a/samples/client/petstore/kotlin-jvm-spring-2-webclient/docs/User.md
+++ b/samples/client/petstore/kotlin-jvm-spring-2-webclient/docs/User.md
@@ -2,16 +2,16 @@
# User
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**username** | **kotlin.String** | | [optional]
-**firstName** | **kotlin.String** | | [optional]
-**lastName** | **kotlin.String** | | [optional]
-**email** | **kotlin.String** | | [optional]
-**password** | **kotlin.String** | | [optional]
-**phone** | **kotlin.String** | | [optional]
-**userStatus** | **kotlin.Int** | User Status | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **username** | **kotlin.String** | | [optional] |
+| **firstName** | **kotlin.String** | | [optional] |
+| **lastName** | **kotlin.String** | | [optional] |
+| **email** | **kotlin.String** | | [optional] |
+| **password** | **kotlin.String** | | [optional] |
+| **phone** | **kotlin.String** | | [optional] |
+| **userStatus** | **kotlin.Int** | User Status | [optional] |
diff --git a/samples/client/petstore/kotlin-jvm-spring-2-webclient/docs/UserApi.md b/samples/client/petstore/kotlin-jvm-spring-2-webclient/docs/UserApi.md
index cc033aebee6c..055b9506b4d2 100644
--- a/samples/client/petstore/kotlin-jvm-spring-2-webclient/docs/UserApi.md
+++ b/samples/client/petstore/kotlin-jvm-spring-2-webclient/docs/UserApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**createUser**](UserApi.md#createUser) | **POST** /user | Create user
-[**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** /user/createWithArray | Creates list of users with given input array
-[**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** /user/createWithList | Creates list of users with given input array
-[**deleteUser**](UserApi.md#deleteUser) | **DELETE** /user/{username} | Delete user
-[**getUserByName**](UserApi.md#getUserByName) | **GET** /user/{username} | Get user by user name
-[**loginUser**](UserApi.md#loginUser) | **GET** /user/login | Logs user into the system
-[**logoutUser**](UserApi.md#logoutUser) | **GET** /user/logout | Logs out current logged in user session
-[**updateUser**](UserApi.md#updateUser) | **PUT** /user/{username} | Updated user
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**createUser**](UserApi.md#createUser) | **POST** /user | Create user |
+| [**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** /user/createWithArray | Creates list of users with given input array |
+| [**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** /user/createWithList | Creates list of users with given input array |
+| [**deleteUser**](UserApi.md#deleteUser) | **DELETE** /user/{username} | Delete user |
+| [**getUserByName**](UserApi.md#getUserByName) | **GET** /user/{username} | Get user by user name |
+| [**loginUser**](UserApi.md#loginUser) | **GET** /user/login | Logs user into the system |
+| [**logoutUser**](UserApi.md#logoutUser) | **GET** /user/logout | Logs out current logged in user session |
+| [**updateUser**](UserApi.md#updateUser) | **PUT** /user/{username} | Updated user |
@@ -42,10 +42,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **user** | [**User**](User.md)| Created user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **user** | [**User**](User.md)| Created user object | |
### Return type
@@ -91,10 +90,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **user** | [**kotlin.collections.List<User>**](User.md)| List of user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **user** | [**kotlin.collections.List<User>**](User.md)| List of user object | |
### Return type
@@ -140,10 +138,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **user** | [**kotlin.collections.List<User>**](User.md)| List of user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **user** | [**kotlin.collections.List<User>**](User.md)| List of user object | |
### Return type
@@ -189,10 +186,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The name that needs to be deleted |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String**| The name that needs to be deleted | |
### Return type
@@ -239,10 +235,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. | |
### Return type
@@ -287,11 +282,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The user name for login |
- **password** | **kotlin.String**| The password for login in clear text |
+| **username** | **kotlin.String**| The user name for login | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **password** | **kotlin.String**| The password for login in clear text | |
### Return type
@@ -380,11 +374,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| name that need to be deleted |
- **user** | [**User**](User.md)| Updated user object |
+| **username** | **kotlin.String**| name that need to be deleted | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **user** | [**User**](User.md)| Updated user object | |
### Return type
diff --git a/samples/client/petstore/kotlin-jvm-spring-2-webclient/src/main/kotlin/org/openapitools/client/models/Category.kt b/samples/client/petstore/kotlin-jvm-spring-2-webclient/src/main/kotlin/org/openapitools/client/models/Category.kt
index ff41aedca0bf..6ea4e930c6c2 100644
--- a/samples/client/petstore/kotlin-jvm-spring-2-webclient/src/main/kotlin/org/openapitools/client/models/Category.kt
+++ b/samples/client/petstore/kotlin-jvm-spring-2-webclient/src/main/kotlin/org/openapitools/client/models/Category.kt
@@ -35,5 +35,8 @@ data class Category (
@field:JsonProperty("name")
val name: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-jvm-spring-2-webclient/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt b/samples/client/petstore/kotlin-jvm-spring-2-webclient/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
index 2a59a8f3acdb..cbd86808f1e9 100644
--- a/samples/client/petstore/kotlin-jvm-spring-2-webclient/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
+++ b/samples/client/petstore/kotlin-jvm-spring-2-webclient/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
@@ -39,5 +39,8 @@ data class ModelApiResponse (
@field:JsonProperty("message")
val message: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-jvm-spring-2-webclient/src/main/kotlin/org/openapitools/client/models/Order.kt b/samples/client/petstore/kotlin-jvm-spring-2-webclient/src/main/kotlin/org/openapitools/client/models/Order.kt
index ded639bcd589..e49bdfc04899 100644
--- a/samples/client/petstore/kotlin-jvm-spring-2-webclient/src/main/kotlin/org/openapitools/client/models/Order.kt
+++ b/samples/client/petstore/kotlin-jvm-spring-2-webclient/src/main/kotlin/org/openapitools/client/models/Order.kt
@@ -65,5 +65,6 @@ data class Order (
@JsonProperty(value = "delivered") delivered("delivered"),
@JsonProperty(value = "unknown_default_open_api") @JsonEnumDefaultValue unknown_default_open_api("unknown_default_open_api");
}
+
}
diff --git a/samples/client/petstore/kotlin-jvm-spring-2-webclient/src/main/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/petstore/kotlin-jvm-spring-2-webclient/src/main/kotlin/org/openapitools/client/models/Pet.kt
index 62240499eb93..1b7f870840fd 100644
--- a/samples/client/petstore/kotlin-jvm-spring-2-webclient/src/main/kotlin/org/openapitools/client/models/Pet.kt
+++ b/samples/client/petstore/kotlin-jvm-spring-2-webclient/src/main/kotlin/org/openapitools/client/models/Pet.kt
@@ -68,5 +68,6 @@ data class Pet (
@JsonProperty(value = "sold") sold("sold"),
@JsonProperty(value = "unknown_default_open_api") @JsonEnumDefaultValue unknown_default_open_api("unknown_default_open_api");
}
+
}
diff --git a/samples/client/petstore/kotlin-jvm-spring-2-webclient/src/main/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/petstore/kotlin-jvm-spring-2-webclient/src/main/kotlin/org/openapitools/client/models/Tag.kt
index bfff056241ca..e0b2095ca18d 100644
--- a/samples/client/petstore/kotlin-jvm-spring-2-webclient/src/main/kotlin/org/openapitools/client/models/Tag.kt
+++ b/samples/client/petstore/kotlin-jvm-spring-2-webclient/src/main/kotlin/org/openapitools/client/models/Tag.kt
@@ -35,5 +35,8 @@ data class Tag (
@field:JsonProperty("name")
val name: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-jvm-spring-2-webclient/src/main/kotlin/org/openapitools/client/models/User.kt b/samples/client/petstore/kotlin-jvm-spring-2-webclient/src/main/kotlin/org/openapitools/client/models/User.kt
index 48cabe858981..fa771a986f24 100644
--- a/samples/client/petstore/kotlin-jvm-spring-2-webclient/src/main/kotlin/org/openapitools/client/models/User.kt
+++ b/samples/client/petstore/kotlin-jvm-spring-2-webclient/src/main/kotlin/org/openapitools/client/models/User.kt
@@ -60,5 +60,8 @@ data class User (
@field:JsonProperty("userStatus")
val userStatus: kotlin.Int? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-jvm-spring-3-restclient/README.md b/samples/client/petstore/kotlin-jvm-spring-3-restclient/README.md
index e4e111438878..f1cf0031b0c9 100644
--- a/samples/client/petstore/kotlin-jvm-spring-3-restclient/README.md
+++ b/samples/client/petstore/kotlin-jvm-spring-3-restclient/README.md
@@ -43,28 +43,28 @@ This runs all tests and packages the library.
All URIs are relative to *http://petstore.swagger.io/v2*
-Class | Method | HTTP request | Description
------------- | ------------- | ------------- | -------------
-*PetApi* | [**addPet**](docs/PetApi.md#addpet) | **POST** /pet | Add a new pet to the store
-*PetApi* | [**deletePet**](docs/PetApi.md#deletepet) | **DELETE** /pet/{petId} | Deletes a pet
-*PetApi* | [**findPetsByStatus**](docs/PetApi.md#findpetsbystatus) | **GET** /pet/findByStatus | Finds Pets by status
-*PetApi* | [**findPetsByTags**](docs/PetApi.md#findpetsbytags) | **GET** /pet/findByTags | Finds Pets by tags
-*PetApi* | [**getPetById**](docs/PetApi.md#getpetbyid) | **GET** /pet/{petId} | Find pet by ID
-*PetApi* | [**updatePet**](docs/PetApi.md#updatepet) | **PUT** /pet | Update an existing pet
-*PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatepetwithform) | **POST** /pet/{petId} | Updates a pet in the store with form data
-*PetApi* | [**uploadFile**](docs/PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image
-*StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteorder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID
-*StoreApi* | [**getInventory**](docs/StoreApi.md#getinventory) | **GET** /store/inventory | Returns pet inventories by status
-*StoreApi* | [**getOrderById**](docs/StoreApi.md#getorderbyid) | **GET** /store/order/{orderId} | Find purchase order by ID
-*StoreApi* | [**placeOrder**](docs/StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet
-*UserApi* | [**createUser**](docs/UserApi.md#createuser) | **POST** /user | Create user
-*UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createuserswitharrayinput) | **POST** /user/createWithArray | Creates list of users with given input array
-*UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createuserswithlistinput) | **POST** /user/createWithList | Creates list of users with given input array
-*UserApi* | [**deleteUser**](docs/UserApi.md#deleteuser) | **DELETE** /user/{username} | Delete user
-*UserApi* | [**getUserByName**](docs/UserApi.md#getuserbyname) | **GET** /user/{username} | Get user by user name
-*UserApi* | [**loginUser**](docs/UserApi.md#loginuser) | **GET** /user/login | Logs user into the system
-*UserApi* | [**logoutUser**](docs/UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session
-*UserApi* | [**updateUser**](docs/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user
+| Class | Method | HTTP request | Description |
+| ------------ | ------------- | ------------- | ------------- |
+| *PetApi* | [**addPet**](docs/PetApi.md#addpet) | **POST** /pet | Add a new pet to the store |
+| *PetApi* | [**deletePet**](docs/PetApi.md#deletepet) | **DELETE** /pet/{petId} | Deletes a pet |
+| *PetApi* | [**findPetsByStatus**](docs/PetApi.md#findpetsbystatus) | **GET** /pet/findByStatus | Finds Pets by status |
+| *PetApi* | [**findPetsByTags**](docs/PetApi.md#findpetsbytags) | **GET** /pet/findByTags | Finds Pets by tags |
+| *PetApi* | [**getPetById**](docs/PetApi.md#getpetbyid) | **GET** /pet/{petId} | Find pet by ID |
+| *PetApi* | [**updatePet**](docs/PetApi.md#updatepet) | **PUT** /pet | Update an existing pet |
+| *PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatepetwithform) | **POST** /pet/{petId} | Updates a pet in the store with form data |
+| *PetApi* | [**uploadFile**](docs/PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image |
+| *StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteorder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID |
+| *StoreApi* | [**getInventory**](docs/StoreApi.md#getinventory) | **GET** /store/inventory | Returns pet inventories by status |
+| *StoreApi* | [**getOrderById**](docs/StoreApi.md#getorderbyid) | **GET** /store/order/{orderId} | Find purchase order by ID |
+| *StoreApi* | [**placeOrder**](docs/StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet |
+| *UserApi* | [**createUser**](docs/UserApi.md#createuser) | **POST** /user | Create user |
+| *UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createuserswitharrayinput) | **POST** /user/createWithArray | Creates list of users with given input array |
+| *UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createuserswithlistinput) | **POST** /user/createWithList | Creates list of users with given input array |
+| *UserApi* | [**deleteUser**](docs/UserApi.md#deleteuser) | **DELETE** /user/{username} | Delete user |
+| *UserApi* | [**getUserByName**](docs/UserApi.md#getuserbyname) | **GET** /user/{username} | Get user by user name |
+| *UserApi* | [**loginUser**](docs/UserApi.md#loginuser) | **GET** /user/login | Logs user into the system |
+| *UserApi* | [**logoutUser**](docs/UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session |
+| *UserApi* | [**updateUser**](docs/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user |
diff --git a/samples/client/petstore/kotlin-jvm-spring-3-restclient/docs/ApiResponse.md b/samples/client/petstore/kotlin-jvm-spring-3-restclient/docs/ApiResponse.md
index 12f08d5cdef0..059525a99512 100644
--- a/samples/client/petstore/kotlin-jvm-spring-3-restclient/docs/ApiResponse.md
+++ b/samples/client/petstore/kotlin-jvm-spring-3-restclient/docs/ApiResponse.md
@@ -2,11 +2,11 @@
# ModelApiResponse
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**code** | **kotlin.Int** | | [optional]
-**type** | **kotlin.String** | | [optional]
-**message** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **code** | **kotlin.Int** | | [optional] |
+| **type** | **kotlin.String** | | [optional] |
+| **message** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-jvm-spring-3-restclient/docs/Category.md b/samples/client/petstore/kotlin-jvm-spring-3-restclient/docs/Category.md
index 2c28a670fc79..baba5657eb21 100644
--- a/samples/client/petstore/kotlin-jvm-spring-3-restclient/docs/Category.md
+++ b/samples/client/petstore/kotlin-jvm-spring-3-restclient/docs/Category.md
@@ -2,10 +2,10 @@
# Category
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-jvm-spring-3-restclient/docs/Order.md b/samples/client/petstore/kotlin-jvm-spring-3-restclient/docs/Order.md
index c0c951b22d33..7b7a399f7f75 100644
--- a/samples/client/petstore/kotlin-jvm-spring-3-restclient/docs/Order.md
+++ b/samples/client/petstore/kotlin-jvm-spring-3-restclient/docs/Order.md
@@ -2,21 +2,21 @@
# Order
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**petId** | **kotlin.Long** | | [optional]
-**quantity** | **kotlin.Int** | | [optional]
-**shipDate** | [**java.time.OffsetDateTime**](java.time.OffsetDateTime.md) | | [optional]
-**status** | [**inline**](#Status) | Order Status | [optional]
-**complete** | **kotlin.Boolean** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **petId** | **kotlin.Long** | | [optional] |
+| **quantity** | **kotlin.Int** | | [optional] |
+| **shipDate** | [**java.time.OffsetDateTime**](java.time.OffsetDateTime.md) | | [optional] |
+| **status** | [**inline**](#Status) | Order Status | [optional] |
+| **complete** | **kotlin.Boolean** | | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | placed, approved, delivered
+| Name | Value |
+| ---- | ----- |
+| status | placed, approved, delivered |
diff --git a/samples/client/petstore/kotlin-jvm-spring-3-restclient/docs/Pet.md b/samples/client/petstore/kotlin-jvm-spring-3-restclient/docs/Pet.md
index da70fca06e65..287312efaf94 100644
--- a/samples/client/petstore/kotlin-jvm-spring-3-restclient/docs/Pet.md
+++ b/samples/client/petstore/kotlin-jvm-spring-3-restclient/docs/Pet.md
@@ -2,21 +2,21 @@
# Pet
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**name** | **kotlin.String** | |
-**photoUrls** | **kotlin.collections.List<kotlin.String>** | |
-**id** | **kotlin.Long** | | [optional]
-**category** | [**Category**](Category.md) | | [optional]
-**tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional]
-**status** | [**inline**](#Status) | pet status in the store | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **name** | **kotlin.String** | | |
+| **photoUrls** | **kotlin.collections.List<kotlin.String>** | | |
+| **id** | **kotlin.Long** | | [optional] |
+| **category** | [**Category**](Category.md) | | [optional] |
+| **tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional] |
+| **status** | [**inline**](#Status) | pet status in the store | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | available, pending, sold
+| Name | Value |
+| ---- | ----- |
+| status | available, pending, sold |
diff --git a/samples/client/petstore/kotlin-jvm-spring-3-restclient/docs/PetApi.md b/samples/client/petstore/kotlin-jvm-spring-3-restclient/docs/PetApi.md
index 000d91fd381e..9eb15f0e7013 100644
--- a/samples/client/petstore/kotlin-jvm-spring-3-restclient/docs/PetApi.md
+++ b/samples/client/petstore/kotlin-jvm-spring-3-restclient/docs/PetApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**addPet**](PetApi.md#addPet) | **POST** /pet | Add a new pet to the store
-[**deletePet**](PetApi.md#deletePet) | **DELETE** /pet/{petId} | Deletes a pet
-[**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** /pet/findByStatus | Finds Pets by status
-[**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** /pet/findByTags | Finds Pets by tags
-[**getPetById**](PetApi.md#getPetById) | **GET** /pet/{petId} | Find pet by ID
-[**updatePet**](PetApi.md#updatePet) | **PUT** /pet | Update an existing pet
-[**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** /pet/{petId} | Updates a pet in the store with form data
-[**uploadFile**](PetApi.md#uploadFile) | **POST** /pet/{petId}/uploadImage | uploads an image
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**addPet**](PetApi.md#addPet) | **POST** /pet | Add a new pet to the store |
+| [**deletePet**](PetApi.md#deletePet) | **DELETE** /pet/{petId} | Deletes a pet |
+| [**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** /pet/findByStatus | Finds Pets by status |
+| [**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** /pet/findByTags | Finds Pets by tags |
+| [**getPetById**](PetApi.md#getPetById) | **GET** /pet/{petId} | Find pet by ID |
+| [**updatePet**](PetApi.md#updatePet) | **PUT** /pet | Update an existing pet |
+| [**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** /pet/{petId} | Updates a pet in the store with form data |
+| [**uploadFile**](PetApi.md#uploadFile) | **POST** /pet/{petId}/uploadImage | uploads an image |
@@ -43,10 +43,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **pet** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **pet** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -92,11 +91,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| Pet id to delete |
- **apiKey** | **kotlin.String**| | [optional]
+| **petId** | **kotlin.Long**| Pet id to delete | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **apiKey** | **kotlin.String**| | [optional] |
### Return type
@@ -142,10 +140,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **status** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [enum: available, pending, sold]
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **status** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [enum: available, pending, sold] |
### Return type
@@ -191,10 +188,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **tags** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Tags to filter by |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **tags** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Tags to filter by | |
### Return type
@@ -240,10 +236,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet to return |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **petId** | **kotlin.Long**| ID of pet to return | |
### Return type
@@ -290,10 +285,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **pet** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **pet** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -340,12 +334,11 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet that needs to be updated |
- **name** | **kotlin.String**| Updated name of the pet | [optional]
- **status** | **kotlin.String**| Updated status of the pet | [optional]
+| **petId** | **kotlin.Long**| ID of pet that needs to be updated | |
+| **name** | **kotlin.String**| Updated name of the pet | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **status** | **kotlin.String**| Updated status of the pet | [optional] |
### Return type
@@ -393,12 +386,11 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet to update |
- **additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional]
- **file** | **java.io.File**| file to upload | [optional]
+| **petId** | **kotlin.Long**| ID of pet to update | |
+| **additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **file** | **java.io.File**| file to upload | [optional] |
### Return type
diff --git a/samples/client/petstore/kotlin-jvm-spring-3-restclient/docs/StoreApi.md b/samples/client/petstore/kotlin-jvm-spring-3-restclient/docs/StoreApi.md
index 76ca75818c63..aac02408ec79 100644
--- a/samples/client/petstore/kotlin-jvm-spring-3-restclient/docs/StoreApi.md
+++ b/samples/client/petstore/kotlin-jvm-spring-3-restclient/docs/StoreApi.md
@@ -2,12 +2,12 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID
-[**getInventory**](StoreApi.md#getInventory) | **GET** /store/inventory | Returns pet inventories by status
-[**getOrderById**](StoreApi.md#getOrderById) | **GET** /store/order/{orderId} | Find purchase order by ID
-[**placeOrder**](StoreApi.md#placeOrder) | **POST** /store/order | Place an order for a pet
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID |
+| [**getInventory**](StoreApi.md#getInventory) | **GET** /store/inventory | Returns pet inventories by status |
+| [**getOrderById**](StoreApi.md#getOrderById) | **GET** /store/order/{orderId} | Find purchase order by ID |
+| [**placeOrder**](StoreApi.md#placeOrder) | **POST** /store/order | Place an order for a pet |
@@ -38,10 +38,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **kotlin.String**| ID of the order that needs to be deleted |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **orderId** | **kotlin.String**| ID of the order that needs to be deleted | |
### Return type
@@ -131,10 +130,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **kotlin.Long**| ID of pet that needs to be fetched |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **orderId** | **kotlin.Long**| ID of pet that needs to be fetched | |
### Return type
@@ -178,10 +176,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **order** | [**Order**](Order.md)| order placed for purchasing the pet |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **order** | [**Order**](Order.md)| order placed for purchasing the pet | |
### Return type
diff --git a/samples/client/petstore/kotlin-jvm-spring-3-restclient/docs/Tag.md b/samples/client/petstore/kotlin-jvm-spring-3-restclient/docs/Tag.md
index 60ce1bcdbad3..dc8fa3cb555d 100644
--- a/samples/client/petstore/kotlin-jvm-spring-3-restclient/docs/Tag.md
+++ b/samples/client/petstore/kotlin-jvm-spring-3-restclient/docs/Tag.md
@@ -2,10 +2,10 @@
# Tag
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-jvm-spring-3-restclient/docs/User.md b/samples/client/petstore/kotlin-jvm-spring-3-restclient/docs/User.md
index e801729b5ed1..a9f35788637e 100644
--- a/samples/client/petstore/kotlin-jvm-spring-3-restclient/docs/User.md
+++ b/samples/client/petstore/kotlin-jvm-spring-3-restclient/docs/User.md
@@ -2,16 +2,16 @@
# User
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**username** | **kotlin.String** | | [optional]
-**firstName** | **kotlin.String** | | [optional]
-**lastName** | **kotlin.String** | | [optional]
-**email** | **kotlin.String** | | [optional]
-**password** | **kotlin.String** | | [optional]
-**phone** | **kotlin.String** | | [optional]
-**userStatus** | **kotlin.Int** | User Status | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **username** | **kotlin.String** | | [optional] |
+| **firstName** | **kotlin.String** | | [optional] |
+| **lastName** | **kotlin.String** | | [optional] |
+| **email** | **kotlin.String** | | [optional] |
+| **password** | **kotlin.String** | | [optional] |
+| **phone** | **kotlin.String** | | [optional] |
+| **userStatus** | **kotlin.Int** | User Status | [optional] |
diff --git a/samples/client/petstore/kotlin-jvm-spring-3-restclient/docs/UserApi.md b/samples/client/petstore/kotlin-jvm-spring-3-restclient/docs/UserApi.md
index cc033aebee6c..055b9506b4d2 100644
--- a/samples/client/petstore/kotlin-jvm-spring-3-restclient/docs/UserApi.md
+++ b/samples/client/petstore/kotlin-jvm-spring-3-restclient/docs/UserApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**createUser**](UserApi.md#createUser) | **POST** /user | Create user
-[**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** /user/createWithArray | Creates list of users with given input array
-[**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** /user/createWithList | Creates list of users with given input array
-[**deleteUser**](UserApi.md#deleteUser) | **DELETE** /user/{username} | Delete user
-[**getUserByName**](UserApi.md#getUserByName) | **GET** /user/{username} | Get user by user name
-[**loginUser**](UserApi.md#loginUser) | **GET** /user/login | Logs user into the system
-[**logoutUser**](UserApi.md#logoutUser) | **GET** /user/logout | Logs out current logged in user session
-[**updateUser**](UserApi.md#updateUser) | **PUT** /user/{username} | Updated user
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**createUser**](UserApi.md#createUser) | **POST** /user | Create user |
+| [**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** /user/createWithArray | Creates list of users with given input array |
+| [**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** /user/createWithList | Creates list of users with given input array |
+| [**deleteUser**](UserApi.md#deleteUser) | **DELETE** /user/{username} | Delete user |
+| [**getUserByName**](UserApi.md#getUserByName) | **GET** /user/{username} | Get user by user name |
+| [**loginUser**](UserApi.md#loginUser) | **GET** /user/login | Logs user into the system |
+| [**logoutUser**](UserApi.md#logoutUser) | **GET** /user/logout | Logs out current logged in user session |
+| [**updateUser**](UserApi.md#updateUser) | **PUT** /user/{username} | Updated user |
@@ -42,10 +42,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **user** | [**User**](User.md)| Created user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **user** | [**User**](User.md)| Created user object | |
### Return type
@@ -91,10 +90,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **user** | [**kotlin.collections.List<User>**](User.md)| List of user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **user** | [**kotlin.collections.List<User>**](User.md)| List of user object | |
### Return type
@@ -140,10 +138,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **user** | [**kotlin.collections.List<User>**](User.md)| List of user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **user** | [**kotlin.collections.List<User>**](User.md)| List of user object | |
### Return type
@@ -189,10 +186,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The name that needs to be deleted |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String**| The name that needs to be deleted | |
### Return type
@@ -239,10 +235,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. | |
### Return type
@@ -287,11 +282,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The user name for login |
- **password** | **kotlin.String**| The password for login in clear text |
+| **username** | **kotlin.String**| The user name for login | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **password** | **kotlin.String**| The password for login in clear text | |
### Return type
@@ -380,11 +374,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| name that need to be deleted |
- **user** | [**User**](User.md)| Updated user object |
+| **username** | **kotlin.String**| name that need to be deleted | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **user** | [**User**](User.md)| Updated user object | |
### Return type
diff --git a/samples/client/petstore/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Category.kt b/samples/client/petstore/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Category.kt
index ff41aedca0bf..6ea4e930c6c2 100644
--- a/samples/client/petstore/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Category.kt
+++ b/samples/client/petstore/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Category.kt
@@ -35,5 +35,8 @@ data class Category (
@field:JsonProperty("name")
val name: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt b/samples/client/petstore/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
index 2a59a8f3acdb..cbd86808f1e9 100644
--- a/samples/client/petstore/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
+++ b/samples/client/petstore/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
@@ -39,5 +39,8 @@ data class ModelApiResponse (
@field:JsonProperty("message")
val message: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Order.kt b/samples/client/petstore/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Order.kt
index ded639bcd589..e49bdfc04899 100644
--- a/samples/client/petstore/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Order.kt
+++ b/samples/client/petstore/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Order.kt
@@ -65,5 +65,6 @@ data class Order (
@JsonProperty(value = "delivered") delivered("delivered"),
@JsonProperty(value = "unknown_default_open_api") @JsonEnumDefaultValue unknown_default_open_api("unknown_default_open_api");
}
+
}
diff --git a/samples/client/petstore/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/petstore/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Pet.kt
index 62240499eb93..1b7f870840fd 100644
--- a/samples/client/petstore/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Pet.kt
+++ b/samples/client/petstore/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Pet.kt
@@ -68,5 +68,6 @@ data class Pet (
@JsonProperty(value = "sold") sold("sold"),
@JsonProperty(value = "unknown_default_open_api") @JsonEnumDefaultValue unknown_default_open_api("unknown_default_open_api");
}
+
}
diff --git a/samples/client/petstore/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/petstore/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Tag.kt
index bfff056241ca..e0b2095ca18d 100644
--- a/samples/client/petstore/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Tag.kt
+++ b/samples/client/petstore/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Tag.kt
@@ -35,5 +35,8 @@ data class Tag (
@field:JsonProperty("name")
val name: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/User.kt b/samples/client/petstore/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/User.kt
index 48cabe858981..fa771a986f24 100644
--- a/samples/client/petstore/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/User.kt
+++ b/samples/client/petstore/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/User.kt
@@ -60,5 +60,8 @@ data class User (
@field:JsonProperty("userStatus")
val userStatus: kotlin.Int? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-jvm-spring-3-webclient/README.md b/samples/client/petstore/kotlin-jvm-spring-3-webclient/README.md
index e4e111438878..f1cf0031b0c9 100644
--- a/samples/client/petstore/kotlin-jvm-spring-3-webclient/README.md
+++ b/samples/client/petstore/kotlin-jvm-spring-3-webclient/README.md
@@ -43,28 +43,28 @@ This runs all tests and packages the library.
All URIs are relative to *http://petstore.swagger.io/v2*
-Class | Method | HTTP request | Description
------------- | ------------- | ------------- | -------------
-*PetApi* | [**addPet**](docs/PetApi.md#addpet) | **POST** /pet | Add a new pet to the store
-*PetApi* | [**deletePet**](docs/PetApi.md#deletepet) | **DELETE** /pet/{petId} | Deletes a pet
-*PetApi* | [**findPetsByStatus**](docs/PetApi.md#findpetsbystatus) | **GET** /pet/findByStatus | Finds Pets by status
-*PetApi* | [**findPetsByTags**](docs/PetApi.md#findpetsbytags) | **GET** /pet/findByTags | Finds Pets by tags
-*PetApi* | [**getPetById**](docs/PetApi.md#getpetbyid) | **GET** /pet/{petId} | Find pet by ID
-*PetApi* | [**updatePet**](docs/PetApi.md#updatepet) | **PUT** /pet | Update an existing pet
-*PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatepetwithform) | **POST** /pet/{petId} | Updates a pet in the store with form data
-*PetApi* | [**uploadFile**](docs/PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image
-*StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteorder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID
-*StoreApi* | [**getInventory**](docs/StoreApi.md#getinventory) | **GET** /store/inventory | Returns pet inventories by status
-*StoreApi* | [**getOrderById**](docs/StoreApi.md#getorderbyid) | **GET** /store/order/{orderId} | Find purchase order by ID
-*StoreApi* | [**placeOrder**](docs/StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet
-*UserApi* | [**createUser**](docs/UserApi.md#createuser) | **POST** /user | Create user
-*UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createuserswitharrayinput) | **POST** /user/createWithArray | Creates list of users with given input array
-*UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createuserswithlistinput) | **POST** /user/createWithList | Creates list of users with given input array
-*UserApi* | [**deleteUser**](docs/UserApi.md#deleteuser) | **DELETE** /user/{username} | Delete user
-*UserApi* | [**getUserByName**](docs/UserApi.md#getuserbyname) | **GET** /user/{username} | Get user by user name
-*UserApi* | [**loginUser**](docs/UserApi.md#loginuser) | **GET** /user/login | Logs user into the system
-*UserApi* | [**logoutUser**](docs/UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session
-*UserApi* | [**updateUser**](docs/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user
+| Class | Method | HTTP request | Description |
+| ------------ | ------------- | ------------- | ------------- |
+| *PetApi* | [**addPet**](docs/PetApi.md#addpet) | **POST** /pet | Add a new pet to the store |
+| *PetApi* | [**deletePet**](docs/PetApi.md#deletepet) | **DELETE** /pet/{petId} | Deletes a pet |
+| *PetApi* | [**findPetsByStatus**](docs/PetApi.md#findpetsbystatus) | **GET** /pet/findByStatus | Finds Pets by status |
+| *PetApi* | [**findPetsByTags**](docs/PetApi.md#findpetsbytags) | **GET** /pet/findByTags | Finds Pets by tags |
+| *PetApi* | [**getPetById**](docs/PetApi.md#getpetbyid) | **GET** /pet/{petId} | Find pet by ID |
+| *PetApi* | [**updatePet**](docs/PetApi.md#updatepet) | **PUT** /pet | Update an existing pet |
+| *PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatepetwithform) | **POST** /pet/{petId} | Updates a pet in the store with form data |
+| *PetApi* | [**uploadFile**](docs/PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image |
+| *StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteorder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID |
+| *StoreApi* | [**getInventory**](docs/StoreApi.md#getinventory) | **GET** /store/inventory | Returns pet inventories by status |
+| *StoreApi* | [**getOrderById**](docs/StoreApi.md#getorderbyid) | **GET** /store/order/{orderId} | Find purchase order by ID |
+| *StoreApi* | [**placeOrder**](docs/StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet |
+| *UserApi* | [**createUser**](docs/UserApi.md#createuser) | **POST** /user | Create user |
+| *UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createuserswitharrayinput) | **POST** /user/createWithArray | Creates list of users with given input array |
+| *UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createuserswithlistinput) | **POST** /user/createWithList | Creates list of users with given input array |
+| *UserApi* | [**deleteUser**](docs/UserApi.md#deleteuser) | **DELETE** /user/{username} | Delete user |
+| *UserApi* | [**getUserByName**](docs/UserApi.md#getuserbyname) | **GET** /user/{username} | Get user by user name |
+| *UserApi* | [**loginUser**](docs/UserApi.md#loginuser) | **GET** /user/login | Logs user into the system |
+| *UserApi* | [**logoutUser**](docs/UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session |
+| *UserApi* | [**updateUser**](docs/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user |
diff --git a/samples/client/petstore/kotlin-jvm-spring-3-webclient/docs/ApiResponse.md b/samples/client/petstore/kotlin-jvm-spring-3-webclient/docs/ApiResponse.md
index 12f08d5cdef0..059525a99512 100644
--- a/samples/client/petstore/kotlin-jvm-spring-3-webclient/docs/ApiResponse.md
+++ b/samples/client/petstore/kotlin-jvm-spring-3-webclient/docs/ApiResponse.md
@@ -2,11 +2,11 @@
# ModelApiResponse
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**code** | **kotlin.Int** | | [optional]
-**type** | **kotlin.String** | | [optional]
-**message** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **code** | **kotlin.Int** | | [optional] |
+| **type** | **kotlin.String** | | [optional] |
+| **message** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-jvm-spring-3-webclient/docs/Category.md b/samples/client/petstore/kotlin-jvm-spring-3-webclient/docs/Category.md
index 2c28a670fc79..baba5657eb21 100644
--- a/samples/client/petstore/kotlin-jvm-spring-3-webclient/docs/Category.md
+++ b/samples/client/petstore/kotlin-jvm-spring-3-webclient/docs/Category.md
@@ -2,10 +2,10 @@
# Category
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-jvm-spring-3-webclient/docs/Order.md b/samples/client/petstore/kotlin-jvm-spring-3-webclient/docs/Order.md
index c0c951b22d33..7b7a399f7f75 100644
--- a/samples/client/petstore/kotlin-jvm-spring-3-webclient/docs/Order.md
+++ b/samples/client/petstore/kotlin-jvm-spring-3-webclient/docs/Order.md
@@ -2,21 +2,21 @@
# Order
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**petId** | **kotlin.Long** | | [optional]
-**quantity** | **kotlin.Int** | | [optional]
-**shipDate** | [**java.time.OffsetDateTime**](java.time.OffsetDateTime.md) | | [optional]
-**status** | [**inline**](#Status) | Order Status | [optional]
-**complete** | **kotlin.Boolean** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **petId** | **kotlin.Long** | | [optional] |
+| **quantity** | **kotlin.Int** | | [optional] |
+| **shipDate** | [**java.time.OffsetDateTime**](java.time.OffsetDateTime.md) | | [optional] |
+| **status** | [**inline**](#Status) | Order Status | [optional] |
+| **complete** | **kotlin.Boolean** | | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | placed, approved, delivered
+| Name | Value |
+| ---- | ----- |
+| status | placed, approved, delivered |
diff --git a/samples/client/petstore/kotlin-jvm-spring-3-webclient/docs/Pet.md b/samples/client/petstore/kotlin-jvm-spring-3-webclient/docs/Pet.md
index da70fca06e65..287312efaf94 100644
--- a/samples/client/petstore/kotlin-jvm-spring-3-webclient/docs/Pet.md
+++ b/samples/client/petstore/kotlin-jvm-spring-3-webclient/docs/Pet.md
@@ -2,21 +2,21 @@
# Pet
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**name** | **kotlin.String** | |
-**photoUrls** | **kotlin.collections.List<kotlin.String>** | |
-**id** | **kotlin.Long** | | [optional]
-**category** | [**Category**](Category.md) | | [optional]
-**tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional]
-**status** | [**inline**](#Status) | pet status in the store | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **name** | **kotlin.String** | | |
+| **photoUrls** | **kotlin.collections.List<kotlin.String>** | | |
+| **id** | **kotlin.Long** | | [optional] |
+| **category** | [**Category**](Category.md) | | [optional] |
+| **tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional] |
+| **status** | [**inline**](#Status) | pet status in the store | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | available, pending, sold
+| Name | Value |
+| ---- | ----- |
+| status | available, pending, sold |
diff --git a/samples/client/petstore/kotlin-jvm-spring-3-webclient/docs/PetApi.md b/samples/client/petstore/kotlin-jvm-spring-3-webclient/docs/PetApi.md
index 000d91fd381e..9eb15f0e7013 100644
--- a/samples/client/petstore/kotlin-jvm-spring-3-webclient/docs/PetApi.md
+++ b/samples/client/petstore/kotlin-jvm-spring-3-webclient/docs/PetApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**addPet**](PetApi.md#addPet) | **POST** /pet | Add a new pet to the store
-[**deletePet**](PetApi.md#deletePet) | **DELETE** /pet/{petId} | Deletes a pet
-[**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** /pet/findByStatus | Finds Pets by status
-[**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** /pet/findByTags | Finds Pets by tags
-[**getPetById**](PetApi.md#getPetById) | **GET** /pet/{petId} | Find pet by ID
-[**updatePet**](PetApi.md#updatePet) | **PUT** /pet | Update an existing pet
-[**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** /pet/{petId} | Updates a pet in the store with form data
-[**uploadFile**](PetApi.md#uploadFile) | **POST** /pet/{petId}/uploadImage | uploads an image
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**addPet**](PetApi.md#addPet) | **POST** /pet | Add a new pet to the store |
+| [**deletePet**](PetApi.md#deletePet) | **DELETE** /pet/{petId} | Deletes a pet |
+| [**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** /pet/findByStatus | Finds Pets by status |
+| [**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** /pet/findByTags | Finds Pets by tags |
+| [**getPetById**](PetApi.md#getPetById) | **GET** /pet/{petId} | Find pet by ID |
+| [**updatePet**](PetApi.md#updatePet) | **PUT** /pet | Update an existing pet |
+| [**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** /pet/{petId} | Updates a pet in the store with form data |
+| [**uploadFile**](PetApi.md#uploadFile) | **POST** /pet/{petId}/uploadImage | uploads an image |
@@ -43,10 +43,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **pet** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **pet** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -92,11 +91,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| Pet id to delete |
- **apiKey** | **kotlin.String**| | [optional]
+| **petId** | **kotlin.Long**| Pet id to delete | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **apiKey** | **kotlin.String**| | [optional] |
### Return type
@@ -142,10 +140,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **status** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [enum: available, pending, sold]
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **status** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [enum: available, pending, sold] |
### Return type
@@ -191,10 +188,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **tags** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Tags to filter by |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **tags** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Tags to filter by | |
### Return type
@@ -240,10 +236,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet to return |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **petId** | **kotlin.Long**| ID of pet to return | |
### Return type
@@ -290,10 +285,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **pet** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **pet** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -340,12 +334,11 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet that needs to be updated |
- **name** | **kotlin.String**| Updated name of the pet | [optional]
- **status** | **kotlin.String**| Updated status of the pet | [optional]
+| **petId** | **kotlin.Long**| ID of pet that needs to be updated | |
+| **name** | **kotlin.String**| Updated name of the pet | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **status** | **kotlin.String**| Updated status of the pet | [optional] |
### Return type
@@ -393,12 +386,11 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet to update |
- **additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional]
- **file** | **java.io.File**| file to upload | [optional]
+| **petId** | **kotlin.Long**| ID of pet to update | |
+| **additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **file** | **java.io.File**| file to upload | [optional] |
### Return type
diff --git a/samples/client/petstore/kotlin-jvm-spring-3-webclient/docs/StoreApi.md b/samples/client/petstore/kotlin-jvm-spring-3-webclient/docs/StoreApi.md
index 76ca75818c63..aac02408ec79 100644
--- a/samples/client/petstore/kotlin-jvm-spring-3-webclient/docs/StoreApi.md
+++ b/samples/client/petstore/kotlin-jvm-spring-3-webclient/docs/StoreApi.md
@@ -2,12 +2,12 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID
-[**getInventory**](StoreApi.md#getInventory) | **GET** /store/inventory | Returns pet inventories by status
-[**getOrderById**](StoreApi.md#getOrderById) | **GET** /store/order/{orderId} | Find purchase order by ID
-[**placeOrder**](StoreApi.md#placeOrder) | **POST** /store/order | Place an order for a pet
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID |
+| [**getInventory**](StoreApi.md#getInventory) | **GET** /store/inventory | Returns pet inventories by status |
+| [**getOrderById**](StoreApi.md#getOrderById) | **GET** /store/order/{orderId} | Find purchase order by ID |
+| [**placeOrder**](StoreApi.md#placeOrder) | **POST** /store/order | Place an order for a pet |
@@ -38,10 +38,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **kotlin.String**| ID of the order that needs to be deleted |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **orderId** | **kotlin.String**| ID of the order that needs to be deleted | |
### Return type
@@ -131,10 +130,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **kotlin.Long**| ID of pet that needs to be fetched |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **orderId** | **kotlin.Long**| ID of pet that needs to be fetched | |
### Return type
@@ -178,10 +176,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **order** | [**Order**](Order.md)| order placed for purchasing the pet |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **order** | [**Order**](Order.md)| order placed for purchasing the pet | |
### Return type
diff --git a/samples/client/petstore/kotlin-jvm-spring-3-webclient/docs/Tag.md b/samples/client/petstore/kotlin-jvm-spring-3-webclient/docs/Tag.md
index 60ce1bcdbad3..dc8fa3cb555d 100644
--- a/samples/client/petstore/kotlin-jvm-spring-3-webclient/docs/Tag.md
+++ b/samples/client/petstore/kotlin-jvm-spring-3-webclient/docs/Tag.md
@@ -2,10 +2,10 @@
# Tag
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-jvm-spring-3-webclient/docs/User.md b/samples/client/petstore/kotlin-jvm-spring-3-webclient/docs/User.md
index e801729b5ed1..a9f35788637e 100644
--- a/samples/client/petstore/kotlin-jvm-spring-3-webclient/docs/User.md
+++ b/samples/client/petstore/kotlin-jvm-spring-3-webclient/docs/User.md
@@ -2,16 +2,16 @@
# User
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**username** | **kotlin.String** | | [optional]
-**firstName** | **kotlin.String** | | [optional]
-**lastName** | **kotlin.String** | | [optional]
-**email** | **kotlin.String** | | [optional]
-**password** | **kotlin.String** | | [optional]
-**phone** | **kotlin.String** | | [optional]
-**userStatus** | **kotlin.Int** | User Status | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **username** | **kotlin.String** | | [optional] |
+| **firstName** | **kotlin.String** | | [optional] |
+| **lastName** | **kotlin.String** | | [optional] |
+| **email** | **kotlin.String** | | [optional] |
+| **password** | **kotlin.String** | | [optional] |
+| **phone** | **kotlin.String** | | [optional] |
+| **userStatus** | **kotlin.Int** | User Status | [optional] |
diff --git a/samples/client/petstore/kotlin-jvm-spring-3-webclient/docs/UserApi.md b/samples/client/petstore/kotlin-jvm-spring-3-webclient/docs/UserApi.md
index cc033aebee6c..055b9506b4d2 100644
--- a/samples/client/petstore/kotlin-jvm-spring-3-webclient/docs/UserApi.md
+++ b/samples/client/petstore/kotlin-jvm-spring-3-webclient/docs/UserApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**createUser**](UserApi.md#createUser) | **POST** /user | Create user
-[**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** /user/createWithArray | Creates list of users with given input array
-[**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** /user/createWithList | Creates list of users with given input array
-[**deleteUser**](UserApi.md#deleteUser) | **DELETE** /user/{username} | Delete user
-[**getUserByName**](UserApi.md#getUserByName) | **GET** /user/{username} | Get user by user name
-[**loginUser**](UserApi.md#loginUser) | **GET** /user/login | Logs user into the system
-[**logoutUser**](UserApi.md#logoutUser) | **GET** /user/logout | Logs out current logged in user session
-[**updateUser**](UserApi.md#updateUser) | **PUT** /user/{username} | Updated user
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**createUser**](UserApi.md#createUser) | **POST** /user | Create user |
+| [**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** /user/createWithArray | Creates list of users with given input array |
+| [**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** /user/createWithList | Creates list of users with given input array |
+| [**deleteUser**](UserApi.md#deleteUser) | **DELETE** /user/{username} | Delete user |
+| [**getUserByName**](UserApi.md#getUserByName) | **GET** /user/{username} | Get user by user name |
+| [**loginUser**](UserApi.md#loginUser) | **GET** /user/login | Logs user into the system |
+| [**logoutUser**](UserApi.md#logoutUser) | **GET** /user/logout | Logs out current logged in user session |
+| [**updateUser**](UserApi.md#updateUser) | **PUT** /user/{username} | Updated user |
@@ -42,10 +42,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **user** | [**User**](User.md)| Created user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **user** | [**User**](User.md)| Created user object | |
### Return type
@@ -91,10 +90,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **user** | [**kotlin.collections.List<User>**](User.md)| List of user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **user** | [**kotlin.collections.List<User>**](User.md)| List of user object | |
### Return type
@@ -140,10 +138,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **user** | [**kotlin.collections.List<User>**](User.md)| List of user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **user** | [**kotlin.collections.List<User>**](User.md)| List of user object | |
### Return type
@@ -189,10 +186,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The name that needs to be deleted |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String**| The name that needs to be deleted | |
### Return type
@@ -239,10 +235,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. | |
### Return type
@@ -287,11 +282,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The user name for login |
- **password** | **kotlin.String**| The password for login in clear text |
+| **username** | **kotlin.String**| The user name for login | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **password** | **kotlin.String**| The password for login in clear text | |
### Return type
@@ -380,11 +374,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| name that need to be deleted |
- **user** | [**User**](User.md)| Updated user object |
+| **username** | **kotlin.String**| name that need to be deleted | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **user** | [**User**](User.md)| Updated user object | |
### Return type
diff --git a/samples/client/petstore/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Category.kt b/samples/client/petstore/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Category.kt
index ff41aedca0bf..6ea4e930c6c2 100644
--- a/samples/client/petstore/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Category.kt
+++ b/samples/client/petstore/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Category.kt
@@ -35,5 +35,8 @@ data class Category (
@field:JsonProperty("name")
val name: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt b/samples/client/petstore/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
index 2a59a8f3acdb..cbd86808f1e9 100644
--- a/samples/client/petstore/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
+++ b/samples/client/petstore/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
@@ -39,5 +39,8 @@ data class ModelApiResponse (
@field:JsonProperty("message")
val message: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Order.kt b/samples/client/petstore/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Order.kt
index ded639bcd589..e49bdfc04899 100644
--- a/samples/client/petstore/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Order.kt
+++ b/samples/client/petstore/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Order.kt
@@ -65,5 +65,6 @@ data class Order (
@JsonProperty(value = "delivered") delivered("delivered"),
@JsonProperty(value = "unknown_default_open_api") @JsonEnumDefaultValue unknown_default_open_api("unknown_default_open_api");
}
+
}
diff --git a/samples/client/petstore/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/petstore/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Pet.kt
index 62240499eb93..1b7f870840fd 100644
--- a/samples/client/petstore/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Pet.kt
+++ b/samples/client/petstore/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Pet.kt
@@ -68,5 +68,6 @@ data class Pet (
@JsonProperty(value = "sold") sold("sold"),
@JsonProperty(value = "unknown_default_open_api") @JsonEnumDefaultValue unknown_default_open_api("unknown_default_open_api");
}
+
}
diff --git a/samples/client/petstore/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/petstore/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Tag.kt
index bfff056241ca..e0b2095ca18d 100644
--- a/samples/client/petstore/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Tag.kt
+++ b/samples/client/petstore/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Tag.kt
@@ -35,5 +35,8 @@ data class Tag (
@field:JsonProperty("name")
val name: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/User.kt b/samples/client/petstore/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/User.kt
index 48cabe858981..fa771a986f24 100644
--- a/samples/client/petstore/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/User.kt
+++ b/samples/client/petstore/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/User.kt
@@ -60,5 +60,8 @@ data class User (
@field:JsonProperty("userStatus")
val userStatus: kotlin.Int? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-jvm-vertx-gson/README.md b/samples/client/petstore/kotlin-jvm-vertx-gson/README.md
index e4e111438878..f1cf0031b0c9 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-gson/README.md
+++ b/samples/client/petstore/kotlin-jvm-vertx-gson/README.md
@@ -43,28 +43,28 @@ This runs all tests and packages the library.
All URIs are relative to *http://petstore.swagger.io/v2*
-Class | Method | HTTP request | Description
------------- | ------------- | ------------- | -------------
-*PetApi* | [**addPet**](docs/PetApi.md#addpet) | **POST** /pet | Add a new pet to the store
-*PetApi* | [**deletePet**](docs/PetApi.md#deletepet) | **DELETE** /pet/{petId} | Deletes a pet
-*PetApi* | [**findPetsByStatus**](docs/PetApi.md#findpetsbystatus) | **GET** /pet/findByStatus | Finds Pets by status
-*PetApi* | [**findPetsByTags**](docs/PetApi.md#findpetsbytags) | **GET** /pet/findByTags | Finds Pets by tags
-*PetApi* | [**getPetById**](docs/PetApi.md#getpetbyid) | **GET** /pet/{petId} | Find pet by ID
-*PetApi* | [**updatePet**](docs/PetApi.md#updatepet) | **PUT** /pet | Update an existing pet
-*PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatepetwithform) | **POST** /pet/{petId} | Updates a pet in the store with form data
-*PetApi* | [**uploadFile**](docs/PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image
-*StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteorder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID
-*StoreApi* | [**getInventory**](docs/StoreApi.md#getinventory) | **GET** /store/inventory | Returns pet inventories by status
-*StoreApi* | [**getOrderById**](docs/StoreApi.md#getorderbyid) | **GET** /store/order/{orderId} | Find purchase order by ID
-*StoreApi* | [**placeOrder**](docs/StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet
-*UserApi* | [**createUser**](docs/UserApi.md#createuser) | **POST** /user | Create user
-*UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createuserswitharrayinput) | **POST** /user/createWithArray | Creates list of users with given input array
-*UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createuserswithlistinput) | **POST** /user/createWithList | Creates list of users with given input array
-*UserApi* | [**deleteUser**](docs/UserApi.md#deleteuser) | **DELETE** /user/{username} | Delete user
-*UserApi* | [**getUserByName**](docs/UserApi.md#getuserbyname) | **GET** /user/{username} | Get user by user name
-*UserApi* | [**loginUser**](docs/UserApi.md#loginuser) | **GET** /user/login | Logs user into the system
-*UserApi* | [**logoutUser**](docs/UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session
-*UserApi* | [**updateUser**](docs/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user
+| Class | Method | HTTP request | Description |
+| ------------ | ------------- | ------------- | ------------- |
+| *PetApi* | [**addPet**](docs/PetApi.md#addpet) | **POST** /pet | Add a new pet to the store |
+| *PetApi* | [**deletePet**](docs/PetApi.md#deletepet) | **DELETE** /pet/{petId} | Deletes a pet |
+| *PetApi* | [**findPetsByStatus**](docs/PetApi.md#findpetsbystatus) | **GET** /pet/findByStatus | Finds Pets by status |
+| *PetApi* | [**findPetsByTags**](docs/PetApi.md#findpetsbytags) | **GET** /pet/findByTags | Finds Pets by tags |
+| *PetApi* | [**getPetById**](docs/PetApi.md#getpetbyid) | **GET** /pet/{petId} | Find pet by ID |
+| *PetApi* | [**updatePet**](docs/PetApi.md#updatepet) | **PUT** /pet | Update an existing pet |
+| *PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatepetwithform) | **POST** /pet/{petId} | Updates a pet in the store with form data |
+| *PetApi* | [**uploadFile**](docs/PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image |
+| *StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteorder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID |
+| *StoreApi* | [**getInventory**](docs/StoreApi.md#getinventory) | **GET** /store/inventory | Returns pet inventories by status |
+| *StoreApi* | [**getOrderById**](docs/StoreApi.md#getorderbyid) | **GET** /store/order/{orderId} | Find purchase order by ID |
+| *StoreApi* | [**placeOrder**](docs/StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet |
+| *UserApi* | [**createUser**](docs/UserApi.md#createuser) | **POST** /user | Create user |
+| *UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createuserswitharrayinput) | **POST** /user/createWithArray | Creates list of users with given input array |
+| *UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createuserswithlistinput) | **POST** /user/createWithList | Creates list of users with given input array |
+| *UserApi* | [**deleteUser**](docs/UserApi.md#deleteuser) | **DELETE** /user/{username} | Delete user |
+| *UserApi* | [**getUserByName**](docs/UserApi.md#getuserbyname) | **GET** /user/{username} | Get user by user name |
+| *UserApi* | [**loginUser**](docs/UserApi.md#loginuser) | **GET** /user/login | Logs user into the system |
+| *UserApi* | [**logoutUser**](docs/UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session |
+| *UserApi* | [**updateUser**](docs/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user |
diff --git a/samples/client/petstore/kotlin-jvm-vertx-gson/docs/ApiResponse.md b/samples/client/petstore/kotlin-jvm-vertx-gson/docs/ApiResponse.md
index 12f08d5cdef0..059525a99512 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-gson/docs/ApiResponse.md
+++ b/samples/client/petstore/kotlin-jvm-vertx-gson/docs/ApiResponse.md
@@ -2,11 +2,11 @@
# ModelApiResponse
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**code** | **kotlin.Int** | | [optional]
-**type** | **kotlin.String** | | [optional]
-**message** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **code** | **kotlin.Int** | | [optional] |
+| **type** | **kotlin.String** | | [optional] |
+| **message** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-jvm-vertx-gson/docs/Category.md b/samples/client/petstore/kotlin-jvm-vertx-gson/docs/Category.md
index 2c28a670fc79..baba5657eb21 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-gson/docs/Category.md
+++ b/samples/client/petstore/kotlin-jvm-vertx-gson/docs/Category.md
@@ -2,10 +2,10 @@
# Category
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-jvm-vertx-gson/docs/Order.md b/samples/client/petstore/kotlin-jvm-vertx-gson/docs/Order.md
index c0c951b22d33..7b7a399f7f75 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-gson/docs/Order.md
+++ b/samples/client/petstore/kotlin-jvm-vertx-gson/docs/Order.md
@@ -2,21 +2,21 @@
# Order
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**petId** | **kotlin.Long** | | [optional]
-**quantity** | **kotlin.Int** | | [optional]
-**shipDate** | [**java.time.OffsetDateTime**](java.time.OffsetDateTime.md) | | [optional]
-**status** | [**inline**](#Status) | Order Status | [optional]
-**complete** | **kotlin.Boolean** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **petId** | **kotlin.Long** | | [optional] |
+| **quantity** | **kotlin.Int** | | [optional] |
+| **shipDate** | [**java.time.OffsetDateTime**](java.time.OffsetDateTime.md) | | [optional] |
+| **status** | [**inline**](#Status) | Order Status | [optional] |
+| **complete** | **kotlin.Boolean** | | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | placed, approved, delivered
+| Name | Value |
+| ---- | ----- |
+| status | placed, approved, delivered |
diff --git a/samples/client/petstore/kotlin-jvm-vertx-gson/docs/Pet.md b/samples/client/petstore/kotlin-jvm-vertx-gson/docs/Pet.md
index da70fca06e65..287312efaf94 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-gson/docs/Pet.md
+++ b/samples/client/petstore/kotlin-jvm-vertx-gson/docs/Pet.md
@@ -2,21 +2,21 @@
# Pet
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**name** | **kotlin.String** | |
-**photoUrls** | **kotlin.collections.List<kotlin.String>** | |
-**id** | **kotlin.Long** | | [optional]
-**category** | [**Category**](Category.md) | | [optional]
-**tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional]
-**status** | [**inline**](#Status) | pet status in the store | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **name** | **kotlin.String** | | |
+| **photoUrls** | **kotlin.collections.List<kotlin.String>** | | |
+| **id** | **kotlin.Long** | | [optional] |
+| **category** | [**Category**](Category.md) | | [optional] |
+| **tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional] |
+| **status** | [**inline**](#Status) | pet status in the store | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | available, pending, sold
+| Name | Value |
+| ---- | ----- |
+| status | available, pending, sold |
diff --git a/samples/client/petstore/kotlin-jvm-vertx-gson/docs/PetApi.md b/samples/client/petstore/kotlin-jvm-vertx-gson/docs/PetApi.md
index 000d91fd381e..9eb15f0e7013 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-gson/docs/PetApi.md
+++ b/samples/client/petstore/kotlin-jvm-vertx-gson/docs/PetApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**addPet**](PetApi.md#addPet) | **POST** /pet | Add a new pet to the store
-[**deletePet**](PetApi.md#deletePet) | **DELETE** /pet/{petId} | Deletes a pet
-[**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** /pet/findByStatus | Finds Pets by status
-[**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** /pet/findByTags | Finds Pets by tags
-[**getPetById**](PetApi.md#getPetById) | **GET** /pet/{petId} | Find pet by ID
-[**updatePet**](PetApi.md#updatePet) | **PUT** /pet | Update an existing pet
-[**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** /pet/{petId} | Updates a pet in the store with form data
-[**uploadFile**](PetApi.md#uploadFile) | **POST** /pet/{petId}/uploadImage | uploads an image
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**addPet**](PetApi.md#addPet) | **POST** /pet | Add a new pet to the store |
+| [**deletePet**](PetApi.md#deletePet) | **DELETE** /pet/{petId} | Deletes a pet |
+| [**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** /pet/findByStatus | Finds Pets by status |
+| [**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** /pet/findByTags | Finds Pets by tags |
+| [**getPetById**](PetApi.md#getPetById) | **GET** /pet/{petId} | Find pet by ID |
+| [**updatePet**](PetApi.md#updatePet) | **PUT** /pet | Update an existing pet |
+| [**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** /pet/{petId} | Updates a pet in the store with form data |
+| [**uploadFile**](PetApi.md#uploadFile) | **POST** /pet/{petId}/uploadImage | uploads an image |
@@ -43,10 +43,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **pet** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **pet** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -92,11 +91,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| Pet id to delete |
- **apiKey** | **kotlin.String**| | [optional]
+| **petId** | **kotlin.Long**| Pet id to delete | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **apiKey** | **kotlin.String**| | [optional] |
### Return type
@@ -142,10 +140,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **status** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [enum: available, pending, sold]
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **status** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [enum: available, pending, sold] |
### Return type
@@ -191,10 +188,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **tags** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Tags to filter by |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **tags** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Tags to filter by | |
### Return type
@@ -240,10 +236,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet to return |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **petId** | **kotlin.Long**| ID of pet to return | |
### Return type
@@ -290,10 +285,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **pet** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **pet** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -340,12 +334,11 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet that needs to be updated |
- **name** | **kotlin.String**| Updated name of the pet | [optional]
- **status** | **kotlin.String**| Updated status of the pet | [optional]
+| **petId** | **kotlin.Long**| ID of pet that needs to be updated | |
+| **name** | **kotlin.String**| Updated name of the pet | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **status** | **kotlin.String**| Updated status of the pet | [optional] |
### Return type
@@ -393,12 +386,11 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet to update |
- **additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional]
- **file** | **java.io.File**| file to upload | [optional]
+| **petId** | **kotlin.Long**| ID of pet to update | |
+| **additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **file** | **java.io.File**| file to upload | [optional] |
### Return type
diff --git a/samples/client/petstore/kotlin-jvm-vertx-gson/docs/StoreApi.md b/samples/client/petstore/kotlin-jvm-vertx-gson/docs/StoreApi.md
index 76ca75818c63..aac02408ec79 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-gson/docs/StoreApi.md
+++ b/samples/client/petstore/kotlin-jvm-vertx-gson/docs/StoreApi.md
@@ -2,12 +2,12 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID
-[**getInventory**](StoreApi.md#getInventory) | **GET** /store/inventory | Returns pet inventories by status
-[**getOrderById**](StoreApi.md#getOrderById) | **GET** /store/order/{orderId} | Find purchase order by ID
-[**placeOrder**](StoreApi.md#placeOrder) | **POST** /store/order | Place an order for a pet
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID |
+| [**getInventory**](StoreApi.md#getInventory) | **GET** /store/inventory | Returns pet inventories by status |
+| [**getOrderById**](StoreApi.md#getOrderById) | **GET** /store/order/{orderId} | Find purchase order by ID |
+| [**placeOrder**](StoreApi.md#placeOrder) | **POST** /store/order | Place an order for a pet |
@@ -38,10 +38,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **kotlin.String**| ID of the order that needs to be deleted |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **orderId** | **kotlin.String**| ID of the order that needs to be deleted | |
### Return type
@@ -131,10 +130,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **kotlin.Long**| ID of pet that needs to be fetched |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **orderId** | **kotlin.Long**| ID of pet that needs to be fetched | |
### Return type
@@ -178,10 +176,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **order** | [**Order**](Order.md)| order placed for purchasing the pet |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **order** | [**Order**](Order.md)| order placed for purchasing the pet | |
### Return type
diff --git a/samples/client/petstore/kotlin-jvm-vertx-gson/docs/Tag.md b/samples/client/petstore/kotlin-jvm-vertx-gson/docs/Tag.md
index 60ce1bcdbad3..dc8fa3cb555d 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-gson/docs/Tag.md
+++ b/samples/client/petstore/kotlin-jvm-vertx-gson/docs/Tag.md
@@ -2,10 +2,10 @@
# Tag
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-jvm-vertx-gson/docs/User.md b/samples/client/petstore/kotlin-jvm-vertx-gson/docs/User.md
index e801729b5ed1..a9f35788637e 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-gson/docs/User.md
+++ b/samples/client/petstore/kotlin-jvm-vertx-gson/docs/User.md
@@ -2,16 +2,16 @@
# User
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**username** | **kotlin.String** | | [optional]
-**firstName** | **kotlin.String** | | [optional]
-**lastName** | **kotlin.String** | | [optional]
-**email** | **kotlin.String** | | [optional]
-**password** | **kotlin.String** | | [optional]
-**phone** | **kotlin.String** | | [optional]
-**userStatus** | **kotlin.Int** | User Status | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **username** | **kotlin.String** | | [optional] |
+| **firstName** | **kotlin.String** | | [optional] |
+| **lastName** | **kotlin.String** | | [optional] |
+| **email** | **kotlin.String** | | [optional] |
+| **password** | **kotlin.String** | | [optional] |
+| **phone** | **kotlin.String** | | [optional] |
+| **userStatus** | **kotlin.Int** | User Status | [optional] |
diff --git a/samples/client/petstore/kotlin-jvm-vertx-gson/docs/UserApi.md b/samples/client/petstore/kotlin-jvm-vertx-gson/docs/UserApi.md
index cc033aebee6c..055b9506b4d2 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-gson/docs/UserApi.md
+++ b/samples/client/petstore/kotlin-jvm-vertx-gson/docs/UserApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**createUser**](UserApi.md#createUser) | **POST** /user | Create user
-[**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** /user/createWithArray | Creates list of users with given input array
-[**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** /user/createWithList | Creates list of users with given input array
-[**deleteUser**](UserApi.md#deleteUser) | **DELETE** /user/{username} | Delete user
-[**getUserByName**](UserApi.md#getUserByName) | **GET** /user/{username} | Get user by user name
-[**loginUser**](UserApi.md#loginUser) | **GET** /user/login | Logs user into the system
-[**logoutUser**](UserApi.md#logoutUser) | **GET** /user/logout | Logs out current logged in user session
-[**updateUser**](UserApi.md#updateUser) | **PUT** /user/{username} | Updated user
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**createUser**](UserApi.md#createUser) | **POST** /user | Create user |
+| [**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** /user/createWithArray | Creates list of users with given input array |
+| [**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** /user/createWithList | Creates list of users with given input array |
+| [**deleteUser**](UserApi.md#deleteUser) | **DELETE** /user/{username} | Delete user |
+| [**getUserByName**](UserApi.md#getUserByName) | **GET** /user/{username} | Get user by user name |
+| [**loginUser**](UserApi.md#loginUser) | **GET** /user/login | Logs user into the system |
+| [**logoutUser**](UserApi.md#logoutUser) | **GET** /user/logout | Logs out current logged in user session |
+| [**updateUser**](UserApi.md#updateUser) | **PUT** /user/{username} | Updated user |
@@ -42,10 +42,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **user** | [**User**](User.md)| Created user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **user** | [**User**](User.md)| Created user object | |
### Return type
@@ -91,10 +90,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **user** | [**kotlin.collections.List<User>**](User.md)| List of user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **user** | [**kotlin.collections.List<User>**](User.md)| List of user object | |
### Return type
@@ -140,10 +138,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **user** | [**kotlin.collections.List<User>**](User.md)| List of user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **user** | [**kotlin.collections.List<User>**](User.md)| List of user object | |
### Return type
@@ -189,10 +186,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The name that needs to be deleted |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String**| The name that needs to be deleted | |
### Return type
@@ -239,10 +235,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. | |
### Return type
@@ -287,11 +282,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The user name for login |
- **password** | **kotlin.String**| The password for login in clear text |
+| **username** | **kotlin.String**| The user name for login | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **password** | **kotlin.String**| The password for login in clear text | |
### Return type
@@ -380,11 +374,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| name that need to be deleted |
- **user** | [**User**](User.md)| Updated user object |
+| **username** | **kotlin.String**| name that need to be deleted | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **user** | [**User**](User.md)| Updated user object | |
### Return type
diff --git a/samples/client/petstore/kotlin-jvm-vertx-gson/src/main/kotlin/org/openapitools/client/models/Category.kt b/samples/client/petstore/kotlin-jvm-vertx-gson/src/main/kotlin/org/openapitools/client/models/Category.kt
index 2601d6552e70..87eacb1365a5 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-gson/src/main/kotlin/org/openapitools/client/models/Category.kt
+++ b/samples/client/petstore/kotlin-jvm-vertx-gson/src/main/kotlin/org/openapitools/client/models/Category.kt
@@ -34,5 +34,8 @@ data class Category (
@SerializedName("name")
val name: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-jvm-vertx-gson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt b/samples/client/petstore/kotlin-jvm-vertx-gson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
index 683e7501919d..fe2d51d4ef04 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-gson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
+++ b/samples/client/petstore/kotlin-jvm-vertx-gson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
@@ -38,5 +38,8 @@ data class ModelApiResponse (
@SerializedName("message")
val message: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-jvm-vertx-gson/src/main/kotlin/org/openapitools/client/models/Order.kt b/samples/client/petstore/kotlin-jvm-vertx-gson/src/main/kotlin/org/openapitools/client/models/Order.kt
index 81eb2947f315..b9f182f53b53 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-gson/src/main/kotlin/org/openapitools/client/models/Order.kt
+++ b/samples/client/petstore/kotlin-jvm-vertx-gson/src/main/kotlin/org/openapitools/client/models/Order.kt
@@ -63,5 +63,6 @@ data class Order (
@SerializedName(value = "approved") approved("approved"),
@SerializedName(value = "delivered") delivered("delivered");
}
+
}
diff --git a/samples/client/petstore/kotlin-jvm-vertx-gson/src/main/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/petstore/kotlin-jvm-vertx-gson/src/main/kotlin/org/openapitools/client/models/Pet.kt
index 724e4845b7c8..ee5d18ec9900 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-gson/src/main/kotlin/org/openapitools/client/models/Pet.kt
+++ b/samples/client/petstore/kotlin-jvm-vertx-gson/src/main/kotlin/org/openapitools/client/models/Pet.kt
@@ -66,5 +66,6 @@ data class Pet (
@SerializedName(value = "pending") pending("pending"),
@SerializedName(value = "sold") sold("sold");
}
+
}
diff --git a/samples/client/petstore/kotlin-jvm-vertx-gson/src/main/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/petstore/kotlin-jvm-vertx-gson/src/main/kotlin/org/openapitools/client/models/Tag.kt
index c2962c214a1a..f66db9ea55e8 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-gson/src/main/kotlin/org/openapitools/client/models/Tag.kt
+++ b/samples/client/petstore/kotlin-jvm-vertx-gson/src/main/kotlin/org/openapitools/client/models/Tag.kt
@@ -34,5 +34,8 @@ data class Tag (
@SerializedName("name")
val name: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-jvm-vertx-gson/src/main/kotlin/org/openapitools/client/models/User.kt b/samples/client/petstore/kotlin-jvm-vertx-gson/src/main/kotlin/org/openapitools/client/models/User.kt
index 8c93d094308e..62b3ce81f9bf 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-gson/src/main/kotlin/org/openapitools/client/models/User.kt
+++ b/samples/client/petstore/kotlin-jvm-vertx-gson/src/main/kotlin/org/openapitools/client/models/User.kt
@@ -59,5 +59,8 @@ data class User (
@SerializedName("userStatus")
val userStatus: kotlin.Int? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/README.md b/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/README.md
index e4e111438878..f1cf0031b0c9 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/README.md
+++ b/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/README.md
@@ -43,28 +43,28 @@ This runs all tests and packages the library.
All URIs are relative to *http://petstore.swagger.io/v2*
-Class | Method | HTTP request | Description
------------- | ------------- | ------------- | -------------
-*PetApi* | [**addPet**](docs/PetApi.md#addpet) | **POST** /pet | Add a new pet to the store
-*PetApi* | [**deletePet**](docs/PetApi.md#deletepet) | **DELETE** /pet/{petId} | Deletes a pet
-*PetApi* | [**findPetsByStatus**](docs/PetApi.md#findpetsbystatus) | **GET** /pet/findByStatus | Finds Pets by status
-*PetApi* | [**findPetsByTags**](docs/PetApi.md#findpetsbytags) | **GET** /pet/findByTags | Finds Pets by tags
-*PetApi* | [**getPetById**](docs/PetApi.md#getpetbyid) | **GET** /pet/{petId} | Find pet by ID
-*PetApi* | [**updatePet**](docs/PetApi.md#updatepet) | **PUT** /pet | Update an existing pet
-*PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatepetwithform) | **POST** /pet/{petId} | Updates a pet in the store with form data
-*PetApi* | [**uploadFile**](docs/PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image
-*StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteorder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID
-*StoreApi* | [**getInventory**](docs/StoreApi.md#getinventory) | **GET** /store/inventory | Returns pet inventories by status
-*StoreApi* | [**getOrderById**](docs/StoreApi.md#getorderbyid) | **GET** /store/order/{orderId} | Find purchase order by ID
-*StoreApi* | [**placeOrder**](docs/StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet
-*UserApi* | [**createUser**](docs/UserApi.md#createuser) | **POST** /user | Create user
-*UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createuserswitharrayinput) | **POST** /user/createWithArray | Creates list of users with given input array
-*UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createuserswithlistinput) | **POST** /user/createWithList | Creates list of users with given input array
-*UserApi* | [**deleteUser**](docs/UserApi.md#deleteuser) | **DELETE** /user/{username} | Delete user
-*UserApi* | [**getUserByName**](docs/UserApi.md#getuserbyname) | **GET** /user/{username} | Get user by user name
-*UserApi* | [**loginUser**](docs/UserApi.md#loginuser) | **GET** /user/login | Logs user into the system
-*UserApi* | [**logoutUser**](docs/UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session
-*UserApi* | [**updateUser**](docs/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user
+| Class | Method | HTTP request | Description |
+| ------------ | ------------- | ------------- | ------------- |
+| *PetApi* | [**addPet**](docs/PetApi.md#addpet) | **POST** /pet | Add a new pet to the store |
+| *PetApi* | [**deletePet**](docs/PetApi.md#deletepet) | **DELETE** /pet/{petId} | Deletes a pet |
+| *PetApi* | [**findPetsByStatus**](docs/PetApi.md#findpetsbystatus) | **GET** /pet/findByStatus | Finds Pets by status |
+| *PetApi* | [**findPetsByTags**](docs/PetApi.md#findpetsbytags) | **GET** /pet/findByTags | Finds Pets by tags |
+| *PetApi* | [**getPetById**](docs/PetApi.md#getpetbyid) | **GET** /pet/{petId} | Find pet by ID |
+| *PetApi* | [**updatePet**](docs/PetApi.md#updatepet) | **PUT** /pet | Update an existing pet |
+| *PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatepetwithform) | **POST** /pet/{petId} | Updates a pet in the store with form data |
+| *PetApi* | [**uploadFile**](docs/PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image |
+| *StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteorder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID |
+| *StoreApi* | [**getInventory**](docs/StoreApi.md#getinventory) | **GET** /store/inventory | Returns pet inventories by status |
+| *StoreApi* | [**getOrderById**](docs/StoreApi.md#getorderbyid) | **GET** /store/order/{orderId} | Find purchase order by ID |
+| *StoreApi* | [**placeOrder**](docs/StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet |
+| *UserApi* | [**createUser**](docs/UserApi.md#createuser) | **POST** /user | Create user |
+| *UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createuserswitharrayinput) | **POST** /user/createWithArray | Creates list of users with given input array |
+| *UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createuserswithlistinput) | **POST** /user/createWithList | Creates list of users with given input array |
+| *UserApi* | [**deleteUser**](docs/UserApi.md#deleteuser) | **DELETE** /user/{username} | Delete user |
+| *UserApi* | [**getUserByName**](docs/UserApi.md#getuserbyname) | **GET** /user/{username} | Get user by user name |
+| *UserApi* | [**loginUser**](docs/UserApi.md#loginuser) | **GET** /user/login | Logs user into the system |
+| *UserApi* | [**logoutUser**](docs/UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session |
+| *UserApi* | [**updateUser**](docs/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user |
diff --git a/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/docs/ApiResponse.md b/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/docs/ApiResponse.md
index 12f08d5cdef0..059525a99512 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/docs/ApiResponse.md
+++ b/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/docs/ApiResponse.md
@@ -2,11 +2,11 @@
# ModelApiResponse
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**code** | **kotlin.Int** | | [optional]
-**type** | **kotlin.String** | | [optional]
-**message** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **code** | **kotlin.Int** | | [optional] |
+| **type** | **kotlin.String** | | [optional] |
+| **message** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/docs/Category.md b/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/docs/Category.md
index 2c28a670fc79..baba5657eb21 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/docs/Category.md
+++ b/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/docs/Category.md
@@ -2,10 +2,10 @@
# Category
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/docs/Order.md b/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/docs/Order.md
index c0c951b22d33..7b7a399f7f75 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/docs/Order.md
+++ b/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/docs/Order.md
@@ -2,21 +2,21 @@
# Order
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**petId** | **kotlin.Long** | | [optional]
-**quantity** | **kotlin.Int** | | [optional]
-**shipDate** | [**java.time.OffsetDateTime**](java.time.OffsetDateTime.md) | | [optional]
-**status** | [**inline**](#Status) | Order Status | [optional]
-**complete** | **kotlin.Boolean** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **petId** | **kotlin.Long** | | [optional] |
+| **quantity** | **kotlin.Int** | | [optional] |
+| **shipDate** | [**java.time.OffsetDateTime**](java.time.OffsetDateTime.md) | | [optional] |
+| **status** | [**inline**](#Status) | Order Status | [optional] |
+| **complete** | **kotlin.Boolean** | | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | placed, approved, delivered
+| Name | Value |
+| ---- | ----- |
+| status | placed, approved, delivered |
diff --git a/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/docs/Pet.md b/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/docs/Pet.md
index da70fca06e65..287312efaf94 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/docs/Pet.md
+++ b/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/docs/Pet.md
@@ -2,21 +2,21 @@
# Pet
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**name** | **kotlin.String** | |
-**photoUrls** | **kotlin.collections.List<kotlin.String>** | |
-**id** | **kotlin.Long** | | [optional]
-**category** | [**Category**](Category.md) | | [optional]
-**tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional]
-**status** | [**inline**](#Status) | pet status in the store | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **name** | **kotlin.String** | | |
+| **photoUrls** | **kotlin.collections.List<kotlin.String>** | | |
+| **id** | **kotlin.Long** | | [optional] |
+| **category** | [**Category**](Category.md) | | [optional] |
+| **tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional] |
+| **status** | [**inline**](#Status) | pet status in the store | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | available, pending, sold
+| Name | Value |
+| ---- | ----- |
+| status | available, pending, sold |
diff --git a/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/docs/PetApi.md b/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/docs/PetApi.md
index 000d91fd381e..9eb15f0e7013 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/docs/PetApi.md
+++ b/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/docs/PetApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**addPet**](PetApi.md#addPet) | **POST** /pet | Add a new pet to the store
-[**deletePet**](PetApi.md#deletePet) | **DELETE** /pet/{petId} | Deletes a pet
-[**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** /pet/findByStatus | Finds Pets by status
-[**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** /pet/findByTags | Finds Pets by tags
-[**getPetById**](PetApi.md#getPetById) | **GET** /pet/{petId} | Find pet by ID
-[**updatePet**](PetApi.md#updatePet) | **PUT** /pet | Update an existing pet
-[**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** /pet/{petId} | Updates a pet in the store with form data
-[**uploadFile**](PetApi.md#uploadFile) | **POST** /pet/{petId}/uploadImage | uploads an image
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**addPet**](PetApi.md#addPet) | **POST** /pet | Add a new pet to the store |
+| [**deletePet**](PetApi.md#deletePet) | **DELETE** /pet/{petId} | Deletes a pet |
+| [**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** /pet/findByStatus | Finds Pets by status |
+| [**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** /pet/findByTags | Finds Pets by tags |
+| [**getPetById**](PetApi.md#getPetById) | **GET** /pet/{petId} | Find pet by ID |
+| [**updatePet**](PetApi.md#updatePet) | **PUT** /pet | Update an existing pet |
+| [**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** /pet/{petId} | Updates a pet in the store with form data |
+| [**uploadFile**](PetApi.md#uploadFile) | **POST** /pet/{petId}/uploadImage | uploads an image |
@@ -43,10 +43,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **pet** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **pet** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -92,11 +91,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| Pet id to delete |
- **apiKey** | **kotlin.String**| | [optional]
+| **petId** | **kotlin.Long**| Pet id to delete | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **apiKey** | **kotlin.String**| | [optional] |
### Return type
@@ -142,10 +140,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **status** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [enum: available, pending, sold]
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **status** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [enum: available, pending, sold] |
### Return type
@@ -191,10 +188,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **tags** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Tags to filter by |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **tags** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Tags to filter by | |
### Return type
@@ -240,10 +236,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet to return |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **petId** | **kotlin.Long**| ID of pet to return | |
### Return type
@@ -290,10 +285,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **pet** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **pet** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -340,12 +334,11 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet that needs to be updated |
- **name** | **kotlin.String**| Updated name of the pet | [optional]
- **status** | **kotlin.String**| Updated status of the pet | [optional]
+| **petId** | **kotlin.Long**| ID of pet that needs to be updated | |
+| **name** | **kotlin.String**| Updated name of the pet | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **status** | **kotlin.String**| Updated status of the pet | [optional] |
### Return type
@@ -393,12 +386,11 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet to update |
- **additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional]
- **file** | **java.io.File**| file to upload | [optional]
+| **petId** | **kotlin.Long**| ID of pet to update | |
+| **additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **file** | **java.io.File**| file to upload | [optional] |
### Return type
diff --git a/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/docs/StoreApi.md b/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/docs/StoreApi.md
index 76ca75818c63..aac02408ec79 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/docs/StoreApi.md
+++ b/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/docs/StoreApi.md
@@ -2,12 +2,12 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID
-[**getInventory**](StoreApi.md#getInventory) | **GET** /store/inventory | Returns pet inventories by status
-[**getOrderById**](StoreApi.md#getOrderById) | **GET** /store/order/{orderId} | Find purchase order by ID
-[**placeOrder**](StoreApi.md#placeOrder) | **POST** /store/order | Place an order for a pet
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID |
+| [**getInventory**](StoreApi.md#getInventory) | **GET** /store/inventory | Returns pet inventories by status |
+| [**getOrderById**](StoreApi.md#getOrderById) | **GET** /store/order/{orderId} | Find purchase order by ID |
+| [**placeOrder**](StoreApi.md#placeOrder) | **POST** /store/order | Place an order for a pet |
@@ -38,10 +38,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **kotlin.String**| ID of the order that needs to be deleted |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **orderId** | **kotlin.String**| ID of the order that needs to be deleted | |
### Return type
@@ -131,10 +130,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **kotlin.Long**| ID of pet that needs to be fetched |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **orderId** | **kotlin.Long**| ID of pet that needs to be fetched | |
### Return type
@@ -178,10 +176,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **order** | [**Order**](Order.md)| order placed for purchasing the pet |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **order** | [**Order**](Order.md)| order placed for purchasing the pet | |
### Return type
diff --git a/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/docs/Tag.md b/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/docs/Tag.md
index 60ce1bcdbad3..dc8fa3cb555d 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/docs/Tag.md
+++ b/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/docs/Tag.md
@@ -2,10 +2,10 @@
# Tag
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/docs/User.md b/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/docs/User.md
index e801729b5ed1..a9f35788637e 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/docs/User.md
+++ b/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/docs/User.md
@@ -2,16 +2,16 @@
# User
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**username** | **kotlin.String** | | [optional]
-**firstName** | **kotlin.String** | | [optional]
-**lastName** | **kotlin.String** | | [optional]
-**email** | **kotlin.String** | | [optional]
-**password** | **kotlin.String** | | [optional]
-**phone** | **kotlin.String** | | [optional]
-**userStatus** | **kotlin.Int** | User Status | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **username** | **kotlin.String** | | [optional] |
+| **firstName** | **kotlin.String** | | [optional] |
+| **lastName** | **kotlin.String** | | [optional] |
+| **email** | **kotlin.String** | | [optional] |
+| **password** | **kotlin.String** | | [optional] |
+| **phone** | **kotlin.String** | | [optional] |
+| **userStatus** | **kotlin.Int** | User Status | [optional] |
diff --git a/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/docs/UserApi.md b/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/docs/UserApi.md
index cc033aebee6c..055b9506b4d2 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/docs/UserApi.md
+++ b/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/docs/UserApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**createUser**](UserApi.md#createUser) | **POST** /user | Create user
-[**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** /user/createWithArray | Creates list of users with given input array
-[**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** /user/createWithList | Creates list of users with given input array
-[**deleteUser**](UserApi.md#deleteUser) | **DELETE** /user/{username} | Delete user
-[**getUserByName**](UserApi.md#getUserByName) | **GET** /user/{username} | Get user by user name
-[**loginUser**](UserApi.md#loginUser) | **GET** /user/login | Logs user into the system
-[**logoutUser**](UserApi.md#logoutUser) | **GET** /user/logout | Logs out current logged in user session
-[**updateUser**](UserApi.md#updateUser) | **PUT** /user/{username} | Updated user
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**createUser**](UserApi.md#createUser) | **POST** /user | Create user |
+| [**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** /user/createWithArray | Creates list of users with given input array |
+| [**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** /user/createWithList | Creates list of users with given input array |
+| [**deleteUser**](UserApi.md#deleteUser) | **DELETE** /user/{username} | Delete user |
+| [**getUserByName**](UserApi.md#getUserByName) | **GET** /user/{username} | Get user by user name |
+| [**loginUser**](UserApi.md#loginUser) | **GET** /user/login | Logs user into the system |
+| [**logoutUser**](UserApi.md#logoutUser) | **GET** /user/logout | Logs out current logged in user session |
+| [**updateUser**](UserApi.md#updateUser) | **PUT** /user/{username} | Updated user |
@@ -42,10 +42,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **user** | [**User**](User.md)| Created user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **user** | [**User**](User.md)| Created user object | |
### Return type
@@ -91,10 +90,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **user** | [**kotlin.collections.List<User>**](User.md)| List of user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **user** | [**kotlin.collections.List<User>**](User.md)| List of user object | |
### Return type
@@ -140,10 +138,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **user** | [**kotlin.collections.List<User>**](User.md)| List of user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **user** | [**kotlin.collections.List<User>**](User.md)| List of user object | |
### Return type
@@ -189,10 +186,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The name that needs to be deleted |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String**| The name that needs to be deleted | |
### Return type
@@ -239,10 +235,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. | |
### Return type
@@ -287,11 +282,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The user name for login |
- **password** | **kotlin.String**| The password for login in clear text |
+| **username** | **kotlin.String**| The user name for login | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **password** | **kotlin.String**| The password for login in clear text | |
### Return type
@@ -380,11 +374,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| name that need to be deleted |
- **user** | [**User**](User.md)| Updated user object |
+| **username** | **kotlin.String**| name that need to be deleted | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **user** | [**User**](User.md)| Updated user object | |
### Return type
diff --git a/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/src/main/kotlin/org/openapitools/client/models/Category.kt b/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/src/main/kotlin/org/openapitools/client/models/Category.kt
index 71a7d74b06f1..f96af7e336bf 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/src/main/kotlin/org/openapitools/client/models/Category.kt
+++ b/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/src/main/kotlin/org/openapitools/client/models/Category.kt
@@ -34,5 +34,8 @@ data class Category (
@field:JsonProperty("name")
val name: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt b/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
index 5590e88cd83e..b74debaeb5d3 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
+++ b/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
@@ -38,5 +38,8 @@ data class ModelApiResponse (
@field:JsonProperty("message")
val message: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/src/main/kotlin/org/openapitools/client/models/Order.kt b/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/src/main/kotlin/org/openapitools/client/models/Order.kt
index 94bc4e3be102..d278f0361d73 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/src/main/kotlin/org/openapitools/client/models/Order.kt
+++ b/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/src/main/kotlin/org/openapitools/client/models/Order.kt
@@ -63,5 +63,6 @@ data class Order (
@JsonProperty(value = "approved") approved("approved"),
@JsonProperty(value = "delivered") delivered("delivered");
}
+
}
diff --git a/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/src/main/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/src/main/kotlin/org/openapitools/client/models/Pet.kt
index 2e5cefb83cdf..eb0640bb63ef 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/src/main/kotlin/org/openapitools/client/models/Pet.kt
+++ b/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/src/main/kotlin/org/openapitools/client/models/Pet.kt
@@ -66,5 +66,6 @@ data class Pet (
@JsonProperty(value = "pending") pending("pending"),
@JsonProperty(value = "sold") sold("sold");
}
+
}
diff --git a/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/src/main/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/src/main/kotlin/org/openapitools/client/models/Tag.kt
index f5f600cc3745..d3240c8392db 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/src/main/kotlin/org/openapitools/client/models/Tag.kt
+++ b/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/src/main/kotlin/org/openapitools/client/models/Tag.kt
@@ -34,5 +34,8 @@ data class Tag (
@field:JsonProperty("name")
val name: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/src/main/kotlin/org/openapitools/client/models/User.kt b/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/src/main/kotlin/org/openapitools/client/models/User.kt
index 7872ed7da4df..e440c6022658 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/src/main/kotlin/org/openapitools/client/models/User.kt
+++ b/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/src/main/kotlin/org/openapitools/client/models/User.kt
@@ -59,5 +59,8 @@ data class User (
@field:JsonProperty("userStatus")
val userStatus: kotlin.Int? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-jvm-vertx-jackson/README.md b/samples/client/petstore/kotlin-jvm-vertx-jackson/README.md
index e4e111438878..f1cf0031b0c9 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-jackson/README.md
+++ b/samples/client/petstore/kotlin-jvm-vertx-jackson/README.md
@@ -43,28 +43,28 @@ This runs all tests and packages the library.
All URIs are relative to *http://petstore.swagger.io/v2*
-Class | Method | HTTP request | Description
------------- | ------------- | ------------- | -------------
-*PetApi* | [**addPet**](docs/PetApi.md#addpet) | **POST** /pet | Add a new pet to the store
-*PetApi* | [**deletePet**](docs/PetApi.md#deletepet) | **DELETE** /pet/{petId} | Deletes a pet
-*PetApi* | [**findPetsByStatus**](docs/PetApi.md#findpetsbystatus) | **GET** /pet/findByStatus | Finds Pets by status
-*PetApi* | [**findPetsByTags**](docs/PetApi.md#findpetsbytags) | **GET** /pet/findByTags | Finds Pets by tags
-*PetApi* | [**getPetById**](docs/PetApi.md#getpetbyid) | **GET** /pet/{petId} | Find pet by ID
-*PetApi* | [**updatePet**](docs/PetApi.md#updatepet) | **PUT** /pet | Update an existing pet
-*PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatepetwithform) | **POST** /pet/{petId} | Updates a pet in the store with form data
-*PetApi* | [**uploadFile**](docs/PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image
-*StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteorder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID
-*StoreApi* | [**getInventory**](docs/StoreApi.md#getinventory) | **GET** /store/inventory | Returns pet inventories by status
-*StoreApi* | [**getOrderById**](docs/StoreApi.md#getorderbyid) | **GET** /store/order/{orderId} | Find purchase order by ID
-*StoreApi* | [**placeOrder**](docs/StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet
-*UserApi* | [**createUser**](docs/UserApi.md#createuser) | **POST** /user | Create user
-*UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createuserswitharrayinput) | **POST** /user/createWithArray | Creates list of users with given input array
-*UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createuserswithlistinput) | **POST** /user/createWithList | Creates list of users with given input array
-*UserApi* | [**deleteUser**](docs/UserApi.md#deleteuser) | **DELETE** /user/{username} | Delete user
-*UserApi* | [**getUserByName**](docs/UserApi.md#getuserbyname) | **GET** /user/{username} | Get user by user name
-*UserApi* | [**loginUser**](docs/UserApi.md#loginuser) | **GET** /user/login | Logs user into the system
-*UserApi* | [**logoutUser**](docs/UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session
-*UserApi* | [**updateUser**](docs/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user
+| Class | Method | HTTP request | Description |
+| ------------ | ------------- | ------------- | ------------- |
+| *PetApi* | [**addPet**](docs/PetApi.md#addpet) | **POST** /pet | Add a new pet to the store |
+| *PetApi* | [**deletePet**](docs/PetApi.md#deletepet) | **DELETE** /pet/{petId} | Deletes a pet |
+| *PetApi* | [**findPetsByStatus**](docs/PetApi.md#findpetsbystatus) | **GET** /pet/findByStatus | Finds Pets by status |
+| *PetApi* | [**findPetsByTags**](docs/PetApi.md#findpetsbytags) | **GET** /pet/findByTags | Finds Pets by tags |
+| *PetApi* | [**getPetById**](docs/PetApi.md#getpetbyid) | **GET** /pet/{petId} | Find pet by ID |
+| *PetApi* | [**updatePet**](docs/PetApi.md#updatepet) | **PUT** /pet | Update an existing pet |
+| *PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatepetwithform) | **POST** /pet/{petId} | Updates a pet in the store with form data |
+| *PetApi* | [**uploadFile**](docs/PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image |
+| *StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteorder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID |
+| *StoreApi* | [**getInventory**](docs/StoreApi.md#getinventory) | **GET** /store/inventory | Returns pet inventories by status |
+| *StoreApi* | [**getOrderById**](docs/StoreApi.md#getorderbyid) | **GET** /store/order/{orderId} | Find purchase order by ID |
+| *StoreApi* | [**placeOrder**](docs/StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet |
+| *UserApi* | [**createUser**](docs/UserApi.md#createuser) | **POST** /user | Create user |
+| *UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createuserswitharrayinput) | **POST** /user/createWithArray | Creates list of users with given input array |
+| *UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createuserswithlistinput) | **POST** /user/createWithList | Creates list of users with given input array |
+| *UserApi* | [**deleteUser**](docs/UserApi.md#deleteuser) | **DELETE** /user/{username} | Delete user |
+| *UserApi* | [**getUserByName**](docs/UserApi.md#getuserbyname) | **GET** /user/{username} | Get user by user name |
+| *UserApi* | [**loginUser**](docs/UserApi.md#loginuser) | **GET** /user/login | Logs user into the system |
+| *UserApi* | [**logoutUser**](docs/UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session |
+| *UserApi* | [**updateUser**](docs/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user |
diff --git a/samples/client/petstore/kotlin-jvm-vertx-jackson/docs/ApiResponse.md b/samples/client/petstore/kotlin-jvm-vertx-jackson/docs/ApiResponse.md
index 12f08d5cdef0..059525a99512 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-jackson/docs/ApiResponse.md
+++ b/samples/client/petstore/kotlin-jvm-vertx-jackson/docs/ApiResponse.md
@@ -2,11 +2,11 @@
# ModelApiResponse
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**code** | **kotlin.Int** | | [optional]
-**type** | **kotlin.String** | | [optional]
-**message** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **code** | **kotlin.Int** | | [optional] |
+| **type** | **kotlin.String** | | [optional] |
+| **message** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-jvm-vertx-jackson/docs/Category.md b/samples/client/petstore/kotlin-jvm-vertx-jackson/docs/Category.md
index 2c28a670fc79..baba5657eb21 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-jackson/docs/Category.md
+++ b/samples/client/petstore/kotlin-jvm-vertx-jackson/docs/Category.md
@@ -2,10 +2,10 @@
# Category
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-jvm-vertx-jackson/docs/Order.md b/samples/client/petstore/kotlin-jvm-vertx-jackson/docs/Order.md
index c0c951b22d33..7b7a399f7f75 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-jackson/docs/Order.md
+++ b/samples/client/petstore/kotlin-jvm-vertx-jackson/docs/Order.md
@@ -2,21 +2,21 @@
# Order
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**petId** | **kotlin.Long** | | [optional]
-**quantity** | **kotlin.Int** | | [optional]
-**shipDate** | [**java.time.OffsetDateTime**](java.time.OffsetDateTime.md) | | [optional]
-**status** | [**inline**](#Status) | Order Status | [optional]
-**complete** | **kotlin.Boolean** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **petId** | **kotlin.Long** | | [optional] |
+| **quantity** | **kotlin.Int** | | [optional] |
+| **shipDate** | [**java.time.OffsetDateTime**](java.time.OffsetDateTime.md) | | [optional] |
+| **status** | [**inline**](#Status) | Order Status | [optional] |
+| **complete** | **kotlin.Boolean** | | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | placed, approved, delivered
+| Name | Value |
+| ---- | ----- |
+| status | placed, approved, delivered |
diff --git a/samples/client/petstore/kotlin-jvm-vertx-jackson/docs/Pet.md b/samples/client/petstore/kotlin-jvm-vertx-jackson/docs/Pet.md
index da70fca06e65..287312efaf94 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-jackson/docs/Pet.md
+++ b/samples/client/petstore/kotlin-jvm-vertx-jackson/docs/Pet.md
@@ -2,21 +2,21 @@
# Pet
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**name** | **kotlin.String** | |
-**photoUrls** | **kotlin.collections.List<kotlin.String>** | |
-**id** | **kotlin.Long** | | [optional]
-**category** | [**Category**](Category.md) | | [optional]
-**tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional]
-**status** | [**inline**](#Status) | pet status in the store | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **name** | **kotlin.String** | | |
+| **photoUrls** | **kotlin.collections.List<kotlin.String>** | | |
+| **id** | **kotlin.Long** | | [optional] |
+| **category** | [**Category**](Category.md) | | [optional] |
+| **tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional] |
+| **status** | [**inline**](#Status) | pet status in the store | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | available, pending, sold
+| Name | Value |
+| ---- | ----- |
+| status | available, pending, sold |
diff --git a/samples/client/petstore/kotlin-jvm-vertx-jackson/docs/PetApi.md b/samples/client/petstore/kotlin-jvm-vertx-jackson/docs/PetApi.md
index 000d91fd381e..9eb15f0e7013 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-jackson/docs/PetApi.md
+++ b/samples/client/petstore/kotlin-jvm-vertx-jackson/docs/PetApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**addPet**](PetApi.md#addPet) | **POST** /pet | Add a new pet to the store
-[**deletePet**](PetApi.md#deletePet) | **DELETE** /pet/{petId} | Deletes a pet
-[**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** /pet/findByStatus | Finds Pets by status
-[**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** /pet/findByTags | Finds Pets by tags
-[**getPetById**](PetApi.md#getPetById) | **GET** /pet/{petId} | Find pet by ID
-[**updatePet**](PetApi.md#updatePet) | **PUT** /pet | Update an existing pet
-[**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** /pet/{petId} | Updates a pet in the store with form data
-[**uploadFile**](PetApi.md#uploadFile) | **POST** /pet/{petId}/uploadImage | uploads an image
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**addPet**](PetApi.md#addPet) | **POST** /pet | Add a new pet to the store |
+| [**deletePet**](PetApi.md#deletePet) | **DELETE** /pet/{petId} | Deletes a pet |
+| [**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** /pet/findByStatus | Finds Pets by status |
+| [**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** /pet/findByTags | Finds Pets by tags |
+| [**getPetById**](PetApi.md#getPetById) | **GET** /pet/{petId} | Find pet by ID |
+| [**updatePet**](PetApi.md#updatePet) | **PUT** /pet | Update an existing pet |
+| [**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** /pet/{petId} | Updates a pet in the store with form data |
+| [**uploadFile**](PetApi.md#uploadFile) | **POST** /pet/{petId}/uploadImage | uploads an image |
@@ -43,10 +43,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **pet** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **pet** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -92,11 +91,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| Pet id to delete |
- **apiKey** | **kotlin.String**| | [optional]
+| **petId** | **kotlin.Long**| Pet id to delete | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **apiKey** | **kotlin.String**| | [optional] |
### Return type
@@ -142,10 +140,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **status** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [enum: available, pending, sold]
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **status** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [enum: available, pending, sold] |
### Return type
@@ -191,10 +188,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **tags** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Tags to filter by |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **tags** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Tags to filter by | |
### Return type
@@ -240,10 +236,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet to return |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **petId** | **kotlin.Long**| ID of pet to return | |
### Return type
@@ -290,10 +285,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **pet** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **pet** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -340,12 +334,11 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet that needs to be updated |
- **name** | **kotlin.String**| Updated name of the pet | [optional]
- **status** | **kotlin.String**| Updated status of the pet | [optional]
+| **petId** | **kotlin.Long**| ID of pet that needs to be updated | |
+| **name** | **kotlin.String**| Updated name of the pet | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **status** | **kotlin.String**| Updated status of the pet | [optional] |
### Return type
@@ -393,12 +386,11 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet to update |
- **additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional]
- **file** | **java.io.File**| file to upload | [optional]
+| **petId** | **kotlin.Long**| ID of pet to update | |
+| **additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **file** | **java.io.File**| file to upload | [optional] |
### Return type
diff --git a/samples/client/petstore/kotlin-jvm-vertx-jackson/docs/StoreApi.md b/samples/client/petstore/kotlin-jvm-vertx-jackson/docs/StoreApi.md
index 76ca75818c63..aac02408ec79 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-jackson/docs/StoreApi.md
+++ b/samples/client/petstore/kotlin-jvm-vertx-jackson/docs/StoreApi.md
@@ -2,12 +2,12 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID
-[**getInventory**](StoreApi.md#getInventory) | **GET** /store/inventory | Returns pet inventories by status
-[**getOrderById**](StoreApi.md#getOrderById) | **GET** /store/order/{orderId} | Find purchase order by ID
-[**placeOrder**](StoreApi.md#placeOrder) | **POST** /store/order | Place an order for a pet
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID |
+| [**getInventory**](StoreApi.md#getInventory) | **GET** /store/inventory | Returns pet inventories by status |
+| [**getOrderById**](StoreApi.md#getOrderById) | **GET** /store/order/{orderId} | Find purchase order by ID |
+| [**placeOrder**](StoreApi.md#placeOrder) | **POST** /store/order | Place an order for a pet |
@@ -38,10 +38,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **kotlin.String**| ID of the order that needs to be deleted |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **orderId** | **kotlin.String**| ID of the order that needs to be deleted | |
### Return type
@@ -131,10 +130,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **kotlin.Long**| ID of pet that needs to be fetched |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **orderId** | **kotlin.Long**| ID of pet that needs to be fetched | |
### Return type
@@ -178,10 +176,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **order** | [**Order**](Order.md)| order placed for purchasing the pet |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **order** | [**Order**](Order.md)| order placed for purchasing the pet | |
### Return type
diff --git a/samples/client/petstore/kotlin-jvm-vertx-jackson/docs/Tag.md b/samples/client/petstore/kotlin-jvm-vertx-jackson/docs/Tag.md
index 60ce1bcdbad3..dc8fa3cb555d 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-jackson/docs/Tag.md
+++ b/samples/client/petstore/kotlin-jvm-vertx-jackson/docs/Tag.md
@@ -2,10 +2,10 @@
# Tag
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-jvm-vertx-jackson/docs/User.md b/samples/client/petstore/kotlin-jvm-vertx-jackson/docs/User.md
index e801729b5ed1..a9f35788637e 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-jackson/docs/User.md
+++ b/samples/client/petstore/kotlin-jvm-vertx-jackson/docs/User.md
@@ -2,16 +2,16 @@
# User
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**username** | **kotlin.String** | | [optional]
-**firstName** | **kotlin.String** | | [optional]
-**lastName** | **kotlin.String** | | [optional]
-**email** | **kotlin.String** | | [optional]
-**password** | **kotlin.String** | | [optional]
-**phone** | **kotlin.String** | | [optional]
-**userStatus** | **kotlin.Int** | User Status | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **username** | **kotlin.String** | | [optional] |
+| **firstName** | **kotlin.String** | | [optional] |
+| **lastName** | **kotlin.String** | | [optional] |
+| **email** | **kotlin.String** | | [optional] |
+| **password** | **kotlin.String** | | [optional] |
+| **phone** | **kotlin.String** | | [optional] |
+| **userStatus** | **kotlin.Int** | User Status | [optional] |
diff --git a/samples/client/petstore/kotlin-jvm-vertx-jackson/docs/UserApi.md b/samples/client/petstore/kotlin-jvm-vertx-jackson/docs/UserApi.md
index cc033aebee6c..055b9506b4d2 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-jackson/docs/UserApi.md
+++ b/samples/client/petstore/kotlin-jvm-vertx-jackson/docs/UserApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**createUser**](UserApi.md#createUser) | **POST** /user | Create user
-[**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** /user/createWithArray | Creates list of users with given input array
-[**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** /user/createWithList | Creates list of users with given input array
-[**deleteUser**](UserApi.md#deleteUser) | **DELETE** /user/{username} | Delete user
-[**getUserByName**](UserApi.md#getUserByName) | **GET** /user/{username} | Get user by user name
-[**loginUser**](UserApi.md#loginUser) | **GET** /user/login | Logs user into the system
-[**logoutUser**](UserApi.md#logoutUser) | **GET** /user/logout | Logs out current logged in user session
-[**updateUser**](UserApi.md#updateUser) | **PUT** /user/{username} | Updated user
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**createUser**](UserApi.md#createUser) | **POST** /user | Create user |
+| [**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** /user/createWithArray | Creates list of users with given input array |
+| [**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** /user/createWithList | Creates list of users with given input array |
+| [**deleteUser**](UserApi.md#deleteUser) | **DELETE** /user/{username} | Delete user |
+| [**getUserByName**](UserApi.md#getUserByName) | **GET** /user/{username} | Get user by user name |
+| [**loginUser**](UserApi.md#loginUser) | **GET** /user/login | Logs user into the system |
+| [**logoutUser**](UserApi.md#logoutUser) | **GET** /user/logout | Logs out current logged in user session |
+| [**updateUser**](UserApi.md#updateUser) | **PUT** /user/{username} | Updated user |
@@ -42,10 +42,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **user** | [**User**](User.md)| Created user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **user** | [**User**](User.md)| Created user object | |
### Return type
@@ -91,10 +90,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **user** | [**kotlin.collections.List<User>**](User.md)| List of user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **user** | [**kotlin.collections.List<User>**](User.md)| List of user object | |
### Return type
@@ -140,10 +138,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **user** | [**kotlin.collections.List<User>**](User.md)| List of user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **user** | [**kotlin.collections.List<User>**](User.md)| List of user object | |
### Return type
@@ -189,10 +186,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The name that needs to be deleted |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String**| The name that needs to be deleted | |
### Return type
@@ -239,10 +235,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. | |
### Return type
@@ -287,11 +282,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The user name for login |
- **password** | **kotlin.String**| The password for login in clear text |
+| **username** | **kotlin.String**| The user name for login | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **password** | **kotlin.String**| The password for login in clear text | |
### Return type
@@ -380,11 +374,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| name that need to be deleted |
- **user** | [**User**](User.md)| Updated user object |
+| **username** | **kotlin.String**| name that need to be deleted | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **user** | [**User**](User.md)| Updated user object | |
### Return type
diff --git a/samples/client/petstore/kotlin-jvm-vertx-jackson/src/main/kotlin/org/openapitools/client/models/Category.kt b/samples/client/petstore/kotlin-jvm-vertx-jackson/src/main/kotlin/org/openapitools/client/models/Category.kt
index 71a7d74b06f1..f96af7e336bf 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-jackson/src/main/kotlin/org/openapitools/client/models/Category.kt
+++ b/samples/client/petstore/kotlin-jvm-vertx-jackson/src/main/kotlin/org/openapitools/client/models/Category.kt
@@ -34,5 +34,8 @@ data class Category (
@field:JsonProperty("name")
val name: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-jvm-vertx-jackson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt b/samples/client/petstore/kotlin-jvm-vertx-jackson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
index 5590e88cd83e..b74debaeb5d3 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-jackson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
+++ b/samples/client/petstore/kotlin-jvm-vertx-jackson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
@@ -38,5 +38,8 @@ data class ModelApiResponse (
@field:JsonProperty("message")
val message: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-jvm-vertx-jackson/src/main/kotlin/org/openapitools/client/models/Order.kt b/samples/client/petstore/kotlin-jvm-vertx-jackson/src/main/kotlin/org/openapitools/client/models/Order.kt
index 94bc4e3be102..d278f0361d73 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-jackson/src/main/kotlin/org/openapitools/client/models/Order.kt
+++ b/samples/client/petstore/kotlin-jvm-vertx-jackson/src/main/kotlin/org/openapitools/client/models/Order.kt
@@ -63,5 +63,6 @@ data class Order (
@JsonProperty(value = "approved") approved("approved"),
@JsonProperty(value = "delivered") delivered("delivered");
}
+
}
diff --git a/samples/client/petstore/kotlin-jvm-vertx-jackson/src/main/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/petstore/kotlin-jvm-vertx-jackson/src/main/kotlin/org/openapitools/client/models/Pet.kt
index 2e5cefb83cdf..eb0640bb63ef 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-jackson/src/main/kotlin/org/openapitools/client/models/Pet.kt
+++ b/samples/client/petstore/kotlin-jvm-vertx-jackson/src/main/kotlin/org/openapitools/client/models/Pet.kt
@@ -66,5 +66,6 @@ data class Pet (
@JsonProperty(value = "pending") pending("pending"),
@JsonProperty(value = "sold") sold("sold");
}
+
}
diff --git a/samples/client/petstore/kotlin-jvm-vertx-jackson/src/main/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/petstore/kotlin-jvm-vertx-jackson/src/main/kotlin/org/openapitools/client/models/Tag.kt
index f5f600cc3745..d3240c8392db 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-jackson/src/main/kotlin/org/openapitools/client/models/Tag.kt
+++ b/samples/client/petstore/kotlin-jvm-vertx-jackson/src/main/kotlin/org/openapitools/client/models/Tag.kt
@@ -34,5 +34,8 @@ data class Tag (
@field:JsonProperty("name")
val name: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-jvm-vertx-jackson/src/main/kotlin/org/openapitools/client/models/User.kt b/samples/client/petstore/kotlin-jvm-vertx-jackson/src/main/kotlin/org/openapitools/client/models/User.kt
index 7872ed7da4df..e440c6022658 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-jackson/src/main/kotlin/org/openapitools/client/models/User.kt
+++ b/samples/client/petstore/kotlin-jvm-vertx-jackson/src/main/kotlin/org/openapitools/client/models/User.kt
@@ -59,5 +59,8 @@ data class User (
@field:JsonProperty("userStatus")
val userStatus: kotlin.Int? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-jvm-vertx-moshi/README.md b/samples/client/petstore/kotlin-jvm-vertx-moshi/README.md
index e4e111438878..f1cf0031b0c9 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-moshi/README.md
+++ b/samples/client/petstore/kotlin-jvm-vertx-moshi/README.md
@@ -43,28 +43,28 @@ This runs all tests and packages the library.
All URIs are relative to *http://petstore.swagger.io/v2*
-Class | Method | HTTP request | Description
------------- | ------------- | ------------- | -------------
-*PetApi* | [**addPet**](docs/PetApi.md#addpet) | **POST** /pet | Add a new pet to the store
-*PetApi* | [**deletePet**](docs/PetApi.md#deletepet) | **DELETE** /pet/{petId} | Deletes a pet
-*PetApi* | [**findPetsByStatus**](docs/PetApi.md#findpetsbystatus) | **GET** /pet/findByStatus | Finds Pets by status
-*PetApi* | [**findPetsByTags**](docs/PetApi.md#findpetsbytags) | **GET** /pet/findByTags | Finds Pets by tags
-*PetApi* | [**getPetById**](docs/PetApi.md#getpetbyid) | **GET** /pet/{petId} | Find pet by ID
-*PetApi* | [**updatePet**](docs/PetApi.md#updatepet) | **PUT** /pet | Update an existing pet
-*PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatepetwithform) | **POST** /pet/{petId} | Updates a pet in the store with form data
-*PetApi* | [**uploadFile**](docs/PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image
-*StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteorder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID
-*StoreApi* | [**getInventory**](docs/StoreApi.md#getinventory) | **GET** /store/inventory | Returns pet inventories by status
-*StoreApi* | [**getOrderById**](docs/StoreApi.md#getorderbyid) | **GET** /store/order/{orderId} | Find purchase order by ID
-*StoreApi* | [**placeOrder**](docs/StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet
-*UserApi* | [**createUser**](docs/UserApi.md#createuser) | **POST** /user | Create user
-*UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createuserswitharrayinput) | **POST** /user/createWithArray | Creates list of users with given input array
-*UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createuserswithlistinput) | **POST** /user/createWithList | Creates list of users with given input array
-*UserApi* | [**deleteUser**](docs/UserApi.md#deleteuser) | **DELETE** /user/{username} | Delete user
-*UserApi* | [**getUserByName**](docs/UserApi.md#getuserbyname) | **GET** /user/{username} | Get user by user name
-*UserApi* | [**loginUser**](docs/UserApi.md#loginuser) | **GET** /user/login | Logs user into the system
-*UserApi* | [**logoutUser**](docs/UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session
-*UserApi* | [**updateUser**](docs/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user
+| Class | Method | HTTP request | Description |
+| ------------ | ------------- | ------------- | ------------- |
+| *PetApi* | [**addPet**](docs/PetApi.md#addpet) | **POST** /pet | Add a new pet to the store |
+| *PetApi* | [**deletePet**](docs/PetApi.md#deletepet) | **DELETE** /pet/{petId} | Deletes a pet |
+| *PetApi* | [**findPetsByStatus**](docs/PetApi.md#findpetsbystatus) | **GET** /pet/findByStatus | Finds Pets by status |
+| *PetApi* | [**findPetsByTags**](docs/PetApi.md#findpetsbytags) | **GET** /pet/findByTags | Finds Pets by tags |
+| *PetApi* | [**getPetById**](docs/PetApi.md#getpetbyid) | **GET** /pet/{petId} | Find pet by ID |
+| *PetApi* | [**updatePet**](docs/PetApi.md#updatepet) | **PUT** /pet | Update an existing pet |
+| *PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatepetwithform) | **POST** /pet/{petId} | Updates a pet in the store with form data |
+| *PetApi* | [**uploadFile**](docs/PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image |
+| *StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteorder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID |
+| *StoreApi* | [**getInventory**](docs/StoreApi.md#getinventory) | **GET** /store/inventory | Returns pet inventories by status |
+| *StoreApi* | [**getOrderById**](docs/StoreApi.md#getorderbyid) | **GET** /store/order/{orderId} | Find purchase order by ID |
+| *StoreApi* | [**placeOrder**](docs/StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet |
+| *UserApi* | [**createUser**](docs/UserApi.md#createuser) | **POST** /user | Create user |
+| *UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createuserswitharrayinput) | **POST** /user/createWithArray | Creates list of users with given input array |
+| *UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createuserswithlistinput) | **POST** /user/createWithList | Creates list of users with given input array |
+| *UserApi* | [**deleteUser**](docs/UserApi.md#deleteuser) | **DELETE** /user/{username} | Delete user |
+| *UserApi* | [**getUserByName**](docs/UserApi.md#getuserbyname) | **GET** /user/{username} | Get user by user name |
+| *UserApi* | [**loginUser**](docs/UserApi.md#loginuser) | **GET** /user/login | Logs user into the system |
+| *UserApi* | [**logoutUser**](docs/UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session |
+| *UserApi* | [**updateUser**](docs/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user |
diff --git a/samples/client/petstore/kotlin-jvm-vertx-moshi/docs/ApiResponse.md b/samples/client/petstore/kotlin-jvm-vertx-moshi/docs/ApiResponse.md
index 12f08d5cdef0..059525a99512 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-moshi/docs/ApiResponse.md
+++ b/samples/client/petstore/kotlin-jvm-vertx-moshi/docs/ApiResponse.md
@@ -2,11 +2,11 @@
# ModelApiResponse
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**code** | **kotlin.Int** | | [optional]
-**type** | **kotlin.String** | | [optional]
-**message** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **code** | **kotlin.Int** | | [optional] |
+| **type** | **kotlin.String** | | [optional] |
+| **message** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-jvm-vertx-moshi/docs/Category.md b/samples/client/petstore/kotlin-jvm-vertx-moshi/docs/Category.md
index 2c28a670fc79..baba5657eb21 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-moshi/docs/Category.md
+++ b/samples/client/petstore/kotlin-jvm-vertx-moshi/docs/Category.md
@@ -2,10 +2,10 @@
# Category
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-jvm-vertx-moshi/docs/Order.md b/samples/client/petstore/kotlin-jvm-vertx-moshi/docs/Order.md
index c0c951b22d33..7b7a399f7f75 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-moshi/docs/Order.md
+++ b/samples/client/petstore/kotlin-jvm-vertx-moshi/docs/Order.md
@@ -2,21 +2,21 @@
# Order
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**petId** | **kotlin.Long** | | [optional]
-**quantity** | **kotlin.Int** | | [optional]
-**shipDate** | [**java.time.OffsetDateTime**](java.time.OffsetDateTime.md) | | [optional]
-**status** | [**inline**](#Status) | Order Status | [optional]
-**complete** | **kotlin.Boolean** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **petId** | **kotlin.Long** | | [optional] |
+| **quantity** | **kotlin.Int** | | [optional] |
+| **shipDate** | [**java.time.OffsetDateTime**](java.time.OffsetDateTime.md) | | [optional] |
+| **status** | [**inline**](#Status) | Order Status | [optional] |
+| **complete** | **kotlin.Boolean** | | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | placed, approved, delivered
+| Name | Value |
+| ---- | ----- |
+| status | placed, approved, delivered |
diff --git a/samples/client/petstore/kotlin-jvm-vertx-moshi/docs/Pet.md b/samples/client/petstore/kotlin-jvm-vertx-moshi/docs/Pet.md
index da70fca06e65..287312efaf94 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-moshi/docs/Pet.md
+++ b/samples/client/petstore/kotlin-jvm-vertx-moshi/docs/Pet.md
@@ -2,21 +2,21 @@
# Pet
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**name** | **kotlin.String** | |
-**photoUrls** | **kotlin.collections.List<kotlin.String>** | |
-**id** | **kotlin.Long** | | [optional]
-**category** | [**Category**](Category.md) | | [optional]
-**tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional]
-**status** | [**inline**](#Status) | pet status in the store | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **name** | **kotlin.String** | | |
+| **photoUrls** | **kotlin.collections.List<kotlin.String>** | | |
+| **id** | **kotlin.Long** | | [optional] |
+| **category** | [**Category**](Category.md) | | [optional] |
+| **tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional] |
+| **status** | [**inline**](#Status) | pet status in the store | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | available, pending, sold
+| Name | Value |
+| ---- | ----- |
+| status | available, pending, sold |
diff --git a/samples/client/petstore/kotlin-jvm-vertx-moshi/docs/PetApi.md b/samples/client/petstore/kotlin-jvm-vertx-moshi/docs/PetApi.md
index 000d91fd381e..9eb15f0e7013 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-moshi/docs/PetApi.md
+++ b/samples/client/petstore/kotlin-jvm-vertx-moshi/docs/PetApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**addPet**](PetApi.md#addPet) | **POST** /pet | Add a new pet to the store
-[**deletePet**](PetApi.md#deletePet) | **DELETE** /pet/{petId} | Deletes a pet
-[**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** /pet/findByStatus | Finds Pets by status
-[**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** /pet/findByTags | Finds Pets by tags
-[**getPetById**](PetApi.md#getPetById) | **GET** /pet/{petId} | Find pet by ID
-[**updatePet**](PetApi.md#updatePet) | **PUT** /pet | Update an existing pet
-[**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** /pet/{petId} | Updates a pet in the store with form data
-[**uploadFile**](PetApi.md#uploadFile) | **POST** /pet/{petId}/uploadImage | uploads an image
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**addPet**](PetApi.md#addPet) | **POST** /pet | Add a new pet to the store |
+| [**deletePet**](PetApi.md#deletePet) | **DELETE** /pet/{petId} | Deletes a pet |
+| [**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** /pet/findByStatus | Finds Pets by status |
+| [**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** /pet/findByTags | Finds Pets by tags |
+| [**getPetById**](PetApi.md#getPetById) | **GET** /pet/{petId} | Find pet by ID |
+| [**updatePet**](PetApi.md#updatePet) | **PUT** /pet | Update an existing pet |
+| [**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** /pet/{petId} | Updates a pet in the store with form data |
+| [**uploadFile**](PetApi.md#uploadFile) | **POST** /pet/{petId}/uploadImage | uploads an image |
@@ -43,10 +43,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **pet** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **pet** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -92,11 +91,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| Pet id to delete |
- **apiKey** | **kotlin.String**| | [optional]
+| **petId** | **kotlin.Long**| Pet id to delete | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **apiKey** | **kotlin.String**| | [optional] |
### Return type
@@ -142,10 +140,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **status** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [enum: available, pending, sold]
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **status** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [enum: available, pending, sold] |
### Return type
@@ -191,10 +188,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **tags** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Tags to filter by |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **tags** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Tags to filter by | |
### Return type
@@ -240,10 +236,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet to return |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **petId** | **kotlin.Long**| ID of pet to return | |
### Return type
@@ -290,10 +285,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **pet** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **pet** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -340,12 +334,11 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet that needs to be updated |
- **name** | **kotlin.String**| Updated name of the pet | [optional]
- **status** | **kotlin.String**| Updated status of the pet | [optional]
+| **petId** | **kotlin.Long**| ID of pet that needs to be updated | |
+| **name** | **kotlin.String**| Updated name of the pet | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **status** | **kotlin.String**| Updated status of the pet | [optional] |
### Return type
@@ -393,12 +386,11 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet to update |
- **additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional]
- **file** | **java.io.File**| file to upload | [optional]
+| **petId** | **kotlin.Long**| ID of pet to update | |
+| **additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **file** | **java.io.File**| file to upload | [optional] |
### Return type
diff --git a/samples/client/petstore/kotlin-jvm-vertx-moshi/docs/StoreApi.md b/samples/client/petstore/kotlin-jvm-vertx-moshi/docs/StoreApi.md
index 76ca75818c63..aac02408ec79 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-moshi/docs/StoreApi.md
+++ b/samples/client/petstore/kotlin-jvm-vertx-moshi/docs/StoreApi.md
@@ -2,12 +2,12 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID
-[**getInventory**](StoreApi.md#getInventory) | **GET** /store/inventory | Returns pet inventories by status
-[**getOrderById**](StoreApi.md#getOrderById) | **GET** /store/order/{orderId} | Find purchase order by ID
-[**placeOrder**](StoreApi.md#placeOrder) | **POST** /store/order | Place an order for a pet
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID |
+| [**getInventory**](StoreApi.md#getInventory) | **GET** /store/inventory | Returns pet inventories by status |
+| [**getOrderById**](StoreApi.md#getOrderById) | **GET** /store/order/{orderId} | Find purchase order by ID |
+| [**placeOrder**](StoreApi.md#placeOrder) | **POST** /store/order | Place an order for a pet |
@@ -38,10 +38,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **kotlin.String**| ID of the order that needs to be deleted |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **orderId** | **kotlin.String**| ID of the order that needs to be deleted | |
### Return type
@@ -131,10 +130,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **kotlin.Long**| ID of pet that needs to be fetched |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **orderId** | **kotlin.Long**| ID of pet that needs to be fetched | |
### Return type
@@ -178,10 +176,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **order** | [**Order**](Order.md)| order placed for purchasing the pet |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **order** | [**Order**](Order.md)| order placed for purchasing the pet | |
### Return type
diff --git a/samples/client/petstore/kotlin-jvm-vertx-moshi/docs/Tag.md b/samples/client/petstore/kotlin-jvm-vertx-moshi/docs/Tag.md
index 60ce1bcdbad3..dc8fa3cb555d 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-moshi/docs/Tag.md
+++ b/samples/client/petstore/kotlin-jvm-vertx-moshi/docs/Tag.md
@@ -2,10 +2,10 @@
# Tag
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-jvm-vertx-moshi/docs/User.md b/samples/client/petstore/kotlin-jvm-vertx-moshi/docs/User.md
index e801729b5ed1..a9f35788637e 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-moshi/docs/User.md
+++ b/samples/client/petstore/kotlin-jvm-vertx-moshi/docs/User.md
@@ -2,16 +2,16 @@
# User
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**username** | **kotlin.String** | | [optional]
-**firstName** | **kotlin.String** | | [optional]
-**lastName** | **kotlin.String** | | [optional]
-**email** | **kotlin.String** | | [optional]
-**password** | **kotlin.String** | | [optional]
-**phone** | **kotlin.String** | | [optional]
-**userStatus** | **kotlin.Int** | User Status | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **username** | **kotlin.String** | | [optional] |
+| **firstName** | **kotlin.String** | | [optional] |
+| **lastName** | **kotlin.String** | | [optional] |
+| **email** | **kotlin.String** | | [optional] |
+| **password** | **kotlin.String** | | [optional] |
+| **phone** | **kotlin.String** | | [optional] |
+| **userStatus** | **kotlin.Int** | User Status | [optional] |
diff --git a/samples/client/petstore/kotlin-jvm-vertx-moshi/docs/UserApi.md b/samples/client/petstore/kotlin-jvm-vertx-moshi/docs/UserApi.md
index cc033aebee6c..055b9506b4d2 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-moshi/docs/UserApi.md
+++ b/samples/client/petstore/kotlin-jvm-vertx-moshi/docs/UserApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**createUser**](UserApi.md#createUser) | **POST** /user | Create user
-[**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** /user/createWithArray | Creates list of users with given input array
-[**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** /user/createWithList | Creates list of users with given input array
-[**deleteUser**](UserApi.md#deleteUser) | **DELETE** /user/{username} | Delete user
-[**getUserByName**](UserApi.md#getUserByName) | **GET** /user/{username} | Get user by user name
-[**loginUser**](UserApi.md#loginUser) | **GET** /user/login | Logs user into the system
-[**logoutUser**](UserApi.md#logoutUser) | **GET** /user/logout | Logs out current logged in user session
-[**updateUser**](UserApi.md#updateUser) | **PUT** /user/{username} | Updated user
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**createUser**](UserApi.md#createUser) | **POST** /user | Create user |
+| [**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** /user/createWithArray | Creates list of users with given input array |
+| [**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** /user/createWithList | Creates list of users with given input array |
+| [**deleteUser**](UserApi.md#deleteUser) | **DELETE** /user/{username} | Delete user |
+| [**getUserByName**](UserApi.md#getUserByName) | **GET** /user/{username} | Get user by user name |
+| [**loginUser**](UserApi.md#loginUser) | **GET** /user/login | Logs user into the system |
+| [**logoutUser**](UserApi.md#logoutUser) | **GET** /user/logout | Logs out current logged in user session |
+| [**updateUser**](UserApi.md#updateUser) | **PUT** /user/{username} | Updated user |
@@ -42,10 +42,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **user** | [**User**](User.md)| Created user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **user** | [**User**](User.md)| Created user object | |
### Return type
@@ -91,10 +90,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **user** | [**kotlin.collections.List<User>**](User.md)| List of user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **user** | [**kotlin.collections.List<User>**](User.md)| List of user object | |
### Return type
@@ -140,10 +138,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **user** | [**kotlin.collections.List<User>**](User.md)| List of user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **user** | [**kotlin.collections.List<User>**](User.md)| List of user object | |
### Return type
@@ -189,10 +186,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The name that needs to be deleted |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String**| The name that needs to be deleted | |
### Return type
@@ -239,10 +235,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. | |
### Return type
@@ -287,11 +282,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The user name for login |
- **password** | **kotlin.String**| The password for login in clear text |
+| **username** | **kotlin.String**| The user name for login | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **password** | **kotlin.String**| The password for login in clear text | |
### Return type
@@ -380,11 +374,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| name that need to be deleted |
- **user** | [**User**](User.md)| Updated user object |
+| **username** | **kotlin.String**| name that need to be deleted | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **user** | [**User**](User.md)| Updated user object | |
### Return type
diff --git a/samples/client/petstore/kotlin-jvm-vertx-moshi/src/main/kotlin/org/openapitools/client/models/Category.kt b/samples/client/petstore/kotlin-jvm-vertx-moshi/src/main/kotlin/org/openapitools/client/models/Category.kt
index 4d74348ecd01..bca19d5c6901 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-moshi/src/main/kotlin/org/openapitools/client/models/Category.kt
+++ b/samples/client/petstore/kotlin-jvm-vertx-moshi/src/main/kotlin/org/openapitools/client/models/Category.kt
@@ -35,5 +35,8 @@ data class Category (
@Json(name = "name")
val name: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-jvm-vertx-moshi/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt b/samples/client/petstore/kotlin-jvm-vertx-moshi/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
index e9e9fe4870d1..ea6bc0a04f89 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-moshi/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
+++ b/samples/client/petstore/kotlin-jvm-vertx-moshi/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
@@ -39,5 +39,8 @@ data class ModelApiResponse (
@Json(name = "message")
val message: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-jvm-vertx-moshi/src/main/kotlin/org/openapitools/client/models/Order.kt b/samples/client/petstore/kotlin-jvm-vertx-moshi/src/main/kotlin/org/openapitools/client/models/Order.kt
index 508dad11426d..ecd257a433a8 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-moshi/src/main/kotlin/org/openapitools/client/models/Order.kt
+++ b/samples/client/petstore/kotlin-jvm-vertx-moshi/src/main/kotlin/org/openapitools/client/models/Order.kt
@@ -65,5 +65,6 @@ data class Order (
@Json(name = "approved") approved("approved"),
@Json(name = "delivered") delivered("delivered");
}
+
}
diff --git a/samples/client/petstore/kotlin-jvm-vertx-moshi/src/main/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/petstore/kotlin-jvm-vertx-moshi/src/main/kotlin/org/openapitools/client/models/Pet.kt
index 76d82b138754..0c70f0558c3a 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-moshi/src/main/kotlin/org/openapitools/client/models/Pet.kt
+++ b/samples/client/petstore/kotlin-jvm-vertx-moshi/src/main/kotlin/org/openapitools/client/models/Pet.kt
@@ -68,5 +68,6 @@ data class Pet (
@Json(name = "pending") pending("pending"),
@Json(name = "sold") sold("sold");
}
+
}
diff --git a/samples/client/petstore/kotlin-jvm-vertx-moshi/src/main/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/petstore/kotlin-jvm-vertx-moshi/src/main/kotlin/org/openapitools/client/models/Tag.kt
index b21fbab6580d..54bbd138c488 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-moshi/src/main/kotlin/org/openapitools/client/models/Tag.kt
+++ b/samples/client/petstore/kotlin-jvm-vertx-moshi/src/main/kotlin/org/openapitools/client/models/Tag.kt
@@ -35,5 +35,8 @@ data class Tag (
@Json(name = "name")
val name: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-jvm-vertx-moshi/src/main/kotlin/org/openapitools/client/models/User.kt b/samples/client/petstore/kotlin-jvm-vertx-moshi/src/main/kotlin/org/openapitools/client/models/User.kt
index e5269f5d5d3d..5115585d1a4f 100644
--- a/samples/client/petstore/kotlin-jvm-vertx-moshi/src/main/kotlin/org/openapitools/client/models/User.kt
+++ b/samples/client/petstore/kotlin-jvm-vertx-moshi/src/main/kotlin/org/openapitools/client/models/User.kt
@@ -60,5 +60,8 @@ data class User (
@Json(name = "userStatus")
val userStatus: kotlin.Int? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-jvm-volley/docs/ApiResponse.md b/samples/client/petstore/kotlin-jvm-volley/docs/ApiResponse.md
index 12f08d5cdef0..059525a99512 100644
--- a/samples/client/petstore/kotlin-jvm-volley/docs/ApiResponse.md
+++ b/samples/client/petstore/kotlin-jvm-volley/docs/ApiResponse.md
@@ -2,11 +2,11 @@
# ModelApiResponse
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**code** | **kotlin.Int** | | [optional]
-**type** | **kotlin.String** | | [optional]
-**message** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **code** | **kotlin.Int** | | [optional] |
+| **type** | **kotlin.String** | | [optional] |
+| **message** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-jvm-volley/docs/Category.md b/samples/client/petstore/kotlin-jvm-volley/docs/Category.md
index 2c28a670fc79..baba5657eb21 100644
--- a/samples/client/petstore/kotlin-jvm-volley/docs/Category.md
+++ b/samples/client/petstore/kotlin-jvm-volley/docs/Category.md
@@ -2,10 +2,10 @@
# Category
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-jvm-volley/docs/Order.md b/samples/client/petstore/kotlin-jvm-volley/docs/Order.md
index c0c951b22d33..7b7a399f7f75 100644
--- a/samples/client/petstore/kotlin-jvm-volley/docs/Order.md
+++ b/samples/client/petstore/kotlin-jvm-volley/docs/Order.md
@@ -2,21 +2,21 @@
# Order
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**petId** | **kotlin.Long** | | [optional]
-**quantity** | **kotlin.Int** | | [optional]
-**shipDate** | [**java.time.OffsetDateTime**](java.time.OffsetDateTime.md) | | [optional]
-**status** | [**inline**](#Status) | Order Status | [optional]
-**complete** | **kotlin.Boolean** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **petId** | **kotlin.Long** | | [optional] |
+| **quantity** | **kotlin.Int** | | [optional] |
+| **shipDate** | [**java.time.OffsetDateTime**](java.time.OffsetDateTime.md) | | [optional] |
+| **status** | [**inline**](#Status) | Order Status | [optional] |
+| **complete** | **kotlin.Boolean** | | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | placed, approved, delivered
+| Name | Value |
+| ---- | ----- |
+| status | placed, approved, delivered |
diff --git a/samples/client/petstore/kotlin-jvm-volley/docs/Pet.md b/samples/client/petstore/kotlin-jvm-volley/docs/Pet.md
index da70fca06e65..287312efaf94 100644
--- a/samples/client/petstore/kotlin-jvm-volley/docs/Pet.md
+++ b/samples/client/petstore/kotlin-jvm-volley/docs/Pet.md
@@ -2,21 +2,21 @@
# Pet
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**name** | **kotlin.String** | |
-**photoUrls** | **kotlin.collections.List<kotlin.String>** | |
-**id** | **kotlin.Long** | | [optional]
-**category** | [**Category**](Category.md) | | [optional]
-**tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional]
-**status** | [**inline**](#Status) | pet status in the store | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **name** | **kotlin.String** | | |
+| **photoUrls** | **kotlin.collections.List<kotlin.String>** | | |
+| **id** | **kotlin.Long** | | [optional] |
+| **category** | [**Category**](Category.md) | | [optional] |
+| **tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional] |
+| **status** | [**inline**](#Status) | pet status in the store | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | available, pending, sold
+| Name | Value |
+| ---- | ----- |
+| status | available, pending, sold |
diff --git a/samples/client/petstore/kotlin-jvm-volley/docs/Tag.md b/samples/client/petstore/kotlin-jvm-volley/docs/Tag.md
index 60ce1bcdbad3..dc8fa3cb555d 100644
--- a/samples/client/petstore/kotlin-jvm-volley/docs/Tag.md
+++ b/samples/client/petstore/kotlin-jvm-volley/docs/Tag.md
@@ -2,10 +2,10 @@
# Tag
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-jvm-volley/docs/User.md b/samples/client/petstore/kotlin-jvm-volley/docs/User.md
index e801729b5ed1..a9f35788637e 100644
--- a/samples/client/petstore/kotlin-jvm-volley/docs/User.md
+++ b/samples/client/petstore/kotlin-jvm-volley/docs/User.md
@@ -2,16 +2,16 @@
# User
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**username** | **kotlin.String** | | [optional]
-**firstName** | **kotlin.String** | | [optional]
-**lastName** | **kotlin.String** | | [optional]
-**email** | **kotlin.String** | | [optional]
-**password** | **kotlin.String** | | [optional]
-**phone** | **kotlin.String** | | [optional]
-**userStatus** | **kotlin.Int** | User Status | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **username** | **kotlin.String** | | [optional] |
+| **firstName** | **kotlin.String** | | [optional] |
+| **lastName** | **kotlin.String** | | [optional] |
+| **email** | **kotlin.String** | | [optional] |
+| **password** | **kotlin.String** | | [optional] |
+| **phone** | **kotlin.String** | | [optional] |
+| **userStatus** | **kotlin.Int** | User Status | [optional] |
diff --git a/samples/client/petstore/kotlin-jvm-volley/src/main/java/org/openapitools/client/models/Category.kt b/samples/client/petstore/kotlin-jvm-volley/src/main/java/org/openapitools/client/models/Category.kt
index affc2b522f7a..46188c0bc687 100644
--- a/samples/client/petstore/kotlin-jvm-volley/src/main/java/org/openapitools/client/models/Category.kt
+++ b/samples/client/petstore/kotlin-jvm-volley/src/main/java/org/openapitools/client/models/Category.kt
@@ -44,5 +44,6 @@ data class Category (
name = this.name,
)
+
}
diff --git a/samples/client/petstore/kotlin-jvm-volley/src/main/java/org/openapitools/client/models/ModelApiResponse.kt b/samples/client/petstore/kotlin-jvm-volley/src/main/java/org/openapitools/client/models/ModelApiResponse.kt
index f5ac0753e580..8f0f3e89cf46 100644
--- a/samples/client/petstore/kotlin-jvm-volley/src/main/java/org/openapitools/client/models/ModelApiResponse.kt
+++ b/samples/client/petstore/kotlin-jvm-volley/src/main/java/org/openapitools/client/models/ModelApiResponse.kt
@@ -49,5 +49,6 @@ type = this.type,
message = this.message,
)
+
}
diff --git a/samples/client/petstore/kotlin-jvm-volley/src/main/java/org/openapitools/client/models/Order.kt b/samples/client/petstore/kotlin-jvm-volley/src/main/java/org/openapitools/client/models/Order.kt
index 608ac750337a..4a6dfd6cc85c 100644
--- a/samples/client/petstore/kotlin-jvm-volley/src/main/java/org/openapitools/client/models/Order.kt
+++ b/samples/client/petstore/kotlin-jvm-volley/src/main/java/org/openapitools/client/models/Order.kt
@@ -75,5 +75,6 @@ complete = this.complete,
@SerializedName(value = "approved") approved("approved"),
@SerializedName(value = "delivered") delivered("delivered");
}
+
}
diff --git a/samples/client/petstore/kotlin-jvm-volley/src/main/java/org/openapitools/client/models/Pet.kt b/samples/client/petstore/kotlin-jvm-volley/src/main/java/org/openapitools/client/models/Pet.kt
index 191dd5d02832..07c67fa9ea87 100644
--- a/samples/client/petstore/kotlin-jvm-volley/src/main/java/org/openapitools/client/models/Pet.kt
+++ b/samples/client/petstore/kotlin-jvm-volley/src/main/java/org/openapitools/client/models/Pet.kt
@@ -77,5 +77,6 @@ status = this.status,
@SerializedName(value = "pending") pending("pending"),
@SerializedName(value = "sold") sold("sold");
}
+
}
diff --git a/samples/client/petstore/kotlin-jvm-volley/src/main/java/org/openapitools/client/models/Tag.kt b/samples/client/petstore/kotlin-jvm-volley/src/main/java/org/openapitools/client/models/Tag.kt
index f32788176b8c..0afafa73777f 100644
--- a/samples/client/petstore/kotlin-jvm-volley/src/main/java/org/openapitools/client/models/Tag.kt
+++ b/samples/client/petstore/kotlin-jvm-volley/src/main/java/org/openapitools/client/models/Tag.kt
@@ -44,5 +44,6 @@ data class Tag (
name = this.name,
)
+
}
diff --git a/samples/client/petstore/kotlin-jvm-volley/src/main/java/org/openapitools/client/models/User.kt b/samples/client/petstore/kotlin-jvm-volley/src/main/java/org/openapitools/client/models/User.kt
index a18aceca9b2b..2cec836e1f24 100644
--- a/samples/client/petstore/kotlin-jvm-volley/src/main/java/org/openapitools/client/models/User.kt
+++ b/samples/client/petstore/kotlin-jvm-volley/src/main/java/org/openapitools/client/models/User.kt
@@ -75,5 +75,6 @@ phone = this.phone,
userStatus = this.userStatus,
)
+
}
diff --git a/samples/client/petstore/kotlin-kotlinx-datetime/README.md b/samples/client/petstore/kotlin-kotlinx-datetime/README.md
index e4e111438878..f1cf0031b0c9 100644
--- a/samples/client/petstore/kotlin-kotlinx-datetime/README.md
+++ b/samples/client/petstore/kotlin-kotlinx-datetime/README.md
@@ -43,28 +43,28 @@ This runs all tests and packages the library.
All URIs are relative to *http://petstore.swagger.io/v2*
-Class | Method | HTTP request | Description
------------- | ------------- | ------------- | -------------
-*PetApi* | [**addPet**](docs/PetApi.md#addpet) | **POST** /pet | Add a new pet to the store
-*PetApi* | [**deletePet**](docs/PetApi.md#deletepet) | **DELETE** /pet/{petId} | Deletes a pet
-*PetApi* | [**findPetsByStatus**](docs/PetApi.md#findpetsbystatus) | **GET** /pet/findByStatus | Finds Pets by status
-*PetApi* | [**findPetsByTags**](docs/PetApi.md#findpetsbytags) | **GET** /pet/findByTags | Finds Pets by tags
-*PetApi* | [**getPetById**](docs/PetApi.md#getpetbyid) | **GET** /pet/{petId} | Find pet by ID
-*PetApi* | [**updatePet**](docs/PetApi.md#updatepet) | **PUT** /pet | Update an existing pet
-*PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatepetwithform) | **POST** /pet/{petId} | Updates a pet in the store with form data
-*PetApi* | [**uploadFile**](docs/PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image
-*StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteorder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID
-*StoreApi* | [**getInventory**](docs/StoreApi.md#getinventory) | **GET** /store/inventory | Returns pet inventories by status
-*StoreApi* | [**getOrderById**](docs/StoreApi.md#getorderbyid) | **GET** /store/order/{orderId} | Find purchase order by ID
-*StoreApi* | [**placeOrder**](docs/StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet
-*UserApi* | [**createUser**](docs/UserApi.md#createuser) | **POST** /user | Create user
-*UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createuserswitharrayinput) | **POST** /user/createWithArray | Creates list of users with given input array
-*UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createuserswithlistinput) | **POST** /user/createWithList | Creates list of users with given input array
-*UserApi* | [**deleteUser**](docs/UserApi.md#deleteuser) | **DELETE** /user/{username} | Delete user
-*UserApi* | [**getUserByName**](docs/UserApi.md#getuserbyname) | **GET** /user/{username} | Get user by user name
-*UserApi* | [**loginUser**](docs/UserApi.md#loginuser) | **GET** /user/login | Logs user into the system
-*UserApi* | [**logoutUser**](docs/UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session
-*UserApi* | [**updateUser**](docs/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user
+| Class | Method | HTTP request | Description |
+| ------------ | ------------- | ------------- | ------------- |
+| *PetApi* | [**addPet**](docs/PetApi.md#addpet) | **POST** /pet | Add a new pet to the store |
+| *PetApi* | [**deletePet**](docs/PetApi.md#deletepet) | **DELETE** /pet/{petId} | Deletes a pet |
+| *PetApi* | [**findPetsByStatus**](docs/PetApi.md#findpetsbystatus) | **GET** /pet/findByStatus | Finds Pets by status |
+| *PetApi* | [**findPetsByTags**](docs/PetApi.md#findpetsbytags) | **GET** /pet/findByTags | Finds Pets by tags |
+| *PetApi* | [**getPetById**](docs/PetApi.md#getpetbyid) | **GET** /pet/{petId} | Find pet by ID |
+| *PetApi* | [**updatePet**](docs/PetApi.md#updatepet) | **PUT** /pet | Update an existing pet |
+| *PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatepetwithform) | **POST** /pet/{petId} | Updates a pet in the store with form data |
+| *PetApi* | [**uploadFile**](docs/PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image |
+| *StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteorder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID |
+| *StoreApi* | [**getInventory**](docs/StoreApi.md#getinventory) | **GET** /store/inventory | Returns pet inventories by status |
+| *StoreApi* | [**getOrderById**](docs/StoreApi.md#getorderbyid) | **GET** /store/order/{orderId} | Find purchase order by ID |
+| *StoreApi* | [**placeOrder**](docs/StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet |
+| *UserApi* | [**createUser**](docs/UserApi.md#createuser) | **POST** /user | Create user |
+| *UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createuserswitharrayinput) | **POST** /user/createWithArray | Creates list of users with given input array |
+| *UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createuserswithlistinput) | **POST** /user/createWithList | Creates list of users with given input array |
+| *UserApi* | [**deleteUser**](docs/UserApi.md#deleteuser) | **DELETE** /user/{username} | Delete user |
+| *UserApi* | [**getUserByName**](docs/UserApi.md#getuserbyname) | **GET** /user/{username} | Get user by user name |
+| *UserApi* | [**loginUser**](docs/UserApi.md#loginuser) | **GET** /user/login | Logs user into the system |
+| *UserApi* | [**logoutUser**](docs/UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session |
+| *UserApi* | [**updateUser**](docs/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user |
diff --git a/samples/client/petstore/kotlin-kotlinx-datetime/docs/ApiResponse.md b/samples/client/petstore/kotlin-kotlinx-datetime/docs/ApiResponse.md
index 12f08d5cdef0..059525a99512 100644
--- a/samples/client/petstore/kotlin-kotlinx-datetime/docs/ApiResponse.md
+++ b/samples/client/petstore/kotlin-kotlinx-datetime/docs/ApiResponse.md
@@ -2,11 +2,11 @@
# ModelApiResponse
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**code** | **kotlin.Int** | | [optional]
-**type** | **kotlin.String** | | [optional]
-**message** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **code** | **kotlin.Int** | | [optional] |
+| **type** | **kotlin.String** | | [optional] |
+| **message** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-kotlinx-datetime/docs/Category.md b/samples/client/petstore/kotlin-kotlinx-datetime/docs/Category.md
index 2c28a670fc79..baba5657eb21 100644
--- a/samples/client/petstore/kotlin-kotlinx-datetime/docs/Category.md
+++ b/samples/client/petstore/kotlin-kotlinx-datetime/docs/Category.md
@@ -2,10 +2,10 @@
# Category
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-kotlinx-datetime/docs/Order.md b/samples/client/petstore/kotlin-kotlinx-datetime/docs/Order.md
index 84e068bef3f8..6764fc5308dd 100644
--- a/samples/client/petstore/kotlin-kotlinx-datetime/docs/Order.md
+++ b/samples/client/petstore/kotlin-kotlinx-datetime/docs/Order.md
@@ -2,21 +2,21 @@
# Order
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**petId** | **kotlin.Long** | | [optional]
-**quantity** | **kotlin.Int** | | [optional]
-**shipDate** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | | [optional]
-**status** | [**inline**](#Status) | Order Status | [optional]
-**complete** | **kotlin.Boolean** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **petId** | **kotlin.Long** | | [optional] |
+| **quantity** | **kotlin.Int** | | [optional] |
+| **shipDate** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | | [optional] |
+| **status** | [**inline**](#Status) | Order Status | [optional] |
+| **complete** | **kotlin.Boolean** | | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | placed, approved, delivered
+| Name | Value |
+| ---- | ----- |
+| status | placed, approved, delivered |
diff --git a/samples/client/petstore/kotlin-kotlinx-datetime/docs/Pet.md b/samples/client/petstore/kotlin-kotlinx-datetime/docs/Pet.md
index da70fca06e65..287312efaf94 100644
--- a/samples/client/petstore/kotlin-kotlinx-datetime/docs/Pet.md
+++ b/samples/client/petstore/kotlin-kotlinx-datetime/docs/Pet.md
@@ -2,21 +2,21 @@
# Pet
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**name** | **kotlin.String** | |
-**photoUrls** | **kotlin.collections.List<kotlin.String>** | |
-**id** | **kotlin.Long** | | [optional]
-**category** | [**Category**](Category.md) | | [optional]
-**tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional]
-**status** | [**inline**](#Status) | pet status in the store | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **name** | **kotlin.String** | | |
+| **photoUrls** | **kotlin.collections.List<kotlin.String>** | | |
+| **id** | **kotlin.Long** | | [optional] |
+| **category** | [**Category**](Category.md) | | [optional] |
+| **tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional] |
+| **status** | [**inline**](#Status) | pet status in the store | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | available, pending, sold
+| Name | Value |
+| ---- | ----- |
+| status | available, pending, sold |
diff --git a/samples/client/petstore/kotlin-kotlinx-datetime/docs/PetApi.md b/samples/client/petstore/kotlin-kotlinx-datetime/docs/PetApi.md
index bb8451def0df..6856ea516dab 100644
--- a/samples/client/petstore/kotlin-kotlinx-datetime/docs/PetApi.md
+++ b/samples/client/petstore/kotlin-kotlinx-datetime/docs/PetApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**addPet**](PetApi.md#addPet) | **POST** /pet | Add a new pet to the store
-[**deletePet**](PetApi.md#deletePet) | **DELETE** /pet/{petId} | Deletes a pet
-[**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** /pet/findByStatus | Finds Pets by status
-[**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** /pet/findByTags | Finds Pets by tags
-[**getPetById**](PetApi.md#getPetById) | **GET** /pet/{petId} | Find pet by ID
-[**updatePet**](PetApi.md#updatePet) | **PUT** /pet | Update an existing pet
-[**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** /pet/{petId} | Updates a pet in the store with form data
-[**uploadFile**](PetApi.md#uploadFile) | **POST** /pet/{petId}/uploadImage | uploads an image
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**addPet**](PetApi.md#addPet) | **POST** /pet | Add a new pet to the store |
+| [**deletePet**](PetApi.md#deletePet) | **DELETE** /pet/{petId} | Deletes a pet |
+| [**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** /pet/findByStatus | Finds Pets by status |
+| [**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** /pet/findByTags | Finds Pets by tags |
+| [**getPetById**](PetApi.md#getPetById) | **GET** /pet/{petId} | Find pet by ID |
+| [**updatePet**](PetApi.md#updatePet) | **PUT** /pet | Update an existing pet |
+| [**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** /pet/{petId} | Updates a pet in the store with form data |
+| [**uploadFile**](PetApi.md#uploadFile) | **POST** /pet/{petId}/uploadImage | uploads an image |
@@ -40,10 +40,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -87,11 +86,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| Pet id to delete |
- **apiKey** | **kotlin.String**| | [optional]
+| **petId** | **kotlin.Long**| Pet id to delete | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **apiKey** | **kotlin.String**| | [optional] |
### Return type
@@ -137,10 +135,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **status** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [enum: available, pending, sold]
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **status** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [enum: available, pending, sold] |
### Return type
@@ -186,10 +183,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **tags** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Tags to filter by |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **tags** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Tags to filter by | |
### Return type
@@ -235,10 +231,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet to return |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **petId** | **kotlin.Long**| ID of pet to return | |
### Return type
@@ -282,10 +277,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -330,12 +324,11 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet that needs to be updated |
- **name** | **kotlin.String**| Updated name of the pet | [optional]
- **status** | **kotlin.String**| Updated status of the pet | [optional]
+| **petId** | **kotlin.Long**| ID of pet that needs to be updated | |
+| **name** | **kotlin.String**| Updated name of the pet | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **status** | **kotlin.String**| Updated status of the pet | [optional] |
### Return type
@@ -381,12 +374,11 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet to update |
- **additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional]
- **file** | **java.io.File**| file to upload | [optional]
+| **petId** | **kotlin.Long**| ID of pet to update | |
+| **additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **file** | **java.io.File**| file to upload | [optional] |
### Return type
diff --git a/samples/client/petstore/kotlin-kotlinx-datetime/docs/StoreApi.md b/samples/client/petstore/kotlin-kotlinx-datetime/docs/StoreApi.md
index 9515ccd6d0cb..53ff17b16676 100644
--- a/samples/client/petstore/kotlin-kotlinx-datetime/docs/StoreApi.md
+++ b/samples/client/petstore/kotlin-kotlinx-datetime/docs/StoreApi.md
@@ -2,12 +2,12 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID
-[**getInventory**](StoreApi.md#getInventory) | **GET** /store/inventory | Returns pet inventories by status
-[**getOrderById**](StoreApi.md#getOrderById) | **GET** /store/order/{orderId} | Find purchase order by ID
-[**placeOrder**](StoreApi.md#placeOrder) | **POST** /store/order | Place an order for a pet
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID |
+| [**getInventory**](StoreApi.md#getInventory) | **GET** /store/inventory | Returns pet inventories by status |
+| [**getOrderById**](StoreApi.md#getOrderById) | **GET** /store/order/{orderId} | Find purchase order by ID |
+| [**placeOrder**](StoreApi.md#placeOrder) | **POST** /store/order | Place an order for a pet |
@@ -38,10 +38,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **kotlin.String**| ID of the order that needs to be deleted |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **orderId** | **kotlin.String**| ID of the order that needs to be deleted | |
### Return type
@@ -131,10 +130,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **kotlin.Long**| ID of pet that needs to be fetched |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **orderId** | **kotlin.Long**| ID of pet that needs to be fetched | |
### Return type
@@ -176,10 +174,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**Order**](Order.md)| order placed for purchasing the pet |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**Order**](Order.md)| order placed for purchasing the pet | |
### Return type
diff --git a/samples/client/petstore/kotlin-kotlinx-datetime/docs/Tag.md b/samples/client/petstore/kotlin-kotlinx-datetime/docs/Tag.md
index 60ce1bcdbad3..dc8fa3cb555d 100644
--- a/samples/client/petstore/kotlin-kotlinx-datetime/docs/Tag.md
+++ b/samples/client/petstore/kotlin-kotlinx-datetime/docs/Tag.md
@@ -2,10 +2,10 @@
# Tag
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-kotlinx-datetime/docs/User.md b/samples/client/petstore/kotlin-kotlinx-datetime/docs/User.md
index e801729b5ed1..a9f35788637e 100644
--- a/samples/client/petstore/kotlin-kotlinx-datetime/docs/User.md
+++ b/samples/client/petstore/kotlin-kotlinx-datetime/docs/User.md
@@ -2,16 +2,16 @@
# User
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**username** | **kotlin.String** | | [optional]
-**firstName** | **kotlin.String** | | [optional]
-**lastName** | **kotlin.String** | | [optional]
-**email** | **kotlin.String** | | [optional]
-**password** | **kotlin.String** | | [optional]
-**phone** | **kotlin.String** | | [optional]
-**userStatus** | **kotlin.Int** | User Status | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **username** | **kotlin.String** | | [optional] |
+| **firstName** | **kotlin.String** | | [optional] |
+| **lastName** | **kotlin.String** | | [optional] |
+| **email** | **kotlin.String** | | [optional] |
+| **password** | **kotlin.String** | | [optional] |
+| **phone** | **kotlin.String** | | [optional] |
+| **userStatus** | **kotlin.Int** | User Status | [optional] |
diff --git a/samples/client/petstore/kotlin-kotlinx-datetime/docs/UserApi.md b/samples/client/petstore/kotlin-kotlinx-datetime/docs/UserApi.md
index fdf75275cb97..82c8d6060276 100644
--- a/samples/client/petstore/kotlin-kotlinx-datetime/docs/UserApi.md
+++ b/samples/client/petstore/kotlin-kotlinx-datetime/docs/UserApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**createUser**](UserApi.md#createUser) | **POST** /user | Create user
-[**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** /user/createWithArray | Creates list of users with given input array
-[**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** /user/createWithList | Creates list of users with given input array
-[**deleteUser**](UserApi.md#deleteUser) | **DELETE** /user/{username} | Delete user
-[**getUserByName**](UserApi.md#getUserByName) | **GET** /user/{username} | Get user by user name
-[**loginUser**](UserApi.md#loginUser) | **GET** /user/login | Logs user into the system
-[**logoutUser**](UserApi.md#logoutUser) | **GET** /user/logout | Logs out current logged in user session
-[**updateUser**](UserApi.md#updateUser) | **PUT** /user/{username} | Updated user
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**createUser**](UserApi.md#createUser) | **POST** /user | Create user |
+| [**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** /user/createWithArray | Creates list of users with given input array |
+| [**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** /user/createWithList | Creates list of users with given input array |
+| [**deleteUser**](UserApi.md#deleteUser) | **DELETE** /user/{username} | Delete user |
+| [**getUserByName**](UserApi.md#getUserByName) | **GET** /user/{username} | Get user by user name |
+| [**loginUser**](UserApi.md#loginUser) | **GET** /user/login | Logs user into the system |
+| [**logoutUser**](UserApi.md#logoutUser) | **GET** /user/logout | Logs out current logged in user session |
+| [**updateUser**](UserApi.md#updateUser) | **PUT** /user/{username} | Updated user |
@@ -42,10 +42,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**User**](User.md)| Created user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**User**](User.md)| Created user object | |
### Return type
@@ -86,10 +85,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**kotlin.collections.List<User>**](User.md)| List of user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**kotlin.collections.List<User>**](User.md)| List of user object | |
### Return type
@@ -130,10 +128,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**kotlin.collections.List<User>**](User.md)| List of user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**kotlin.collections.List<User>**](User.md)| List of user object | |
### Return type
@@ -176,10 +173,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The name that needs to be deleted |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String**| The name that needs to be deleted | |
### Return type
@@ -221,10 +217,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. | |
### Return type
@@ -267,11 +262,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The user name for login |
- **password** | **kotlin.String**| The password for login in clear text |
+| **username** | **kotlin.String**| The user name for login | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **password** | **kotlin.String**| The password for login in clear text | |
### Return type
@@ -355,11 +349,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| name that need to be deleted |
- **body** | [**User**](User.md)| Updated user object |
+| **username** | **kotlin.String**| name that need to be deleted | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**User**](User.md)| Updated user object | |
### Return type
diff --git a/samples/client/petstore/kotlin-kotlinx-datetime/src/main/kotlin/org/openapitools/client/models/Category.kt b/samples/client/petstore/kotlin-kotlinx-datetime/src/main/kotlin/org/openapitools/client/models/Category.kt
index 4d74348ecd01..bca19d5c6901 100644
--- a/samples/client/petstore/kotlin-kotlinx-datetime/src/main/kotlin/org/openapitools/client/models/Category.kt
+++ b/samples/client/petstore/kotlin-kotlinx-datetime/src/main/kotlin/org/openapitools/client/models/Category.kt
@@ -35,5 +35,8 @@ data class Category (
@Json(name = "name")
val name: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-kotlinx-datetime/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt b/samples/client/petstore/kotlin-kotlinx-datetime/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
index e9e9fe4870d1..ea6bc0a04f89 100644
--- a/samples/client/petstore/kotlin-kotlinx-datetime/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
+++ b/samples/client/petstore/kotlin-kotlinx-datetime/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
@@ -39,5 +39,8 @@ data class ModelApiResponse (
@Json(name = "message")
val message: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-kotlinx-datetime/src/main/kotlin/org/openapitools/client/models/Order.kt b/samples/client/petstore/kotlin-kotlinx-datetime/src/main/kotlin/org/openapitools/client/models/Order.kt
index bbfae8a8b2da..17e3942b9e65 100644
--- a/samples/client/petstore/kotlin-kotlinx-datetime/src/main/kotlin/org/openapitools/client/models/Order.kt
+++ b/samples/client/petstore/kotlin-kotlinx-datetime/src/main/kotlin/org/openapitools/client/models/Order.kt
@@ -65,5 +65,6 @@ data class Order (
@Json(name = "approved") approved("approved"),
@Json(name = "delivered") delivered("delivered");
}
+
}
diff --git a/samples/client/petstore/kotlin-kotlinx-datetime/src/main/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/petstore/kotlin-kotlinx-datetime/src/main/kotlin/org/openapitools/client/models/Pet.kt
index cc35b5164c51..502297c92b0e 100644
--- a/samples/client/petstore/kotlin-kotlinx-datetime/src/main/kotlin/org/openapitools/client/models/Pet.kt
+++ b/samples/client/petstore/kotlin-kotlinx-datetime/src/main/kotlin/org/openapitools/client/models/Pet.kt
@@ -67,5 +67,6 @@ data class Pet (
@Json(name = "pending") pending("pending"),
@Json(name = "sold") sold("sold");
}
+
}
diff --git a/samples/client/petstore/kotlin-kotlinx-datetime/src/main/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/petstore/kotlin-kotlinx-datetime/src/main/kotlin/org/openapitools/client/models/Tag.kt
index b21fbab6580d..54bbd138c488 100644
--- a/samples/client/petstore/kotlin-kotlinx-datetime/src/main/kotlin/org/openapitools/client/models/Tag.kt
+++ b/samples/client/petstore/kotlin-kotlinx-datetime/src/main/kotlin/org/openapitools/client/models/Tag.kt
@@ -35,5 +35,8 @@ data class Tag (
@Json(name = "name")
val name: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-kotlinx-datetime/src/main/kotlin/org/openapitools/client/models/User.kt b/samples/client/petstore/kotlin-kotlinx-datetime/src/main/kotlin/org/openapitools/client/models/User.kt
index e5269f5d5d3d..5115585d1a4f 100644
--- a/samples/client/petstore/kotlin-kotlinx-datetime/src/main/kotlin/org/openapitools/client/models/User.kt
+++ b/samples/client/petstore/kotlin-kotlinx-datetime/src/main/kotlin/org/openapitools/client/models/User.kt
@@ -60,5 +60,8 @@ data class User (
@Json(name = "userStatus")
val userStatus: kotlin.Int? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-model-prefix-type-mappings/.openapi-generator/FILES b/samples/client/petstore/kotlin-model-prefix-type-mappings/.openapi-generator/FILES
index 9326c4589eca..2b66c25862d7 100644
--- a/samples/client/petstore/kotlin-model-prefix-type-mappings/.openapi-generator/FILES
+++ b/samples/client/petstore/kotlin-model-prefix-type-mappings/.openapi-generator/FILES
@@ -1,6 +1,8 @@
README.md
build.gradle
docs/Annotation.md
+docs/AnyOfUserOrPet.md
+docs/AnyOfUserOrPetOrArrayString.md
docs/ApiResponse.md
docs/Category.md
docs/FakeApi.md
@@ -11,6 +13,8 @@ docs/StoreApi.md
docs/Tag.md
docs/User.md
docs/UserApi.md
+docs/UserOrPet.md
+docs/UserOrPetOrArrayString.md
gradle/wrapper/gradle-wrapper.jar
gradle/wrapper/gradle-wrapper.properties
gradlew
@@ -33,9 +37,13 @@ src/main/kotlin/org/openapitools/client/infrastructure/OffsetDateTimeAdapter.kt
src/main/kotlin/org/openapitools/client/infrastructure/ResponseExt.kt
src/main/kotlin/org/openapitools/client/infrastructure/Serializer.kt
src/main/kotlin/org/openapitools/client/models/ApiAnnotation.kt
+src/main/kotlin/org/openapitools/client/models/ApiAnyOfUserOrPet.kt
+src/main/kotlin/org/openapitools/client/models/ApiAnyOfUserOrPetOrArrayString.kt
src/main/kotlin/org/openapitools/client/models/ApiApiResponse.kt
src/main/kotlin/org/openapitools/client/models/ApiCategory.kt
src/main/kotlin/org/openapitools/client/models/ApiOrder.kt
src/main/kotlin/org/openapitools/client/models/ApiPet.kt
src/main/kotlin/org/openapitools/client/models/ApiTag.kt
src/main/kotlin/org/openapitools/client/models/ApiUser.kt
+src/main/kotlin/org/openapitools/client/models/ApiUserOrPet.kt
+src/main/kotlin/org/openapitools/client/models/ApiUserOrPetOrArrayString.kt
diff --git a/samples/client/petstore/kotlin-model-prefix-type-mappings/README.md b/samples/client/petstore/kotlin-model-prefix-type-mappings/README.md
index 145746d47318..a6a915789344 100644
--- a/samples/client/petstore/kotlin-model-prefix-type-mappings/README.md
+++ b/samples/client/petstore/kotlin-model-prefix-type-mappings/README.md
@@ -43,41 +43,45 @@ This runs all tests and packages the library.
All URIs are relative to *http://petstore.swagger.io/v2*
-Class | Method | HTTP request | Description
------------- | ------------- | ------------- | -------------
-*FakeApi* | [**annotations**](docs/FakeApi.md#annotations) | **POST** fake/annotations | annotate
-*PetApi* | [**addPet**](docs/PetApi.md#addpet) | **POST** pet | Add a new pet to the store
-*PetApi* | [**deletePet**](docs/PetApi.md#deletepet) | **DELETE** pet/{petId} | Deletes a pet
-*PetApi* | [**findPetsByStatus**](docs/PetApi.md#findpetsbystatus) | **GET** pet/findByStatus | Finds Pets by status
-*PetApi* | [**findPetsByTags**](docs/PetApi.md#findpetsbytags) | **GET** pet/findByTags | Finds Pets by tags
-*PetApi* | [**getPetById**](docs/PetApi.md#getpetbyid) | **GET** pet/{petId} | Find pet by ID
-*PetApi* | [**updatePet**](docs/PetApi.md#updatepet) | **PUT** pet | Update an existing pet
-*PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatepetwithform) | **POST** pet/{petId} | Updates a pet in the store with form data
-*PetApi* | [**uploadFile**](docs/PetApi.md#uploadfile) | **POST** pet/{petId}/uploadImage | uploads an image
-*StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteorder) | **DELETE** store/order/{orderId} | Delete purchase order by ID
-*StoreApi* | [**getInventory**](docs/StoreApi.md#getinventory) | **GET** store/inventory | Returns pet inventories by status
-*StoreApi* | [**getOrderById**](docs/StoreApi.md#getorderbyid) | **GET** store/order/{orderId} | Find purchase order by ID
-*StoreApi* | [**placeOrder**](docs/StoreApi.md#placeorder) | **POST** store/order | Place an order for a pet
-*UserApi* | [**createUser**](docs/UserApi.md#createuser) | **POST** user | Create user
-*UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createuserswitharrayinput) | **POST** user/createWithArray | Creates list of users with given input array
-*UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createuserswithlistinput) | **POST** user/createWithList | Creates list of users with given input array
-*UserApi* | [**deleteUser**](docs/UserApi.md#deleteuser) | **DELETE** user/{username} | Delete user
-*UserApi* | [**getUserByName**](docs/UserApi.md#getuserbyname) | **GET** user/{username} | Get user by user name
-*UserApi* | [**loginUser**](docs/UserApi.md#loginuser) | **GET** user/login | Logs user into the system
-*UserApi* | [**logoutUser**](docs/UserApi.md#logoutuser) | **GET** user/logout | Logs out current logged in user session
-*UserApi* | [**updateUser**](docs/UserApi.md#updateuser) | **PUT** user/{username} | Updated user
+| Class | Method | HTTP request | Description |
+| ------------ | ------------- | ------------- | ------------- |
+| *FakeApi* | [**annotations**](docs/FakeApi.md#annotations) | **POST** fake/annotations | annotate |
+| *PetApi* | [**addPet**](docs/PetApi.md#addpet) | **POST** pet | Add a new pet to the store |
+| *PetApi* | [**deletePet**](docs/PetApi.md#deletepet) | **DELETE** pet/{petId} | Deletes a pet |
+| *PetApi* | [**findPetsByStatus**](docs/PetApi.md#findpetsbystatus) | **GET** pet/findByStatus | Finds Pets by status |
+| *PetApi* | [**findPetsByTags**](docs/PetApi.md#findpetsbytags) | **GET** pet/findByTags | Finds Pets by tags |
+| *PetApi* | [**getPetById**](docs/PetApi.md#getpetbyid) | **GET** pet/{petId} | Find pet by ID |
+| *PetApi* | [**updatePet**](docs/PetApi.md#updatepet) | **PUT** pet | Update an existing pet |
+| *PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatepetwithform) | **POST** pet/{petId} | Updates a pet in the store with form data |
+| *PetApi* | [**uploadFile**](docs/PetApi.md#uploadfile) | **POST** pet/{petId}/uploadImage | uploads an image |
+| *StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteorder) | **DELETE** store/order/{orderId} | Delete purchase order by ID |
+| *StoreApi* | [**getInventory**](docs/StoreApi.md#getinventory) | **GET** store/inventory | Returns pet inventories by status |
+| *StoreApi* | [**getOrderById**](docs/StoreApi.md#getorderbyid) | **GET** store/order/{orderId} | Find purchase order by ID |
+| *StoreApi* | [**placeOrder**](docs/StoreApi.md#placeorder) | **POST** store/order | Place an order for a pet |
+| *UserApi* | [**createUser**](docs/UserApi.md#createuser) | **POST** user | Create user |
+| *UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createuserswitharrayinput) | **POST** user/createWithArray | Creates list of users with given input array |
+| *UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createuserswithlistinput) | **POST** user/createWithList | Creates list of users with given input array |
+| *UserApi* | [**deleteUser**](docs/UserApi.md#deleteuser) | **DELETE** user/{username} | Delete user |
+| *UserApi* | [**getUserByName**](docs/UserApi.md#getuserbyname) | **GET** user/{username} | Get user by user name |
+| *UserApi* | [**loginUser**](docs/UserApi.md#loginuser) | **GET** user/login | Logs user into the system |
+| *UserApi* | [**logoutUser**](docs/UserApi.md#logoutuser) | **GET** user/logout | Logs out current logged in user session |
+| *UserApi* | [**updateUser**](docs/UserApi.md#updateuser) | **PUT** user/{username} | Updated user |
## Documentation for Models
- [org.openapitools.client.models.ApiAnnotation](docs/ApiAnnotation.md)
+ - [org.openapitools.client.models.ApiAnyOfUserOrPet](docs/ApiAnyOfUserOrPet.md)
+ - [org.openapitools.client.models.ApiAnyOfUserOrPetOrArrayString](docs/ApiAnyOfUserOrPetOrArrayString.md)
- [org.openapitools.client.models.ApiApiResponse](docs/ApiApiResponse.md)
- [org.openapitools.client.models.ApiCategory](docs/ApiCategory.md)
- [org.openapitools.client.models.ApiOrder](docs/ApiOrder.md)
- [org.openapitools.client.models.ApiPet](docs/ApiPet.md)
- [org.openapitools.client.models.ApiTag](docs/ApiTag.md)
- [org.openapitools.client.models.ApiUser](docs/ApiUser.md)
+ - [org.openapitools.client.models.ApiUserOrPet](docs/ApiUserOrPet.md)
+ - [org.openapitools.client.models.ApiUserOrPetOrArrayString](docs/ApiUserOrPetOrArrayString.md)
diff --git a/samples/client/petstore/kotlin-model-prefix-type-mappings/docs/Annotation.md b/samples/client/petstore/kotlin-model-prefix-type-mappings/docs/Annotation.md
index 7bf1a65e97ab..376576e4af43 100644
--- a/samples/client/petstore/kotlin-model-prefix-type-mappings/docs/Annotation.md
+++ b/samples/client/petstore/kotlin-model-prefix-type-mappings/docs/Annotation.md
@@ -2,9 +2,9 @@
# ApiAnnotation
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | [**java.util.UUID**](java.util.UUID.md) | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | [**java.util.UUID**](java.util.UUID.md) | | [optional] |
diff --git a/samples/client/petstore/kotlin-model-prefix-type-mappings/docs/AnyOfUserOrPet.md b/samples/client/petstore/kotlin-model-prefix-type-mappings/docs/AnyOfUserOrPet.md
new file mode 100644
index 000000000000..fe24e24f47cb
--- /dev/null
+++ b/samples/client/petstore/kotlin-model-prefix-type-mappings/docs/AnyOfUserOrPet.md
@@ -0,0 +1,29 @@
+
+# ApiAnyOfUserOrPet
+
+## Properties
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String** | | |
+| **name** | **kotlin.String** | | |
+| **photoUrls** | **kotlin.collections.List<kotlin.String>** | | |
+| **id** | **kotlin.Long** | | [optional] |
+| **firstName** | **kotlin.String** | | [optional] |
+| **lastName** | **kotlin.String** | | [optional] |
+| **email** | **kotlin.String** | | [optional] |
+| **password** | **kotlin.String** | | [optional] |
+| **phone** | **kotlin.String** | | [optional] |
+| **userStatus** | **kotlin.Int** | User Status | [optional] |
+| **category** | [**ApiCategory**](ApiCategory.md) | | [optional] |
+| **tags** | [**kotlin.collections.List<ApiTag>**](ApiTag.md) | | [optional] |
+| **status** | [**inline**](#Status) | pet status in the store | [optional] |
+
+
+
+## Enum: status
+| Name | Value |
+| ---- | ----- |
+| status | available, pending, sold |
+
+
+
diff --git a/samples/client/petstore/kotlin-model-prefix-type-mappings/docs/AnyOfUserOrPetOrArrayString.md b/samples/client/petstore/kotlin-model-prefix-type-mappings/docs/AnyOfUserOrPetOrArrayString.md
new file mode 100644
index 000000000000..94b65b04752a
--- /dev/null
+++ b/samples/client/petstore/kotlin-model-prefix-type-mappings/docs/AnyOfUserOrPetOrArrayString.md
@@ -0,0 +1,29 @@
+
+# ApiAnyOfUserOrPetOrArrayString
+
+## Properties
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String** | | |
+| **name** | **kotlin.String** | | |
+| **photoUrls** | **kotlin.collections.List<kotlin.String>** | | |
+| **id** | **kotlin.Long** | | [optional] |
+| **firstName** | **kotlin.String** | | [optional] |
+| **lastName** | **kotlin.String** | | [optional] |
+| **email** | **kotlin.String** | | [optional] |
+| **password** | **kotlin.String** | | [optional] |
+| **phone** | **kotlin.String** | | [optional] |
+| **userStatus** | **kotlin.Int** | User Status | [optional] |
+| **category** | [**ApiCategory**](ApiCategory.md) | | [optional] |
+| **tags** | [**kotlin.collections.List<ApiTag>**](ApiTag.md) | | [optional] |
+| **status** | [**inline**](#Status) | pet status in the store | [optional] |
+
+
+
+## Enum: status
+| Name | Value |
+| ---- | ----- |
+| status | available, pending, sold |
+
+
+
diff --git a/samples/client/petstore/kotlin-model-prefix-type-mappings/docs/ApiResponse.md b/samples/client/petstore/kotlin-model-prefix-type-mappings/docs/ApiResponse.md
index eea339dd9dfd..b8a2227ca196 100644
--- a/samples/client/petstore/kotlin-model-prefix-type-mappings/docs/ApiResponse.md
+++ b/samples/client/petstore/kotlin-model-prefix-type-mappings/docs/ApiResponse.md
@@ -2,11 +2,11 @@
# ApiApiResponse
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**code** | **kotlin.Int** | | [optional]
-**type** | **kotlin.String** | | [optional]
-**message** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **code** | **kotlin.Int** | | [optional] |
+| **type** | **kotlin.String** | | [optional] |
+| **message** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-model-prefix-type-mappings/docs/Category.md b/samples/client/petstore/kotlin-model-prefix-type-mappings/docs/Category.md
index 4445602c2d45..6b06645c5e73 100644
--- a/samples/client/petstore/kotlin-model-prefix-type-mappings/docs/Category.md
+++ b/samples/client/petstore/kotlin-model-prefix-type-mappings/docs/Category.md
@@ -2,10 +2,10 @@
# ApiCategory
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-model-prefix-type-mappings/docs/FakeApi.md b/samples/client/petstore/kotlin-model-prefix-type-mappings/docs/FakeApi.md
index 6df4082fb3e5..f66027e7db93 100644
--- a/samples/client/petstore/kotlin-model-prefix-type-mappings/docs/FakeApi.md
+++ b/samples/client/petstore/kotlin-model-prefix-type-mappings/docs/FakeApi.md
@@ -2,9 +2,9 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**annotations**](FakeApi.md#annotations) | **POST** fake/annotations | annotate
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**annotations**](FakeApi.md#annotations) | **POST** fake/annotations | annotate |
@@ -27,10 +27,9 @@ launch(Dispatchers.IO) {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **apiAnnotation** | [**ApiAnnotation**](ApiAnnotation.md)| |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **apiAnnotation** | [**ApiAnnotation**](ApiAnnotation.md)| | |
### Return type
diff --git a/samples/client/petstore/kotlin-model-prefix-type-mappings/docs/Order.md b/samples/client/petstore/kotlin-model-prefix-type-mappings/docs/Order.md
index 22465419b233..cc832c9828bb 100644
--- a/samples/client/petstore/kotlin-model-prefix-type-mappings/docs/Order.md
+++ b/samples/client/petstore/kotlin-model-prefix-type-mappings/docs/Order.md
@@ -2,21 +2,21 @@
# ApiOrder
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**petId** | **kotlin.Long** | | [optional]
-**quantity** | **kotlin.Int** | | [optional]
-**shipDate** | [**java.time.OffsetDateTime**](java.time.OffsetDateTime.md) | | [optional]
-**status** | [**inline**](#Status) | Order Status | [optional]
-**complete** | **kotlin.Boolean** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **petId** | **kotlin.Long** | | [optional] |
+| **quantity** | **kotlin.Int** | | [optional] |
+| **shipDate** | [**java.time.OffsetDateTime**](java.time.OffsetDateTime.md) | | [optional] |
+| **status** | [**inline**](#Status) | Order Status | [optional] |
+| **complete** | **kotlin.Boolean** | | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | placed, approved, delivered
+| Name | Value |
+| ---- | ----- |
+| status | placed, approved, delivered |
diff --git a/samples/client/petstore/kotlin-model-prefix-type-mappings/docs/Pet.md b/samples/client/petstore/kotlin-model-prefix-type-mappings/docs/Pet.md
index f525df0ffd88..e7552df1e079 100644
--- a/samples/client/petstore/kotlin-model-prefix-type-mappings/docs/Pet.md
+++ b/samples/client/petstore/kotlin-model-prefix-type-mappings/docs/Pet.md
@@ -2,21 +2,21 @@
# ApiPet
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**name** | **kotlin.String** | |
-**photoUrls** | **kotlin.collections.List<kotlin.String>** | |
-**id** | **kotlin.Long** | | [optional]
-**category** | [**ApiCategory**](ApiCategory.md) | | [optional]
-**tags** | [**kotlin.collections.List<ApiTag>**](ApiTag.md) | | [optional]
-**status** | [**inline**](#Status) | pet status in the store | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **name** | **kotlin.String** | | |
+| **photoUrls** | **kotlin.collections.List<kotlin.String>** | | |
+| **id** | **kotlin.Long** | | [optional] |
+| **category** | [**ApiCategory**](ApiCategory.md) | | [optional] |
+| **tags** | [**kotlin.collections.List<ApiTag>**](ApiTag.md) | | [optional] |
+| **status** | [**inline**](#Status) | pet status in the store | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | available, pending, sold
+| Name | Value |
+| ---- | ----- |
+| status | available, pending, sold |
diff --git a/samples/client/petstore/kotlin-model-prefix-type-mappings/docs/PetApi.md b/samples/client/petstore/kotlin-model-prefix-type-mappings/docs/PetApi.md
index 2fb1fdbaf39e..39e16a953bc5 100644
--- a/samples/client/petstore/kotlin-model-prefix-type-mappings/docs/PetApi.md
+++ b/samples/client/petstore/kotlin-model-prefix-type-mappings/docs/PetApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**addPet**](PetApi.md#addPet) | **POST** pet | Add a new pet to the store
-[**deletePet**](PetApi.md#deletePet) | **DELETE** pet/{petId} | Deletes a pet
-[**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** pet/findByStatus | Finds Pets by status
-[**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** pet/findByTags | Finds Pets by tags
-[**getPetById**](PetApi.md#getPetById) | **GET** pet/{petId} | Find pet by ID
-[**updatePet**](PetApi.md#updatePet) | **PUT** pet | Update an existing pet
-[**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** pet/{petId} | Updates a pet in the store with form data
-[**uploadFile**](PetApi.md#uploadFile) | **POST** pet/{petId}/uploadImage | uploads an image
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**addPet**](PetApi.md#addPet) | **POST** pet | Add a new pet to the store |
+| [**deletePet**](PetApi.md#deletePet) | **DELETE** pet/{petId} | Deletes a pet |
+| [**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** pet/findByStatus | Finds Pets by status |
+| [**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** pet/findByTags | Finds Pets by tags |
+| [**getPetById**](PetApi.md#getPetById) | **GET** pet/{petId} | Find pet by ID |
+| [**updatePet**](PetApi.md#updatePet) | **PUT** pet | Update an existing pet |
+| [**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** pet/{petId} | Updates a pet in the store with form data |
+| [**uploadFile**](PetApi.md#uploadFile) | **POST** pet/{petId}/uploadImage | uploads an image |
@@ -36,10 +36,9 @@ launch(Dispatchers.IO) {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **apiPet** | [**ApiPet**](ApiPet.md)| Pet object that needs to be added to the store |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **apiPet** | [**ApiPet**](ApiPet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -77,11 +76,10 @@ launch(Dispatchers.IO) {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| Pet id to delete |
- **apiKey** | **kotlin.String**| | [optional]
+| **petId** | **kotlin.Long**| Pet id to delete | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **apiKey** | **kotlin.String**| | [optional] |
### Return type
@@ -118,10 +116,9 @@ launch(Dispatchers.IO) {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **status** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [enum: available, pending, sold]
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **status** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [enum: available, pending, sold] |
### Return type
@@ -158,10 +155,9 @@ launch(Dispatchers.IO) {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **tags** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Tags to filter by |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **tags** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Tags to filter by | |
### Return type
@@ -198,10 +194,9 @@ launch(Dispatchers.IO) {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet to return |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **petId** | **kotlin.Long**| ID of pet to return | |
### Return type
@@ -238,10 +233,9 @@ launch(Dispatchers.IO) {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **apiPet** | [**ApiPet**](ApiPet.md)| Pet object that needs to be added to the store |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **apiPet** | [**ApiPet**](ApiPet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -280,12 +274,11 @@ launch(Dispatchers.IO) {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet that needs to be updated |
- **name** | **kotlin.String**| Updated name of the pet | [optional]
- **status** | **kotlin.String**| Updated status of the pet | [optional]
+| **petId** | **kotlin.Long**| ID of pet that needs to be updated | |
+| **name** | **kotlin.String**| Updated name of the pet | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **status** | **kotlin.String**| Updated status of the pet | [optional] |
### Return type
@@ -324,12 +317,11 @@ launch(Dispatchers.IO) {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet to update |
- **additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional]
- **file** | **RequestBody**| file to upload | [optional]
+| **petId** | **kotlin.Long**| ID of pet to update | |
+| **additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **file** | **RequestBody**| file to upload | [optional] |
### Return type
diff --git a/samples/client/petstore/kotlin-model-prefix-type-mappings/docs/StoreApi.md b/samples/client/petstore/kotlin-model-prefix-type-mappings/docs/StoreApi.md
index 8bedce7d2c10..53388dff3032 100644
--- a/samples/client/petstore/kotlin-model-prefix-type-mappings/docs/StoreApi.md
+++ b/samples/client/petstore/kotlin-model-prefix-type-mappings/docs/StoreApi.md
@@ -2,12 +2,12 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** store/order/{orderId} | Delete purchase order by ID
-[**getInventory**](StoreApi.md#getInventory) | **GET** store/inventory | Returns pet inventories by status
-[**getOrderById**](StoreApi.md#getOrderById) | **GET** store/order/{orderId} | Find purchase order by ID
-[**placeOrder**](StoreApi.md#placeOrder) | **POST** store/order | Place an order for a pet
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** store/order/{orderId} | Delete purchase order by ID |
+| [**getInventory**](StoreApi.md#getInventory) | **GET** store/inventory | Returns pet inventories by status |
+| [**getOrderById**](StoreApi.md#getOrderById) | **GET** store/order/{orderId} | Find purchase order by ID |
+| [**placeOrder**](StoreApi.md#placeOrder) | **POST** store/order | Place an order for a pet |
@@ -32,10 +32,9 @@ launch(Dispatchers.IO) {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **kotlin.String**| ID of the order that needs to be deleted |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **orderId** | **kotlin.String**| ID of the order that needs to be deleted | |
### Return type
@@ -108,10 +107,9 @@ launch(Dispatchers.IO) {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **kotlin.Long**| ID of pet that needs to be fetched |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **orderId** | **kotlin.Long**| ID of pet that needs to be fetched | |
### Return type
@@ -148,10 +146,9 @@ launch(Dispatchers.IO) {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **apiOrder** | [**ApiOrder**](ApiOrder.md)| order placed for purchasing the pet |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **apiOrder** | [**ApiOrder**](ApiOrder.md)| order placed for purchasing the pet | |
### Return type
diff --git a/samples/client/petstore/kotlin-model-prefix-type-mappings/docs/Tag.md b/samples/client/petstore/kotlin-model-prefix-type-mappings/docs/Tag.md
index 91a171469a4e..11567f173fc9 100644
--- a/samples/client/petstore/kotlin-model-prefix-type-mappings/docs/Tag.md
+++ b/samples/client/petstore/kotlin-model-prefix-type-mappings/docs/Tag.md
@@ -2,10 +2,10 @@
# ApiTag
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-model-prefix-type-mappings/docs/User.md b/samples/client/petstore/kotlin-model-prefix-type-mappings/docs/User.md
index ccf8c9966eb8..4aded1f504d3 100644
--- a/samples/client/petstore/kotlin-model-prefix-type-mappings/docs/User.md
+++ b/samples/client/petstore/kotlin-model-prefix-type-mappings/docs/User.md
@@ -2,16 +2,16 @@
# ApiUser
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**username** | **kotlin.String** | | [optional]
-**firstName** | **kotlin.String** | | [optional]
-**lastName** | **kotlin.String** | | [optional]
-**email** | **kotlin.String** | | [optional]
-**password** | **kotlin.String** | | [optional]
-**phone** | **kotlin.String** | | [optional]
-**userStatus** | **kotlin.Int** | User Status | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String** | | |
+| **id** | **kotlin.Long** | | [optional] |
+| **firstName** | **kotlin.String** | | [optional] |
+| **lastName** | **kotlin.String** | | [optional] |
+| **email** | **kotlin.String** | | [optional] |
+| **password** | **kotlin.String** | | [optional] |
+| **phone** | **kotlin.String** | | [optional] |
+| **userStatus** | **kotlin.Int** | User Status | [optional] |
diff --git a/samples/client/petstore/kotlin-model-prefix-type-mappings/docs/UserApi.md b/samples/client/petstore/kotlin-model-prefix-type-mappings/docs/UserApi.md
index 920211e7c0b6..758eb5efcedd 100644
--- a/samples/client/petstore/kotlin-model-prefix-type-mappings/docs/UserApi.md
+++ b/samples/client/petstore/kotlin-model-prefix-type-mappings/docs/UserApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**createUser**](UserApi.md#createUser) | **POST** user | Create user
-[**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** user/createWithArray | Creates list of users with given input array
-[**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** user/createWithList | Creates list of users with given input array
-[**deleteUser**](UserApi.md#deleteUser) | **DELETE** user/{username} | Delete user
-[**getUserByName**](UserApi.md#getUserByName) | **GET** user/{username} | Get user by user name
-[**loginUser**](UserApi.md#loginUser) | **GET** user/login | Logs user into the system
-[**logoutUser**](UserApi.md#logoutUser) | **GET** user/logout | Logs out current logged in user session
-[**updateUser**](UserApi.md#updateUser) | **PUT** user/{username} | Updated user
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**createUser**](UserApi.md#createUser) | **POST** user | Create user |
+| [**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** user/createWithArray | Creates list of users with given input array |
+| [**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** user/createWithList | Creates list of users with given input array |
+| [**deleteUser**](UserApi.md#deleteUser) | **DELETE** user/{username} | Delete user |
+| [**getUserByName**](UserApi.md#getUserByName) | **GET** user/{username} | Get user by user name |
+| [**loginUser**](UserApi.md#loginUser) | **GET** user/login | Logs user into the system |
+| [**logoutUser**](UserApi.md#logoutUser) | **GET** user/logout | Logs out current logged in user session |
+| [**updateUser**](UserApi.md#updateUser) | **PUT** user/{username} | Updated user |
@@ -36,10 +36,9 @@ launch(Dispatchers.IO) {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **apiUser** | [**ApiUser**](ApiUser.md)| Created user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **apiUser** | [**ApiUser**](ApiUser.md)| Created user object | |
### Return type
@@ -76,10 +75,9 @@ launch(Dispatchers.IO) {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **apiUser** | [**kotlin.collections.List<ApiUser>**](ApiUser.md)| List of user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **apiUser** | [**kotlin.collections.List<ApiUser>**](ApiUser.md)| List of user object | |
### Return type
@@ -116,10 +114,9 @@ launch(Dispatchers.IO) {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **apiUser** | [**kotlin.collections.List<ApiUser>**](ApiUser.md)| List of user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **apiUser** | [**kotlin.collections.List<ApiUser>**](ApiUser.md)| List of user object | |
### Return type
@@ -156,10 +153,9 @@ launch(Dispatchers.IO) {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The name that needs to be deleted |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String**| The name that needs to be deleted | |
### Return type
@@ -196,10 +192,9 @@ launch(Dispatchers.IO) {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. | |
### Return type
@@ -237,11 +232,10 @@ launch(Dispatchers.IO) {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The user name for login |
- **password** | **kotlin.String**| The password for login in clear text |
+| **username** | **kotlin.String**| The user name for login | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **password** | **kotlin.String**| The password for login in clear text | |
### Return type
@@ -315,11 +309,10 @@ launch(Dispatchers.IO) {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| name that need to be deleted |
- **apiUser** | [**ApiUser**](ApiUser.md)| Updated user object |
+| **username** | **kotlin.String**| name that need to be deleted | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **apiUser** | [**ApiUser**](ApiUser.md)| Updated user object | |
### Return type
diff --git a/samples/client/petstore/kotlin-model-prefix-type-mappings/docs/UserOrPet.md b/samples/client/petstore/kotlin-model-prefix-type-mappings/docs/UserOrPet.md
new file mode 100644
index 000000000000..290bbb200183
--- /dev/null
+++ b/samples/client/petstore/kotlin-model-prefix-type-mappings/docs/UserOrPet.md
@@ -0,0 +1,29 @@
+
+# ApiUserOrPet
+
+## Properties
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String** | | |
+| **name** | **kotlin.String** | | |
+| **photoUrls** | **kotlin.collections.List<kotlin.String>** | | |
+| **id** | **kotlin.Long** | | [optional] |
+| **firstName** | **kotlin.String** | | [optional] |
+| **lastName** | **kotlin.String** | | [optional] |
+| **email** | **kotlin.String** | | [optional] |
+| **password** | **kotlin.String** | | [optional] |
+| **phone** | **kotlin.String** | | [optional] |
+| **userStatus** | **kotlin.Int** | User Status | [optional] |
+| **category** | [**ApiCategory**](ApiCategory.md) | | [optional] |
+| **tags** | [**kotlin.collections.List<ApiTag>**](ApiTag.md) | | [optional] |
+| **status** | [**inline**](#Status) | pet status in the store | [optional] |
+
+
+
+## Enum: status
+| Name | Value |
+| ---- | ----- |
+| status | available, pending, sold |
+
+
+
diff --git a/samples/client/petstore/kotlin-model-prefix-type-mappings/docs/UserOrPetOrArrayString.md b/samples/client/petstore/kotlin-model-prefix-type-mappings/docs/UserOrPetOrArrayString.md
new file mode 100644
index 000000000000..0ec0493c434e
--- /dev/null
+++ b/samples/client/petstore/kotlin-model-prefix-type-mappings/docs/UserOrPetOrArrayString.md
@@ -0,0 +1,29 @@
+
+# ApiUserOrPetOrArrayString
+
+## Properties
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String** | | |
+| **name** | **kotlin.String** | | |
+| **photoUrls** | **kotlin.collections.List<kotlin.String>** | | |
+| **id** | **kotlin.Long** | | [optional] |
+| **firstName** | **kotlin.String** | | [optional] |
+| **lastName** | **kotlin.String** | | [optional] |
+| **email** | **kotlin.String** | | [optional] |
+| **password** | **kotlin.String** | | [optional] |
+| **phone** | **kotlin.String** | | [optional] |
+| **userStatus** | **kotlin.Int** | User Status | [optional] |
+| **category** | [**ApiCategory**](ApiCategory.md) | | [optional] |
+| **tags** | [**kotlin.collections.List<ApiTag>**](ApiTag.md) | | [optional] |
+| **status** | [**inline**](#Status) | pet status in the store | [optional] |
+
+
+
+## Enum: status
+| Name | Value |
+| ---- | ----- |
+| status | available, pending, sold |
+
+
+
diff --git a/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/infrastructure/ApiClient.kt b/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/infrastructure/ApiClient.kt
index 891cb7c59d9d..387aff8bd3df 100644
--- a/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/infrastructure/ApiClient.kt
+++ b/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/infrastructure/ApiClient.kt
@@ -84,6 +84,17 @@ class ApiClient(
addAuthorization(authName, auth)
}
}
+ serializerBuilder.registerTypeAdapterFactory(org.openapitools.client.models.ApiAnnotation.CustomTypeAdapterFactory())
+ serializerBuilder.registerTypeAdapterFactory(org.openapitools.client.models.ApiAnyOfUserOrPet.CustomTypeAdapterFactory())
+ serializerBuilder.registerTypeAdapterFactory(org.openapitools.client.models.ApiAnyOfUserOrPetOrArrayString.CustomTypeAdapterFactory())
+ serializerBuilder.registerTypeAdapterFactory(org.openapitools.client.models.ApiApiResponse.CustomTypeAdapterFactory())
+ serializerBuilder.registerTypeAdapterFactory(org.openapitools.client.models.ApiCategory.CustomTypeAdapterFactory())
+ serializerBuilder.registerTypeAdapterFactory(org.openapitools.client.models.ApiOrder.CustomTypeAdapterFactory())
+ serializerBuilder.registerTypeAdapterFactory(org.openapitools.client.models.ApiPet.CustomTypeAdapterFactory())
+ serializerBuilder.registerTypeAdapterFactory(org.openapitools.client.models.ApiTag.CustomTypeAdapterFactory())
+ serializerBuilder.registerTypeAdapterFactory(org.openapitools.client.models.ApiUser.CustomTypeAdapterFactory())
+ serializerBuilder.registerTypeAdapterFactory(org.openapitools.client.models.ApiUserOrPet.CustomTypeAdapterFactory())
+ serializerBuilder.registerTypeAdapterFactory(org.openapitools.client.models.ApiUserOrPetOrArrayString.CustomTypeAdapterFactory())
}
constructor(
@@ -101,6 +112,17 @@ class ApiClient(
?.setClientSecret(secret)
?.setUsername(username)
?.setPassword(password)
+ serializerBuilder.registerTypeAdapterFactory(org.openapitools.client.models.ApiAnnotation.CustomTypeAdapterFactory())
+ serializerBuilder.registerTypeAdapterFactory(org.openapitools.client.models.ApiAnyOfUserOrPet.CustomTypeAdapterFactory())
+ serializerBuilder.registerTypeAdapterFactory(org.openapitools.client.models.ApiAnyOfUserOrPetOrArrayString.CustomTypeAdapterFactory())
+ serializerBuilder.registerTypeAdapterFactory(org.openapitools.client.models.ApiApiResponse.CustomTypeAdapterFactory())
+ serializerBuilder.registerTypeAdapterFactory(org.openapitools.client.models.ApiCategory.CustomTypeAdapterFactory())
+ serializerBuilder.registerTypeAdapterFactory(org.openapitools.client.models.ApiOrder.CustomTypeAdapterFactory())
+ serializerBuilder.registerTypeAdapterFactory(org.openapitools.client.models.ApiPet.CustomTypeAdapterFactory())
+ serializerBuilder.registerTypeAdapterFactory(org.openapitools.client.models.ApiTag.CustomTypeAdapterFactory())
+ serializerBuilder.registerTypeAdapterFactory(org.openapitools.client.models.ApiUser.CustomTypeAdapterFactory())
+ serializerBuilder.registerTypeAdapterFactory(org.openapitools.client.models.ApiUserOrPet.CustomTypeAdapterFactory())
+ serializerBuilder.registerTypeAdapterFactory(org.openapitools.client.models.ApiUserOrPetOrArrayString.CustomTypeAdapterFactory())
}
/**
diff --git a/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiAnnotation.kt b/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiAnnotation.kt
index 98cc1ba5b34f..bd33ca92746f 100644
--- a/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiAnnotation.kt
+++ b/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiAnnotation.kt
@@ -16,6 +16,15 @@
package org.openapitools.client.models
+import com.google.gson.Gson
+import com.google.gson.JsonElement
+import com.google.gson.TypeAdapter
+import com.google.gson.TypeAdapterFactory
+import com.google.gson.reflect.TypeToken
+import com.google.gson.stream.JsonReader
+import com.google.gson.stream.JsonWriter
+import com.google.gson.annotations.JsonAdapter
+import java.io.IOException
import com.google.gson.annotations.SerializedName
/**
@@ -30,5 +39,66 @@ data class ApiAnnotation (
@SerializedName("id")
val id: java.util.UUID? = null
-)
+) {
+
+
+ class CustomTypeAdapterFactory : TypeAdapterFactory {
+ override fun create(gson: Gson, type: TypeToken): TypeAdapter? {
+ if (!ApiAnnotation::class.java.isAssignableFrom(type.rawType)) {
+ return null // this class only serializes 'ApiAnnotation' and its subtypes
+ }
+ val elementAdapter = gson.getAdapter(JsonElement::class.java)
+ val thisAdapter = gson.getDelegateAdapter(this, TypeToken.get(ApiAnnotation::class.java))
+
+ @Suppress("UNCHECKED_CAST")
+ return object : TypeAdapter() {
+ @Throws(IOException::class)
+ override fun write(out: JsonWriter, value: ApiAnnotation) {
+ val obj = thisAdapter.toJsonTree(value).getAsJsonObject()
+ elementAdapter.write(out, obj)
+ }
+
+ @Throws(IOException::class)
+ override fun read(jsonReader: JsonReader): ApiAnnotation {
+ val jsonElement = elementAdapter.read(jsonReader)
+ validateJsonElement(jsonElement)
+ return thisAdapter.fromJsonTree(jsonElement)
+ }
+ }.nullSafe() as TypeAdapter
+ }
+ }
+
+ companion object {
+ var openapiFields = HashSet()
+ var openapiRequiredFields = HashSet()
+
+ init {
+ // a set of all properties/fields (JSON key names)
+ openapiFields.add("id")
+
+ }
+
+ /**
+ * Validates the JSON Element and throws an exception if issues found
+ *
+ * @param jsonElement JSON Element
+ * @throws IOException if the JSON Element is invalid with respect to ApiAnnotation
+ */
+ @Throws(IOException::class)
+ fun validateJsonElement(jsonElement: JsonElement?) {
+ if (jsonElement == null) {
+ require(openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null
+ String.format("The required field(s) %s in ApiAnnotation is not found in the empty JSON string", ApiAnnotation.openapiRequiredFields.toString())
+ }
+ }
+ val jsonObj = jsonElement!!.getAsJsonObject()
+ if (jsonObj["id"] != null && !jsonObj["id"].isJsonNull) {
+ require(jsonObj.get("id").isJsonPrimitive) {
+ String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj["id"].toString())
+ }
+ }
+ }
+ }
+
+}
diff --git a/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiAnyOfUserOrPet.kt b/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiAnyOfUserOrPet.kt
new file mode 100644
index 000000000000..3d523a450eac
--- /dev/null
+++ b/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiAnyOfUserOrPet.kt
@@ -0,0 +1,114 @@
+/**
+ *
+ * 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 org.openapitools.client.models.ApiCategory
+import org.openapitools.client.models.ApiPet
+import org.openapitools.client.models.ApiTag
+import org.openapitools.client.models.ApiUser
+
+import com.google.gson.Gson
+import com.google.gson.JsonElement
+import com.google.gson.TypeAdapter
+import com.google.gson.TypeAdapterFactory
+import com.google.gson.reflect.TypeToken
+import com.google.gson.stream.JsonReader
+import com.google.gson.stream.JsonWriter
+import com.google.gson.annotations.JsonAdapter
+import com.google.gson.annotations.SerializedName
+import java.io.IOException
+
+/**
+ *
+ *
+ */
+
+
+data class ApiAnyOfUserOrPet(var actualInstance: Any? = null) {
+
+ class CustomTypeAdapterFactory : TypeAdapterFactory {
+ override fun create(gson: Gson, type: TypeToken): TypeAdapter? {
+ if (!ApiAnyOfUserOrPet::class.java.isAssignableFrom(type.rawType)) {
+ return null // this class only serializes 'ApiAnyOfUserOrPet' and its subtypes
+ }
+ val elementAdapter = gson.getAdapter(JsonElement::class.java)
+ val adapterApiUser = gson.getDelegateAdapter(this, TypeToken.get(ApiUser::class.java))
+ val adapterApiPet = gson.getDelegateAdapter(this, TypeToken.get(ApiPet::class.java))
+
+ @Suppress("UNCHECKED_CAST")
+ return object : TypeAdapter() {
+ @Throws(IOException::class)
+ override fun write(out: JsonWriter,value: ApiAnyOfUserOrPet?) {
+ if (value?.actualInstance == null) {
+ elementAdapter.write(out, null)
+ return
+ }
+
+ // check if the actual instance is of the type `ApiUser`
+ if (value.actualInstance is ApiUser) {
+ val element = adapterApiUser.toJsonTree(value.actualInstance as ApiUser?)
+ elementAdapter.write(out, element)
+ return
+ }
+ // check if the actual instance is of the type `ApiPet`
+ if (value.actualInstance is ApiPet) {
+ val element = adapterApiPet.toJsonTree(value.actualInstance as ApiPet?)
+ elementAdapter.write(out, element)
+ return
+ }
+ throw IOException("Failed to serialize as the type doesn't match anyOf schemas: ApiPet, ApiUser")
+ }
+
+ @Throws(IOException::class)
+ override fun read(jsonReader: JsonReader): ApiAnyOfUserOrPet {
+ val jsonElement = elementAdapter.read(jsonReader)
+ val errorMessages = ArrayList()
+ var actualAdapter: TypeAdapter<*>
+ val ret = ApiAnyOfUserOrPet()
+
+ // deserialize ApiUser
+ try {
+ // validate the JSON object to see if any exception is thrown
+ ApiUser.validateJsonElement(jsonElement)
+ actualAdapter = adapterApiUser
+ ret.actualInstance = actualAdapter.fromJsonTree(jsonElement)
+ return ret
+ //log.log(Level.FINER, "Input data matches schema 'ApiUser'")
+ } catch (e: Exception) {
+ // deserialization failed, continue
+ errorMessages.add(String.format("Deserialization for ApiUser failed with `%s`.", e.message))
+ //log.log(Level.FINER, "Input data does not match schema 'ApiUser'", e)
+ }
+ // deserialize ApiPet
+ try {
+ // validate the JSON object to see if any exception is thrown
+ ApiPet.validateJsonElement(jsonElement)
+ actualAdapter = adapterApiPet
+ ret.actualInstance = actualAdapter.fromJsonTree(jsonElement)
+ return ret
+ //log.log(Level.FINER, "Input data matches schema 'ApiPet'")
+ } catch (e: Exception) {
+ // deserialization failed, continue
+ errorMessages.add(String.format("Deserialization for ApiPet failed with `%s`.", e.message))
+ //log.log(Level.FINER, "Input data does not match schema 'ApiPet'", e)
+ }
+
+ throw IOException(String.format("Failed deserialization for ApiAnyOfUserOrPet: no schema match result. Detailed failure message for anyOf schemas: %s. JSON: %s", errorMessages, jsonElement.toString()))
+ }
+ }.nullSafe() as TypeAdapter
+ }
+ }
+}
diff --git a/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiAnyOfUserOrPetOrArrayString.kt b/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiAnyOfUserOrPetOrArrayString.kt
new file mode 100644
index 000000000000..3afd0f14af09
--- /dev/null
+++ b/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiAnyOfUserOrPetOrArrayString.kt
@@ -0,0 +1,144 @@
+/**
+ *
+ * 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 org.openapitools.client.models.ApiCategory
+import org.openapitools.client.models.ApiPet
+import org.openapitools.client.models.ApiTag
+import org.openapitools.client.models.ApiUser
+
+import com.google.gson.Gson
+import com.google.gson.JsonElement
+import com.google.gson.TypeAdapter
+import com.google.gson.TypeAdapterFactory
+import com.google.gson.reflect.TypeToken
+import com.google.gson.stream.JsonReader
+import com.google.gson.stream.JsonWriter
+import com.google.gson.annotations.JsonAdapter
+import com.google.gson.annotations.SerializedName
+import java.io.IOException
+
+/**
+ *
+ *
+ */
+
+
+data class ApiAnyOfUserOrPetOrArrayString(var actualInstance: Any? = null) {
+
+ class CustomTypeAdapterFactory : TypeAdapterFactory {
+ override fun create(gson: Gson, type: TypeToken): TypeAdapter? {
+ if (!ApiAnyOfUserOrPetOrArrayString::class.java.isAssignableFrom(type.rawType)) {
+ return null // this class only serializes 'ApiAnyOfUserOrPetOrArrayString' and its subtypes
+ }
+ val elementAdapter = gson.getAdapter(JsonElement::class.java)
+ val adapterApiUser = gson.getDelegateAdapter(this, TypeToken.get(ApiUser::class.java))
+ val adapterApiPet = gson.getDelegateAdapter(this, TypeToken.get(ApiPet::class.java))
+ @Suppress("UNCHECKED_CAST")
+ val adapterkotlincollectionsListkotlinString = gson.getDelegateAdapter(this, TypeToken.get(object : TypeToken>() {}.type)) as TypeAdapter>
+
+ @Suppress("UNCHECKED_CAST")
+ return object : TypeAdapter() {
+ @Throws(IOException::class)
+ override fun write(out: JsonWriter,value: ApiAnyOfUserOrPetOrArrayString?) {
+ if (value?.actualInstance == null) {
+ elementAdapter.write(out, null)
+ return
+ }
+
+ // check if the actual instance is of the type `ApiUser`
+ if (value.actualInstance is ApiUser) {
+ val element = adapterApiUser.toJsonTree(value.actualInstance as ApiUser?)
+ elementAdapter.write(out, element)
+ return
+ }
+ // check if the actual instance is of the type `ApiPet`
+ if (value.actualInstance is ApiPet) {
+ val element = adapterApiPet.toJsonTree(value.actualInstance as ApiPet?)
+ elementAdapter.write(out, element)
+ return
+ }
+ // check if the actual instance is of the type `kotlin.collections.List`
+ if (value.actualInstance is List<*>) {
+ val primitive = adapterkotlincollectionsListkotlinString.toJsonTree(value.actualInstance as kotlin.collections.List?).getAsJsonPrimitive()
+ elementAdapter.write(out, primitive)
+ return
+ }
+ throw IOException("Failed to serialize as the type doesn't match anyOf schemas: ApiPet, ApiUser, kotlin.collections.List")
+ }
+
+ @Throws(IOException::class)
+ override fun read(jsonReader: JsonReader): ApiAnyOfUserOrPetOrArrayString {
+ val jsonElement = elementAdapter.read(jsonReader)
+ val errorMessages = ArrayList()
+ var actualAdapter: TypeAdapter<*>
+ val ret = ApiAnyOfUserOrPetOrArrayString()
+
+ // deserialize ApiUser
+ try {
+ // validate the JSON object to see if any exception is thrown
+ ApiUser.validateJsonElement(jsonElement)
+ actualAdapter = adapterApiUser
+ ret.actualInstance = actualAdapter.fromJsonTree(jsonElement)
+ return ret
+ //log.log(Level.FINER, "Input data matches schema 'ApiUser'")
+ } catch (e: Exception) {
+ // deserialization failed, continue
+ errorMessages.add(String.format("Deserialization for ApiUser failed with `%s`.", e.message))
+ //log.log(Level.FINER, "Input data does not match schema 'ApiUser'", e)
+ }
+ // deserialize ApiPet
+ try {
+ // validate the JSON object to see if any exception is thrown
+ ApiPet.validateJsonElement(jsonElement)
+ actualAdapter = adapterApiPet
+ ret.actualInstance = actualAdapter.fromJsonTree(jsonElement)
+ return ret
+ //log.log(Level.FINER, "Input data matches schema 'ApiPet'")
+ } catch (e: Exception) {
+ // deserialization failed, continue
+ errorMessages.add(String.format("Deserialization for ApiPet failed with `%s`.", e.message))
+ //log.log(Level.FINER, "Input data does not match schema 'ApiPet'", e)
+ }
+ // deserialize kotlin.collections.List
+ try {
+ // validate the JSON object to see if any exception is thrown
+ require(jsonElement.isJsonArray) {
+ String.format("Expected json element to be a array type in the JSON string but got `%s`", jsonElement.toString())
+ }
+
+ // validate array items
+ for(element in jsonElement.getAsJsonArray()) {
+ require(element.getAsJsonPrimitive().isString) {
+ String.format("Expected array items to be of type String in the JSON string but got `%s`", jsonElement.toString())
+ }
+ }
+ actualAdapter = adapterkotlincollectionsListkotlinString
+ ret.actualInstance = actualAdapter.fromJsonTree(jsonElement)
+ return ret
+ //log.log(Level.FINER, "Input data matches schema 'kotlin.collections.List'")
+ } catch (e: Exception) {
+ // deserialization failed, continue
+ errorMessages.add(String.format("Deserialization for kotlin.collections.List failed with `%s`.", e.message))
+ //log.log(Level.FINER, "Input data does not match schema 'kotlin.collections.List'", e)
+ }
+
+ throw IOException(String.format("Failed deserialization for ApiAnyOfUserOrPetOrArrayString: no schema match result. Detailed failure message for anyOf schemas: %s. JSON: %s", errorMessages, jsonElement.toString()))
+ }
+ }.nullSafe() as TypeAdapter
+ }
+ }
+}
diff --git a/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiApiResponse.kt b/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiApiResponse.kt
index 03ccc83950f5..018bb458a120 100644
--- a/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiApiResponse.kt
+++ b/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiApiResponse.kt
@@ -16,6 +16,15 @@
package org.openapitools.client.models
+import com.google.gson.Gson
+import com.google.gson.JsonElement
+import com.google.gson.TypeAdapter
+import com.google.gson.TypeAdapterFactory
+import com.google.gson.reflect.TypeToken
+import com.google.gson.stream.JsonReader
+import com.google.gson.stream.JsonWriter
+import com.google.gson.annotations.JsonAdapter
+import java.io.IOException
import com.google.gson.annotations.SerializedName
/**
@@ -38,5 +47,73 @@ data class ApiApiResponse (
@SerializedName("message")
val message: kotlin.String? = null
-)
+) {
+
+
+ class CustomTypeAdapterFactory : TypeAdapterFactory {
+ override fun create(gson: Gson, type: TypeToken): TypeAdapter? {
+ if (!ApiApiResponse::class.java.isAssignableFrom(type.rawType)) {
+ return null // this class only serializes 'ApiApiResponse' and its subtypes
+ }
+ val elementAdapter = gson.getAdapter(JsonElement::class.java)
+ val thisAdapter = gson.getDelegateAdapter(this, TypeToken.get(ApiApiResponse::class.java))
+
+ @Suppress("UNCHECKED_CAST")
+ return object : TypeAdapter() {
+ @Throws(IOException::class)
+ override fun write(out: JsonWriter, value: ApiApiResponse) {
+ val obj = thisAdapter.toJsonTree(value).getAsJsonObject()
+ elementAdapter.write(out, obj)
+ }
+
+ @Throws(IOException::class)
+ override fun read(jsonReader: JsonReader): ApiApiResponse {
+ val jsonElement = elementAdapter.read(jsonReader)
+ validateJsonElement(jsonElement)
+ return thisAdapter.fromJsonTree(jsonElement)
+ }
+ }.nullSafe() as TypeAdapter
+ }
+ }
+
+ companion object {
+ var openapiFields = HashSet()
+ var openapiRequiredFields = HashSet()
+
+ init {
+ // a set of all properties/fields (JSON key names)
+ openapiFields.add("code")
+ openapiFields.add("type")
+ openapiFields.add("message")
+
+ }
+
+ /**
+ * Validates the JSON Element and throws an exception if issues found
+ *
+ * @param jsonElement JSON Element
+ * @throws IOException if the JSON Element is invalid with respect to ApiApiResponse
+ */
+ @Throws(IOException::class)
+ fun validateJsonElement(jsonElement: JsonElement?) {
+ if (jsonElement == null) {
+ require(openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null
+ String.format("The required field(s) %s in ApiApiResponse is not found in the empty JSON string", ApiApiResponse.openapiRequiredFields.toString())
+ }
+ }
+ val jsonObj = jsonElement!!.getAsJsonObject()
+ if (jsonObj["type"] != null && !jsonObj["type"].isJsonNull) {
+ require(jsonObj.get("type").isJsonPrimitive) {
+ String.format("Expected the field `type` to be a primitive type in the JSON string but got `%s`", jsonObj["type"].toString())
+ }
+ }
+ if (jsonObj["message"] != null && !jsonObj["message"].isJsonNull) {
+ require(jsonObj.get("message").isJsonPrimitive) {
+ String.format("Expected the field `message` to be a primitive type in the JSON string but got `%s`", jsonObj["message"].toString())
+ }
+ }
+ }
+ }
+
+}
diff --git a/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiCategory.kt b/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiCategory.kt
index 5820e268f1b0..4d2ab888bb38 100644
--- a/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiCategory.kt
+++ b/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiCategory.kt
@@ -16,6 +16,15 @@
package org.openapitools.client.models
+import com.google.gson.Gson
+import com.google.gson.JsonElement
+import com.google.gson.TypeAdapter
+import com.google.gson.TypeAdapterFactory
+import com.google.gson.reflect.TypeToken
+import com.google.gson.stream.JsonReader
+import com.google.gson.stream.JsonWriter
+import com.google.gson.annotations.JsonAdapter
+import java.io.IOException
import com.google.gson.annotations.SerializedName
/**
@@ -34,5 +43,67 @@ data class ApiCategory (
@SerializedName("name")
val name: kotlin.String? = null
-)
+) {
+
+
+ class CustomTypeAdapterFactory : TypeAdapterFactory {
+ override fun create(gson: Gson, type: TypeToken): TypeAdapter? {
+ if (!ApiCategory::class.java.isAssignableFrom(type.rawType)) {
+ return null // this class only serializes 'ApiCategory' and its subtypes
+ }
+ val elementAdapter = gson.getAdapter(JsonElement::class.java)
+ val thisAdapter = gson.getDelegateAdapter(this, TypeToken.get(ApiCategory::class.java))
+
+ @Suppress("UNCHECKED_CAST")
+ return object : TypeAdapter() {
+ @Throws(IOException::class)
+ override fun write(out: JsonWriter, value: ApiCategory) {
+ val obj = thisAdapter.toJsonTree(value).getAsJsonObject()
+ elementAdapter.write(out, obj)
+ }
+
+ @Throws(IOException::class)
+ override fun read(jsonReader: JsonReader): ApiCategory {
+ val jsonElement = elementAdapter.read(jsonReader)
+ validateJsonElement(jsonElement)
+ return thisAdapter.fromJsonTree(jsonElement)
+ }
+ }.nullSafe() as TypeAdapter
+ }
+ }
+
+ companion object {
+ var openapiFields = HashSet()
+ var openapiRequiredFields = HashSet()
+
+ init {
+ // a set of all properties/fields (JSON key names)
+ openapiFields.add("id")
+ openapiFields.add("name")
+
+ }
+
+ /**
+ * Validates the JSON Element and throws an exception if issues found
+ *
+ * @param jsonElement JSON Element
+ * @throws IOException if the JSON Element is invalid with respect to ApiCategory
+ */
+ @Throws(IOException::class)
+ fun validateJsonElement(jsonElement: JsonElement?) {
+ if (jsonElement == null) {
+ require(openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null
+ String.format("The required field(s) %s in ApiCategory is not found in the empty JSON string", ApiCategory.openapiRequiredFields.toString())
+ }
+ }
+ val jsonObj = jsonElement!!.getAsJsonObject()
+ if (jsonObj["name"] != null && !jsonObj["name"].isJsonNull) {
+ require(jsonObj.get("name").isJsonPrimitive) {
+ String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj["name"].toString())
+ }
+ }
+ }
+ }
+
+}
diff --git a/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiOrder.kt b/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiOrder.kt
index f2044587badd..af39fc31cfc6 100644
--- a/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiOrder.kt
+++ b/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiOrder.kt
@@ -16,6 +16,15 @@
package org.openapitools.client.models
+import com.google.gson.Gson
+import com.google.gson.JsonElement
+import com.google.gson.TypeAdapter
+import com.google.gson.TypeAdapterFactory
+import com.google.gson.reflect.TypeToken
+import com.google.gson.stream.JsonReader
+import com.google.gson.stream.JsonWriter
+import com.google.gson.annotations.JsonAdapter
+import java.io.IOException
import com.google.gson.annotations.SerializedName
/**
@@ -63,5 +72,75 @@ data class ApiOrder (
@SerializedName(value = "approved") APPROVED("approved"),
@SerializedName(value = "delivered") DELIVERED("delivered");
}
+
+ class CustomTypeAdapterFactory : TypeAdapterFactory {
+ override fun create(gson: Gson, type: TypeToken): TypeAdapter? {
+ if (!ApiOrder::class.java.isAssignableFrom(type.rawType)) {
+ return null // this class only serializes 'ApiOrder' and its subtypes
+ }
+ val elementAdapter = gson.getAdapter(JsonElement::class.java)
+ val thisAdapter = gson.getDelegateAdapter(this, TypeToken.get(ApiOrder::class.java))
+
+ @Suppress("UNCHECKED_CAST")
+ return object : TypeAdapter() {
+ @Throws(IOException::class)
+ override fun write(out: JsonWriter, value: ApiOrder) {
+ val obj = thisAdapter.toJsonTree(value).getAsJsonObject()
+ elementAdapter.write(out, obj)
+ }
+
+ @Throws(IOException::class)
+ override fun read(jsonReader: JsonReader): ApiOrder {
+ val jsonElement = elementAdapter.read(jsonReader)
+ validateJsonElement(jsonElement)
+ return thisAdapter.fromJsonTree(jsonElement)
+ }
+ }.nullSafe() as TypeAdapter
+ }
+ }
+
+ companion object {
+ var openapiFields = HashSet()
+ var openapiRequiredFields = HashSet()
+
+ init {
+ // a set of all properties/fields (JSON key names)
+ openapiFields.add("id")
+ openapiFields.add("petId")
+ openapiFields.add("quantity")
+ openapiFields.add("shipDate")
+ openapiFields.add("status")
+ openapiFields.add("complete")
+
+ }
+
+ /**
+ * Validates the JSON Element and throws an exception if issues found
+ *
+ * @param jsonElement JSON Element
+ * @throws IOException if the JSON Element is invalid with respect to ApiOrder
+ */
+ @Throws(IOException::class)
+ fun validateJsonElement(jsonElement: JsonElement?) {
+ if (jsonElement == null) {
+ require(openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null
+ String.format("The required field(s) %s in ApiOrder is not found in the empty JSON string", ApiOrder.openapiRequiredFields.toString())
+ }
+ }
+ val jsonObj = jsonElement!!.getAsJsonObject()
+ if (jsonObj["status"] != null && !jsonObj["status"].isJsonNull) {
+ require(jsonObj.get("status").isJsonPrimitive) {
+ String.format("Expected the field `status` to be a primitive type in the JSON string but got `%s`", jsonObj["status"].toString())
+ }
+ }
+ // validate the optional field `status`
+ if (jsonObj["status"] != null && !jsonObj["status"].isJsonNull) {
+ require(Status.values().any { it.value == jsonObj["status"].asString }) {
+ String.format("Expected the field `status` to be valid `Status` enum value in the JSON string but got `%s`", jsonObj["status"].toString())
+ }
+ }
+ }
+ }
+
}
diff --git a/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiPet.kt b/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiPet.kt
index 23db53732789..aeee1ddc5d1d 100644
--- a/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiPet.kt
+++ b/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiPet.kt
@@ -18,6 +18,15 @@ package org.openapitools.client.models
import org.openapitools.client.models.ApiCategory
import org.openapitools.client.models.ApiTag
+import com.google.gson.Gson
+import com.google.gson.JsonElement
+import com.google.gson.TypeAdapter
+import com.google.gson.TypeAdapterFactory
+import com.google.gson.reflect.TypeToken
+import com.google.gson.stream.JsonReader
+import com.google.gson.stream.JsonWriter
+import com.google.gson.annotations.JsonAdapter
+import java.io.IOException
import com.google.gson.annotations.SerializedName
/**
@@ -66,5 +75,113 @@ data class ApiPet (
@SerializedName(value = "pending") PENDING("pending"),
@SerializedName(value = "sold") SOLD("sold");
}
+
+ class CustomTypeAdapterFactory : TypeAdapterFactory {
+ override fun create(gson: Gson, type: TypeToken): TypeAdapter? {
+ if (!ApiPet::class.java.isAssignableFrom(type.rawType)) {
+ return null // this class only serializes 'ApiPet' and its subtypes
+ }
+ val elementAdapter = gson.getAdapter(JsonElement::class.java)
+ val thisAdapter = gson.getDelegateAdapter(this, TypeToken.get(ApiPet::class.java))
+
+ @Suppress("UNCHECKED_CAST")
+ return object : TypeAdapter() {
+ @Throws(IOException::class)
+ override fun write(out: JsonWriter, value: ApiPet) {
+ val obj = thisAdapter.toJsonTree(value).getAsJsonObject()
+ elementAdapter.write(out, obj)
+ }
+
+ @Throws(IOException::class)
+ override fun read(jsonReader: JsonReader): ApiPet {
+ val jsonElement = elementAdapter.read(jsonReader)
+ validateJsonElement(jsonElement)
+ return thisAdapter.fromJsonTree(jsonElement)
+ }
+ }.nullSafe() as TypeAdapter
+ }
+ }
+
+ companion object {
+ var openapiFields = HashSet()
+ var openapiRequiredFields = HashSet()
+
+ init {
+ // a set of all properties/fields (JSON key names)
+ openapiFields.add("name")
+ openapiFields.add("photoUrls")
+ openapiFields.add("id")
+ openapiFields.add("category")
+ openapiFields.add("tags")
+ openapiFields.add("status")
+
+ // a set of required properties/fields (JSON key names)
+ openapiRequiredFields.add("name")
+ openapiRequiredFields.add("photoUrls")
+ }
+
+ /**
+ * Validates the JSON Element and throws an exception if issues found
+ *
+ * @param jsonElement JSON Element
+ * @throws IOException if the JSON Element is invalid with respect to ApiPet
+ */
+ @Throws(IOException::class)
+ fun validateJsonElement(jsonElement: JsonElement?) {
+ if (jsonElement == null) {
+ require(openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null
+ String.format("The required field(s) %s in ApiPet is not found in the empty JSON string", ApiPet.openapiRequiredFields.toString())
+ }
+ }
+
+ // check to make sure all required properties/fields are present in the JSON string
+ for (requiredField in openapiRequiredFields) {
+ requireNotNull(jsonElement!!.getAsJsonObject()[requiredField]) {
+ String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())
+ }
+ }
+ val jsonObj = jsonElement!!.getAsJsonObject()
+ require(jsonObj["name"].isJsonPrimitive) {
+ String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj["name"].toString())
+ }
+ // ensure the required json array is present
+ requireNotNull(jsonObj["photoUrls"]) {
+ "Expected the field `photoUrls` to be an array in the JSON string but got `null`"
+ }
+ require(jsonObj["photoUrls"].isJsonArray()) {
+ String.format("Expected the field `photoUrls` to be an array in the JSON string but got `%s`", jsonObj["photoUrls"].toString())
+ }
+ // validate the optional field `category`
+ if (jsonObj["category"] != null && !jsonObj["category"].isJsonNull) {
+ ApiCategory.validateJsonElement(jsonObj["category"])
+ }
+ if (jsonObj["tags"] != null && !jsonObj["tags"].isJsonNull) {
+ val jsonArraytags = jsonObj.getAsJsonArray("tags")
+ if (jsonArraytags != null) {
+ // ensure the json data is an array
+ require(jsonObj["tags"].isJsonArray) {
+ String.format("Expected the field `tags` to be an array in the JSON string but got `%s`", jsonObj["tags"].toString())
+ }
+
+ // validate the optional field `tags` (array)
+ for (i in 0 until jsonArraytags.size()) {
+ ApiTag.validateJsonElement(jsonArraytags[i])
+ }
+ }
+ }
+ if (jsonObj["status"] != null && !jsonObj["status"].isJsonNull) {
+ require(jsonObj.get("status").isJsonPrimitive) {
+ String.format("Expected the field `status` to be a primitive type in the JSON string but got `%s`", jsonObj["status"].toString())
+ }
+ }
+ // validate the optional field `status`
+ if (jsonObj["status"] != null && !jsonObj["status"].isJsonNull) {
+ require(Status.values().any { it.value == jsonObj["status"].asString }) {
+ String.format("Expected the field `status` to be valid `Status` enum value in the JSON string but got `%s`", jsonObj["status"].toString())
+ }
+ }
+ }
+ }
+
}
diff --git a/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiTag.kt b/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiTag.kt
index e943518f8fd1..8f4b05dcd09d 100644
--- a/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiTag.kt
+++ b/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiTag.kt
@@ -16,6 +16,15 @@
package org.openapitools.client.models
+import com.google.gson.Gson
+import com.google.gson.JsonElement
+import com.google.gson.TypeAdapter
+import com.google.gson.TypeAdapterFactory
+import com.google.gson.reflect.TypeToken
+import com.google.gson.stream.JsonReader
+import com.google.gson.stream.JsonWriter
+import com.google.gson.annotations.JsonAdapter
+import java.io.IOException
import com.google.gson.annotations.SerializedName
/**
@@ -34,5 +43,67 @@ data class ApiTag (
@SerializedName("name")
val name: kotlin.String? = null
-)
+) {
+
+
+ class CustomTypeAdapterFactory : TypeAdapterFactory {
+ override fun create(gson: Gson, type: TypeToken): TypeAdapter? {
+ if (!ApiTag::class.java.isAssignableFrom(type.rawType)) {
+ return null // this class only serializes 'ApiTag' and its subtypes
+ }
+ val elementAdapter = gson.getAdapter(JsonElement::class.java)
+ val thisAdapter = gson.getDelegateAdapter(this, TypeToken.get(ApiTag::class.java))
+
+ @Suppress("UNCHECKED_CAST")
+ return object : TypeAdapter() {
+ @Throws(IOException::class)
+ override fun write(out: JsonWriter, value: ApiTag) {
+ val obj = thisAdapter.toJsonTree(value).getAsJsonObject()
+ elementAdapter.write(out, obj)
+ }
+
+ @Throws(IOException::class)
+ override fun read(jsonReader: JsonReader): ApiTag {
+ val jsonElement = elementAdapter.read(jsonReader)
+ validateJsonElement(jsonElement)
+ return thisAdapter.fromJsonTree(jsonElement)
+ }
+ }.nullSafe() as TypeAdapter
+ }
+ }
+
+ companion object {
+ var openapiFields = HashSet()
+ var openapiRequiredFields = HashSet()
+
+ init {
+ // a set of all properties/fields (JSON key names)
+ openapiFields.add("id")
+ openapiFields.add("name")
+
+ }
+
+ /**
+ * Validates the JSON Element and throws an exception if issues found
+ *
+ * @param jsonElement JSON Element
+ * @throws IOException if the JSON Element is invalid with respect to ApiTag
+ */
+ @Throws(IOException::class)
+ fun validateJsonElement(jsonElement: JsonElement?) {
+ if (jsonElement == null) {
+ require(openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null
+ String.format("The required field(s) %s in ApiTag is not found in the empty JSON string", ApiTag.openapiRequiredFields.toString())
+ }
+ }
+ val jsonObj = jsonElement!!.getAsJsonObject()
+ if (jsonObj["name"] != null && !jsonObj["name"].isJsonNull) {
+ require(jsonObj.get("name").isJsonPrimitive) {
+ String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj["name"].toString())
+ }
+ }
+ }
+ }
+
+}
diff --git a/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiUser.kt b/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiUser.kt
index d236965b764a..d47f6636a72a 100644
--- a/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiUser.kt
+++ b/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiUser.kt
@@ -16,13 +16,22 @@
package org.openapitools.client.models
+import com.google.gson.Gson
+import com.google.gson.JsonElement
+import com.google.gson.TypeAdapter
+import com.google.gson.TypeAdapterFactory
+import com.google.gson.reflect.TypeToken
+import com.google.gson.stream.JsonReader
+import com.google.gson.stream.JsonWriter
+import com.google.gson.annotations.JsonAdapter
+import java.io.IOException
import com.google.gson.annotations.SerializedName
/**
* A User who is purchasing from the pet store
*
- * @param id
* @param username
+ * @param id
* @param firstName
* @param lastName
* @param email
@@ -34,12 +43,12 @@ import com.google.gson.annotations.SerializedName
data class ApiUser (
+ @SerializedName("username")
+ val username: kotlin.String,
+
@SerializedName("id")
val id: kotlin.Long? = null,
- @SerializedName("username")
- val username: kotlin.String? = null,
-
@SerializedName("firstName")
val firstName: kotlin.String? = null,
@@ -59,5 +68,105 @@ data class ApiUser (
@SerializedName("userStatus")
val userStatus: kotlin.Int? = null
-)
+) {
+
+
+ class CustomTypeAdapterFactory : TypeAdapterFactory {
+ override fun create(gson: Gson, type: TypeToken): TypeAdapter? {
+ if (!ApiUser::class.java.isAssignableFrom(type.rawType)) {
+ return null // this class only serializes 'ApiUser' and its subtypes
+ }
+ val elementAdapter = gson.getAdapter(JsonElement::class.java)
+ val thisAdapter = gson.getDelegateAdapter(this, TypeToken.get(ApiUser::class.java))
+
+ @Suppress("UNCHECKED_CAST")
+ return object : TypeAdapter() {
+ @Throws(IOException::class)
+ override fun write(out: JsonWriter, value: ApiUser) {
+ val obj = thisAdapter.toJsonTree(value).getAsJsonObject()
+ elementAdapter.write(out, obj)
+ }
+
+ @Throws(IOException::class)
+ override fun read(jsonReader: JsonReader): ApiUser {
+ val jsonElement = elementAdapter.read(jsonReader)
+ validateJsonElement(jsonElement)
+ return thisAdapter.fromJsonTree(jsonElement)
+ }
+ }.nullSafe() as TypeAdapter
+ }
+ }
+
+ companion object {
+ var openapiFields = HashSet()
+ var openapiRequiredFields = HashSet()
+
+ init {
+ // a set of all properties/fields (JSON key names)
+ openapiFields.add("username")
+ openapiFields.add("id")
+ openapiFields.add("firstName")
+ openapiFields.add("lastName")
+ openapiFields.add("email")
+ openapiFields.add("password")
+ openapiFields.add("phone")
+ openapiFields.add("userStatus")
+
+ // a set of required properties/fields (JSON key names)
+ openapiRequiredFields.add("username")
+ }
+
+ /**
+ * Validates the JSON Element and throws an exception if issues found
+ *
+ * @param jsonElement JSON Element
+ * @throws IOException if the JSON Element is invalid with respect to ApiUser
+ */
+ @Throws(IOException::class)
+ fun validateJsonElement(jsonElement: JsonElement?) {
+ if (jsonElement == null) {
+ require(openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null
+ String.format("The required field(s) %s in ApiUser is not found in the empty JSON string", ApiUser.openapiRequiredFields.toString())
+ }
+ }
+
+ // check to make sure all required properties/fields are present in the JSON string
+ for (requiredField in openapiRequiredFields) {
+ requireNotNull(jsonElement!!.getAsJsonObject()[requiredField]) {
+ String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())
+ }
+ }
+ val jsonObj = jsonElement!!.getAsJsonObject()
+ require(jsonObj["username"].isJsonPrimitive) {
+ String.format("Expected the field `username` to be a primitive type in the JSON string but got `%s`", jsonObj["username"].toString())
+ }
+ if (jsonObj["firstName"] != null && !jsonObj["firstName"].isJsonNull) {
+ require(jsonObj.get("firstName").isJsonPrimitive) {
+ String.format("Expected the field `firstName` to be a primitive type in the JSON string but got `%s`", jsonObj["firstName"].toString())
+ }
+ }
+ if (jsonObj["lastName"] != null && !jsonObj["lastName"].isJsonNull) {
+ require(jsonObj.get("lastName").isJsonPrimitive) {
+ String.format("Expected the field `lastName` to be a primitive type in the JSON string but got `%s`", jsonObj["lastName"].toString())
+ }
+ }
+ if (jsonObj["email"] != null && !jsonObj["email"].isJsonNull) {
+ require(jsonObj.get("email").isJsonPrimitive) {
+ String.format("Expected the field `email` to be a primitive type in the JSON string but got `%s`", jsonObj["email"].toString())
+ }
+ }
+ if (jsonObj["password"] != null && !jsonObj["password"].isJsonNull) {
+ require(jsonObj.get("password").isJsonPrimitive) {
+ String.format("Expected the field `password` to be a primitive type in the JSON string but got `%s`", jsonObj["password"].toString())
+ }
+ }
+ if (jsonObj["phone"] != null && !jsonObj["phone"].isJsonNull) {
+ require(jsonObj.get("phone").isJsonPrimitive) {
+ String.format("Expected the field `phone` to be a primitive type in the JSON string but got `%s`", jsonObj["phone"].toString())
+ }
+ }
+ }
+ }
+
+}
diff --git a/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiUserOrPet.kt b/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiUserOrPet.kt
new file mode 100644
index 000000000000..372906b0e56b
--- /dev/null
+++ b/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiUserOrPet.kt
@@ -0,0 +1,118 @@
+/**
+ *
+ * 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 org.openapitools.client.models.ApiCategory
+import org.openapitools.client.models.ApiPet
+import org.openapitools.client.models.ApiTag
+import org.openapitools.client.models.ApiUser
+
+import com.google.gson.Gson
+import com.google.gson.JsonElement
+import com.google.gson.TypeAdapter
+import com.google.gson.TypeAdapterFactory
+import com.google.gson.reflect.TypeToken
+import com.google.gson.stream.JsonReader
+import com.google.gson.stream.JsonWriter
+import com.google.gson.annotations.JsonAdapter
+import com.google.gson.annotations.SerializedName
+import java.io.IOException
+
+/**
+ *
+ *
+ */
+
+
+data class ApiUserOrPet(var actualInstance: Any? = null) {
+
+ class CustomTypeAdapterFactory : TypeAdapterFactory {
+ override fun create(gson: Gson, type: TypeToken): TypeAdapter? {
+ if (!ApiUserOrPet::class.java.isAssignableFrom(type.rawType)) {
+ return null // this class only serializes 'ApiUserOrPet' and its subtypes
+ }
+ val elementAdapter = gson.getAdapter(JsonElement::class.java)
+ val adapterApiUser = gson.getDelegateAdapter(this, TypeToken.get(ApiUser::class.java))
+ val adapterApiPet = gson.getDelegateAdapter(this, TypeToken.get(ApiPet::class.java))
+
+ @Suppress("UNCHECKED_CAST")
+ return object : TypeAdapter() {
+ @Throws(IOException::class)
+ override fun write(out: JsonWriter,value: ApiUserOrPet?) {
+ if (value?.actualInstance == null) {
+ elementAdapter.write(out, null)
+ return
+ }
+
+ // check if the actual instance is of the type `ApiUser`
+ if (value.actualInstance is ApiUser) {
+ val element = adapterApiUser.toJsonTree(value.actualInstance as ApiUser?)
+ elementAdapter.write(out, element)
+ return
+ }
+ // check if the actual instance is of the type `ApiPet`
+ if (value.actualInstance is ApiPet) {
+ val element = adapterApiPet.toJsonTree(value.actualInstance as ApiPet?)
+ elementAdapter.write(out, element)
+ return
+ }
+ throw IOException("Failed to serialize as the type doesn't match oneOf schemas: ApiPet, ApiUser")
+ }
+
+ @Throws(IOException::class)
+ override fun read(jsonReader: JsonReader): ApiUserOrPet {
+ val jsonElement = elementAdapter.read(jsonReader)
+ var match = 0
+ val errorMessages = ArrayList()
+ var actualAdapter: TypeAdapter<*> = elementAdapter
+
+ // deserialize ApiUser
+ try {
+ // validate the JSON object to see if any exception is thrown
+ ApiUser.validateJsonElement(jsonElement)
+ actualAdapter = adapterApiUser
+ match++
+ //log.log(Level.FINER, "Input data matches schema 'ApiUser'")
+ } catch (e: Exception) {
+ // deserialization failed, continue
+ errorMessages.add(String.format("Deserialization for ApiUser failed with `%s`.", e.message))
+ //log.log(Level.FINER, "Input data does not match schema 'ApiUser'", e)
+ }
+ // deserialize ApiPet
+ try {
+ // validate the JSON object to see if any exception is thrown
+ ApiPet.validateJsonElement(jsonElement)
+ actualAdapter = adapterApiPet
+ match++
+ //log.log(Level.FINER, "Input data matches schema 'ApiPet'")
+ } catch (e: Exception) {
+ // deserialization failed, continue
+ errorMessages.add(String.format("Deserialization for ApiPet failed with `%s`.", e.message))
+ //log.log(Level.FINER, "Input data does not match schema 'ApiPet'", e)
+ }
+
+ if (match == 1) {
+ val ret = ApiUserOrPet()
+ ret.actualInstance = actualAdapter.fromJsonTree(jsonElement)
+ return ret
+ }
+
+ throw IOException(String.format("Failed deserialization for ApiUserOrPet: %d classes match result, expected 1. Detailed failure message for oneOf schemas: %s. JSON: %s", match, errorMessages, jsonElement.toString()))
+ }
+ }.nullSafe() as TypeAdapter
+ }
+ }
+}
diff --git a/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiUserOrPetOrArrayString.kt b/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiUserOrPetOrArrayString.kt
new file mode 100644
index 000000000000..31f57459baaa
--- /dev/null
+++ b/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiUserOrPetOrArrayString.kt
@@ -0,0 +1,147 @@
+/**
+ *
+ * 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 org.openapitools.client.models.ApiCategory
+import org.openapitools.client.models.ApiPet
+import org.openapitools.client.models.ApiTag
+import org.openapitools.client.models.ApiUser
+
+import com.google.gson.Gson
+import com.google.gson.JsonElement
+import com.google.gson.TypeAdapter
+import com.google.gson.TypeAdapterFactory
+import com.google.gson.reflect.TypeToken
+import com.google.gson.stream.JsonReader
+import com.google.gson.stream.JsonWriter
+import com.google.gson.annotations.JsonAdapter
+import com.google.gson.annotations.SerializedName
+import java.io.IOException
+
+/**
+ *
+ *
+ */
+
+
+data class ApiUserOrPetOrArrayString(var actualInstance: Any? = null) {
+
+ class CustomTypeAdapterFactory : TypeAdapterFactory {
+ override fun create(gson: Gson, type: TypeToken): TypeAdapter? {
+ if (!ApiUserOrPetOrArrayString::class.java.isAssignableFrom(type.rawType)) {
+ return null // this class only serializes 'ApiUserOrPetOrArrayString' and its subtypes
+ }
+ val elementAdapter = gson.getAdapter(JsonElement::class.java)
+ val adapterApiUser = gson.getDelegateAdapter(this, TypeToken.get(ApiUser::class.java))
+ val adapterApiPet = gson.getDelegateAdapter(this, TypeToken.get(ApiPet::class.java))
+ @Suppress("UNCHECKED_CAST")
+ val adapterkotlincollectionsListkotlinString = gson.getDelegateAdapter(this, TypeToken.get(object : TypeToken>() {}.type)) as TypeAdapter>
+
+ @Suppress("UNCHECKED_CAST")
+ return object : TypeAdapter() {
+ @Throws(IOException::class)
+ override fun write(out: JsonWriter,value: ApiUserOrPetOrArrayString?) {
+ if (value?.actualInstance == null) {
+ elementAdapter.write(out, null)
+ return
+ }
+
+ // check if the actual instance is of the type `ApiUser`
+ if (value.actualInstance is ApiUser) {
+ val element = adapterApiUser.toJsonTree(value.actualInstance as ApiUser?)
+ elementAdapter.write(out, element)
+ return
+ }
+ // check if the actual instance is of the type `ApiPet`
+ if (value.actualInstance is ApiPet) {
+ val element = adapterApiPet.toJsonTree(value.actualInstance as ApiPet?)
+ elementAdapter.write(out, element)
+ return
+ }
+ // check if the actual instance is of the type `kotlin.collections.List`
+ if (value.actualInstance is List<*>) {
+ val primitive = adapterkotlincollectionsListkotlinString.toJsonTree(value.actualInstance as kotlin.collections.List?).getAsJsonPrimitive()
+ elementAdapter.write(out, primitive)
+ return
+ }
+ throw IOException("Failed to serialize as the type doesn't match oneOf schemas: ApiPet, ApiUser, kotlin.collections.List")
+ }
+
+ @Throws(IOException::class)
+ override fun read(jsonReader: JsonReader): ApiUserOrPetOrArrayString {
+ val jsonElement = elementAdapter.read(jsonReader)
+ var match = 0
+ val errorMessages = ArrayList()
+ var actualAdapter: TypeAdapter<*> = elementAdapter
+
+ // deserialize ApiUser
+ try {
+ // validate the JSON object to see if any exception is thrown
+ ApiUser.validateJsonElement(jsonElement)
+ actualAdapter = adapterApiUser
+ match++
+ //log.log(Level.FINER, "Input data matches schema 'ApiUser'")
+ } catch (e: Exception) {
+ // deserialization failed, continue
+ errorMessages.add(String.format("Deserialization for ApiUser failed with `%s`.", e.message))
+ //log.log(Level.FINER, "Input data does not match schema 'ApiUser'", e)
+ }
+ // deserialize ApiPet
+ try {
+ // validate the JSON object to see if any exception is thrown
+ ApiPet.validateJsonElement(jsonElement)
+ actualAdapter = adapterApiPet
+ match++
+ //log.log(Level.FINER, "Input data matches schema 'ApiPet'")
+ } catch (e: Exception) {
+ // deserialization failed, continue
+ errorMessages.add(String.format("Deserialization for ApiPet failed with `%s`.", e.message))
+ //log.log(Level.FINER, "Input data does not match schema 'ApiPet'", e)
+ }
+ // deserialize kotlin.collections.List
+ try {
+ // validate the JSON object to see if any exception is thrown
+ require(jsonElement.isJsonArray) {
+ String.format("Expected json element to be a array type in the JSON string but got `%s`", jsonElement.toString())
+ }
+
+ // validate array items
+ for(element in jsonElement.getAsJsonArray()) {
+ require(element.getAsJsonPrimitive().isString) {
+ String.format("Expected array items to be of type String in the JSON string but got `%s`", jsonElement.toString())
+ }
+ }
+ actualAdapter = adapterkotlincollectionsListkotlinString
+ match++
+ //log.log(Level.FINER, "Input data matches schema 'kotlin.collections.List'")
+ } catch (e: Exception) {
+ // deserialization failed, continue
+ errorMessages.add(String.format("Deserialization for kotlin.collections.List failed with `%s`.", e.message))
+ //log.log(Level.FINER, "Input data does not match schema 'kotlin.collections.List'", e)
+ }
+
+ if (match == 1) {
+ val ret = ApiUserOrPetOrArrayString()
+ ret.actualInstance = actualAdapter.fromJsonTree(jsonElement)
+ return ret
+ }
+
+ throw IOException(String.format("Failed deserialization for ApiUserOrPetOrArrayString: %d classes match result, expected 1. Detailed failure message for oneOf schemas: %s. JSON: %s", match, errorMessages, jsonElement.toString()))
+ }
+ }.nullSafe() as TypeAdapter
+ }
+ }
+}
diff --git a/samples/client/petstore/kotlin-model-prefix-type-mappings/src/test/kotlin/org/openapitools/client/models/AnyOfUserOrPetOrArrayStringTest.kt b/samples/client/petstore/kotlin-model-prefix-type-mappings/src/test/kotlin/org/openapitools/client/models/AnyOfUserOrPetOrArrayStringTest.kt
new file mode 100644
index 000000000000..f04e9154e704
--- /dev/null
+++ b/samples/client/petstore/kotlin-model-prefix-type-mappings/src/test/kotlin/org/openapitools/client/models/AnyOfUserOrPetOrArrayStringTest.kt
@@ -0,0 +1,111 @@
+/**
+ *
+ * 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.ApiAnyOfUserOrPetOrArrayString
+import org.openapitools.client.models.ApiCategory
+import org.openapitools.client.models.ApiPet
+import org.openapitools.client.models.ApiTag
+import org.openapitools.client.models.ApiUser
+
+class ApiAnyOfUserOrPetOrArrayStringTest : ShouldSpec() {
+ init {
+ // uncomment below to create an instance of ApiAnyOfUserOrPetOrArrayString
+ //val modelInstance = ApiAnyOfUserOrPetOrArrayString()
+
+ // to test the property `username`
+ should("test username") {
+ // uncomment below to test the property
+ //modelInstance.username shouldBe ("TODO")
+ }
+
+ // 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 `firstName`
+ should("test firstName") {
+ // uncomment below to test the property
+ //modelInstance.firstName shouldBe ("TODO")
+ }
+
+ // to test the property `lastName`
+ should("test lastName") {
+ // uncomment below to test the property
+ //modelInstance.lastName shouldBe ("TODO")
+ }
+
+ // to test the property `email`
+ should("test email") {
+ // uncomment below to test the property
+ //modelInstance.email shouldBe ("TODO")
+ }
+
+ // to test the property `password`
+ should("test password") {
+ // uncomment below to test the property
+ //modelInstance.password shouldBe ("TODO")
+ }
+
+ // to test the property `phone`
+ should("test phone") {
+ // uncomment below to test the property
+ //modelInstance.phone shouldBe ("TODO")
+ }
+
+ // to test the property `userStatus` - User Status
+ should("test userStatus") {
+ // uncomment below to test the property
+ //modelInstance.userStatus 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")
+ }
+
+ }
+}
diff --git a/samples/client/petstore/kotlin-model-prefix-type-mappings/src/test/kotlin/org/openapitools/client/models/AnyOfUserOrPetTest.kt b/samples/client/petstore/kotlin-model-prefix-type-mappings/src/test/kotlin/org/openapitools/client/models/AnyOfUserOrPetTest.kt
new file mode 100644
index 000000000000..c3eeb87dbf11
--- /dev/null
+++ b/samples/client/petstore/kotlin-model-prefix-type-mappings/src/test/kotlin/org/openapitools/client/models/AnyOfUserOrPetTest.kt
@@ -0,0 +1,91 @@
+/**
+ *
+ * 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 com.google.gson.GsonBuilder
+import com.google.gson.JsonSyntaxException
+import io.kotlintest.shouldBe
+import io.kotlintest.specs.ShouldSpec
+import org.junit.jupiter.api.Assertions
+
+import org.openapitools.client.models.ApiAnyOfUserOrPet
+import org.openapitools.client.models.ApiCategory
+import org.openapitools.client.models.ApiPet
+import org.openapitools.client.models.ApiTag
+import org.openapitools.client.models.ApiUser
+import java.lang.RuntimeException
+
+class ApiAnyOfUserOrPetTest : ShouldSpec() {
+ init {
+ should("test custom type adapter") {
+ val gson = GsonBuilder()
+ .registerTypeAdapterFactory(ApiUser.CustomTypeAdapterFactory())
+ .registerTypeAdapterFactory(ApiCategory.CustomTypeAdapterFactory())
+ .registerTypeAdapterFactory(ApiPet.CustomTypeAdapterFactory())
+ .registerTypeAdapterFactory(ApiTag.CustomTypeAdapterFactory())
+ .registerTypeAdapterFactory(ApiAnyOfUserOrPet.CustomTypeAdapterFactory())
+ .create()
+
+ // test Category
+ val categoryJson = "{\"id\":123,\"name\":\"category\"}"
+ val category = gson.fromJson(categoryJson, ApiCategory::class.java)
+ //val category = gson.fromJson("{\"name\":\"category\"}", ApiCategory::class.java)
+ category.id shouldBe 123L
+ category.name shouldBe "category"
+
+ // test Pet
+ val petJson = "{\"id\":123,\"name\":\"pet\",\"photoUrls\":[\"https://a.com\"],\"category\":{\"id\":456,\"name\":\"pet category\"},\"tags\":[{\"id\":678,\"name\":\"pet tag\"}],\"status\":\"available\"}"
+ val pet = gson.fromJson(petJson, ApiPet::class.java)
+ pet.id shouldBe 123L
+ pet.name shouldBe "pet"
+ pet.photoUrls shouldBe arrayOf("https://a.com")
+ pet.tags shouldBe arrayOf(ApiTag(678, "pet tag"))
+ pet.category shouldBe ApiCategory(456, "pet category")
+ pet.status shouldBe ApiPet.Status.AVAILABLE
+
+ // test invalid json (missing required fields)
+ val petJsonMissingRequiredFields = "{\"id\":123,\"category\":{\"id\":456,\"name\":\"pet category\"},\"tags\":[{\"id\":678,\"name\":\"pet tag\"}],\"status\":\"available\"}"
+ Assertions.assertThrows(IllegalArgumentException::class.java) {
+ val failedPet = gson.fromJson(petJsonMissingRequiredFields, ApiPet::class.java)
+ failedPet.id shouldBe 123L
+ }
+
+ // test AnyOfUserOrPet (anyOf schema)
+ // invalid json
+ Assertions.assertThrows(JsonSyntaxException::class.java) {
+ val failed = gson.fromJson(categoryJson, ApiAnyOfUserOrPet::class.java)
+ if (failed != null) {
+ throw RuntimeException("this exception shouldn't be thrown")
+ }
+ }
+
+ // valid json, actualInstance should be Pet
+ val anyOfUserOrPet = gson.fromJson(petJson, ApiAnyOfUserOrPet::class.java)
+ (anyOfUserOrPet.actualInstance is ApiPet) shouldBe true
+ (anyOfUserOrPet.actualInstance is ApiUser) shouldBe false
+
+ val petFromAnyOf: ApiPet = anyOfUserOrPet.actualInstance as ApiPet
+
+ petFromAnyOf.id shouldBe 123L
+ petFromAnyOf.name shouldBe "pet"
+ petFromAnyOf.photoUrls shouldBe arrayOf("https://a.com")
+ petFromAnyOf.tags shouldBe arrayOf(ApiTag(678, "pet tag"))
+ petFromAnyOf.category shouldBe ApiCategory(456, "pet category")
+ petFromAnyOf.status shouldBe ApiPet.Status.AVAILABLE
+ }
+
+ }
+}
diff --git a/samples/client/petstore/kotlin-model-prefix-type-mappings/src/test/kotlin/org/openapitools/client/models/UserOrPetOrArrayStringTest.kt b/samples/client/petstore/kotlin-model-prefix-type-mappings/src/test/kotlin/org/openapitools/client/models/UserOrPetOrArrayStringTest.kt
new file mode 100644
index 000000000000..e3389769c43c
--- /dev/null
+++ b/samples/client/petstore/kotlin-model-prefix-type-mappings/src/test/kotlin/org/openapitools/client/models/UserOrPetOrArrayStringTest.kt
@@ -0,0 +1,111 @@
+/**
+ *
+ * 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.ApiUserOrPetOrArrayString
+import org.openapitools.client.models.ApiCategory
+import org.openapitools.client.models.ApiPet
+import org.openapitools.client.models.ApiTag
+import org.openapitools.client.models.ApiUser
+
+class ApiUserOrPetOrArrayStringTest : ShouldSpec() {
+ init {
+ // uncomment below to create an instance of ApiUserOrPetOrArrayString
+ //val modelInstance = ApiUserOrPetOrArrayString()
+
+ // to test the property `username`
+ should("test username") {
+ // uncomment below to test the property
+ //modelInstance.username shouldBe ("TODO")
+ }
+
+ // 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 `firstName`
+ should("test firstName") {
+ // uncomment below to test the property
+ //modelInstance.firstName shouldBe ("TODO")
+ }
+
+ // to test the property `lastName`
+ should("test lastName") {
+ // uncomment below to test the property
+ //modelInstance.lastName shouldBe ("TODO")
+ }
+
+ // to test the property `email`
+ should("test email") {
+ // uncomment below to test the property
+ //modelInstance.email shouldBe ("TODO")
+ }
+
+ // to test the property `password`
+ should("test password") {
+ // uncomment below to test the property
+ //modelInstance.password shouldBe ("TODO")
+ }
+
+ // to test the property `phone`
+ should("test phone") {
+ // uncomment below to test the property
+ //modelInstance.phone shouldBe ("TODO")
+ }
+
+ // to test the property `userStatus` - User Status
+ should("test userStatus") {
+ // uncomment below to test the property
+ //modelInstance.userStatus 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")
+ }
+
+ }
+}
diff --git a/samples/client/petstore/kotlin-model-prefix-type-mappings/src/test/kotlin/org/openapitools/client/models/UserOrPetTest.kt b/samples/client/petstore/kotlin-model-prefix-type-mappings/src/test/kotlin/org/openapitools/client/models/UserOrPetTest.kt
new file mode 100644
index 000000000000..791906a93d7b
--- /dev/null
+++ b/samples/client/petstore/kotlin-model-prefix-type-mappings/src/test/kotlin/org/openapitools/client/models/UserOrPetTest.kt
@@ -0,0 +1,93 @@
+/**
+ *
+ * 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.ApiUserOrPet
+import org.openapitools.client.models.ApiCategory
+import org.openapitools.client.models.ApiPet
+import org.openapitools.client.models.ApiTag
+import org.openapitools.client.models.ApiUser
+import com.google.gson.GsonBuilder
+import io.kotlintest.matchers.types.shouldBeSameInstanceAs
+import io.kotlintest.shouldNotBe
+import org.junit.jupiter.api.Assertions.assertThrows
+import java.io.IOException
+import java.lang.RuntimeException
+
+class ApiUserOrPetTest : ShouldSpec() {
+ init {
+
+ should("test custom type adapter") {
+ val gson = GsonBuilder()
+ .registerTypeAdapterFactory(ApiUser.CustomTypeAdapterFactory())
+ .registerTypeAdapterFactory(ApiCategory.CustomTypeAdapterFactory())
+ .registerTypeAdapterFactory(ApiPet.CustomTypeAdapterFactory())
+ .registerTypeAdapterFactory(ApiTag.CustomTypeAdapterFactory())
+ .registerTypeAdapterFactory(ApiUserOrPet.CustomTypeAdapterFactory())
+ .create()
+
+ // test Category
+ val categoryJson = "{\"id\":123,\"name\":\"category\"}"
+ val category = gson.fromJson(categoryJson, ApiCategory::class.java)
+ //val category = gson.fromJson("{\"name\":\"category\"}", ApiCategory::class.java)
+ category.id shouldBe 123L
+ category.name shouldBe "category"
+
+ // test Pet
+ val petJson = "{\"id\":123,\"name\":\"pet\",\"photoUrls\":[\"https://a.com\"],\"category\":{\"id\":456,\"name\":\"pet category\"},\"tags\":[{\"id\":678,\"name\":\"pet tag\"}],\"status\":\"available\"}"
+ val pet = gson.fromJson(petJson, ApiPet::class.java)
+ pet.id shouldBe 123L
+ pet.name shouldBe "pet"
+ pet.photoUrls shouldBe arrayOf("https://a.com")
+ pet.tags shouldBe arrayOf(ApiTag(678, "pet tag"))
+ pet.category shouldBe ApiCategory(456, "pet category")
+ pet.status shouldBe ApiPet.Status.AVAILABLE
+
+ // test invalid json (missing required fields)
+ val petJsonMissingRequiredFields = "{\"id\":123,\"category\":{\"id\":456,\"name\":\"pet category\"},\"tags\":[{\"id\":678,\"name\":\"pet tag\"}],\"status\":\"available\"}"
+ assertThrows(IllegalArgumentException::class.java) {
+ val failedPet = gson.fromJson(petJsonMissingRequiredFields, ApiPet::class.java)
+ failedPet.id shouldBe 123L
+ }
+
+ // test UserOrPet (oneOf schema)
+ // invalid json
+ assertThrows(com.google.gson.JsonSyntaxException::class.java) {
+ val failed = gson.fromJson(categoryJson, ApiUserOrPet::class.java)
+ if (failed != null) {
+ throw RuntimeException("this exception shouldn't be thrown")
+ }
+ }
+
+ // valid json, actualInstance should be Pet
+ val userOrPet = gson.fromJson(petJson, ApiUserOrPet::class.java)
+ (userOrPet.actualInstance is ApiPet) shouldBe true
+ (userOrPet.actualInstance is ApiUser) shouldBe false
+
+ val petFromOneOf: ApiPet = userOrPet.actualInstance as ApiPet
+
+ petFromOneOf.id shouldBe 123L
+ petFromOneOf.name shouldBe "pet"
+ petFromOneOf.photoUrls shouldBe arrayOf("https://a.com")
+ petFromOneOf.tags shouldBe arrayOf(ApiTag(678, "pet tag"))
+ petFromOneOf.category shouldBe ApiCategory(456, "pet category")
+ petFromOneOf.status shouldBe ApiPet.Status.AVAILABLE
+ }
+ }
+}
diff --git a/samples/client/petstore/kotlin-modelMutable/README.md b/samples/client/petstore/kotlin-modelMutable/README.md
index e4e111438878..f1cf0031b0c9 100644
--- a/samples/client/petstore/kotlin-modelMutable/README.md
+++ b/samples/client/petstore/kotlin-modelMutable/README.md
@@ -43,28 +43,28 @@ This runs all tests and packages the library.
All URIs are relative to *http://petstore.swagger.io/v2*
-Class | Method | HTTP request | Description
------------- | ------------- | ------------- | -------------
-*PetApi* | [**addPet**](docs/PetApi.md#addpet) | **POST** /pet | Add a new pet to the store
-*PetApi* | [**deletePet**](docs/PetApi.md#deletepet) | **DELETE** /pet/{petId} | Deletes a pet
-*PetApi* | [**findPetsByStatus**](docs/PetApi.md#findpetsbystatus) | **GET** /pet/findByStatus | Finds Pets by status
-*PetApi* | [**findPetsByTags**](docs/PetApi.md#findpetsbytags) | **GET** /pet/findByTags | Finds Pets by tags
-*PetApi* | [**getPetById**](docs/PetApi.md#getpetbyid) | **GET** /pet/{petId} | Find pet by ID
-*PetApi* | [**updatePet**](docs/PetApi.md#updatepet) | **PUT** /pet | Update an existing pet
-*PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatepetwithform) | **POST** /pet/{petId} | Updates a pet in the store with form data
-*PetApi* | [**uploadFile**](docs/PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image
-*StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteorder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID
-*StoreApi* | [**getInventory**](docs/StoreApi.md#getinventory) | **GET** /store/inventory | Returns pet inventories by status
-*StoreApi* | [**getOrderById**](docs/StoreApi.md#getorderbyid) | **GET** /store/order/{orderId} | Find purchase order by ID
-*StoreApi* | [**placeOrder**](docs/StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet
-*UserApi* | [**createUser**](docs/UserApi.md#createuser) | **POST** /user | Create user
-*UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createuserswitharrayinput) | **POST** /user/createWithArray | Creates list of users with given input array
-*UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createuserswithlistinput) | **POST** /user/createWithList | Creates list of users with given input array
-*UserApi* | [**deleteUser**](docs/UserApi.md#deleteuser) | **DELETE** /user/{username} | Delete user
-*UserApi* | [**getUserByName**](docs/UserApi.md#getuserbyname) | **GET** /user/{username} | Get user by user name
-*UserApi* | [**loginUser**](docs/UserApi.md#loginuser) | **GET** /user/login | Logs user into the system
-*UserApi* | [**logoutUser**](docs/UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session
-*UserApi* | [**updateUser**](docs/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user
+| Class | Method | HTTP request | Description |
+| ------------ | ------------- | ------------- | ------------- |
+| *PetApi* | [**addPet**](docs/PetApi.md#addpet) | **POST** /pet | Add a new pet to the store |
+| *PetApi* | [**deletePet**](docs/PetApi.md#deletepet) | **DELETE** /pet/{petId} | Deletes a pet |
+| *PetApi* | [**findPetsByStatus**](docs/PetApi.md#findpetsbystatus) | **GET** /pet/findByStatus | Finds Pets by status |
+| *PetApi* | [**findPetsByTags**](docs/PetApi.md#findpetsbytags) | **GET** /pet/findByTags | Finds Pets by tags |
+| *PetApi* | [**getPetById**](docs/PetApi.md#getpetbyid) | **GET** /pet/{petId} | Find pet by ID |
+| *PetApi* | [**updatePet**](docs/PetApi.md#updatepet) | **PUT** /pet | Update an existing pet |
+| *PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatepetwithform) | **POST** /pet/{petId} | Updates a pet in the store with form data |
+| *PetApi* | [**uploadFile**](docs/PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image |
+| *StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteorder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID |
+| *StoreApi* | [**getInventory**](docs/StoreApi.md#getinventory) | **GET** /store/inventory | Returns pet inventories by status |
+| *StoreApi* | [**getOrderById**](docs/StoreApi.md#getorderbyid) | **GET** /store/order/{orderId} | Find purchase order by ID |
+| *StoreApi* | [**placeOrder**](docs/StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet |
+| *UserApi* | [**createUser**](docs/UserApi.md#createuser) | **POST** /user | Create user |
+| *UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createuserswitharrayinput) | **POST** /user/createWithArray | Creates list of users with given input array |
+| *UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createuserswithlistinput) | **POST** /user/createWithList | Creates list of users with given input array |
+| *UserApi* | [**deleteUser**](docs/UserApi.md#deleteuser) | **DELETE** /user/{username} | Delete user |
+| *UserApi* | [**getUserByName**](docs/UserApi.md#getuserbyname) | **GET** /user/{username} | Get user by user name |
+| *UserApi* | [**loginUser**](docs/UserApi.md#loginuser) | **GET** /user/login | Logs user into the system |
+| *UserApi* | [**logoutUser**](docs/UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session |
+| *UserApi* | [**updateUser**](docs/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user |
diff --git a/samples/client/petstore/kotlin-modelMutable/docs/ApiResponse.md b/samples/client/petstore/kotlin-modelMutable/docs/ApiResponse.md
index 12f08d5cdef0..059525a99512 100644
--- a/samples/client/petstore/kotlin-modelMutable/docs/ApiResponse.md
+++ b/samples/client/petstore/kotlin-modelMutable/docs/ApiResponse.md
@@ -2,11 +2,11 @@
# ModelApiResponse
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**code** | **kotlin.Int** | | [optional]
-**type** | **kotlin.String** | | [optional]
-**message** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **code** | **kotlin.Int** | | [optional] |
+| **type** | **kotlin.String** | | [optional] |
+| **message** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-modelMutable/docs/Category.md b/samples/client/petstore/kotlin-modelMutable/docs/Category.md
index 2c28a670fc79..baba5657eb21 100644
--- a/samples/client/petstore/kotlin-modelMutable/docs/Category.md
+++ b/samples/client/petstore/kotlin-modelMutable/docs/Category.md
@@ -2,10 +2,10 @@
# Category
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-modelMutable/docs/Order.md b/samples/client/petstore/kotlin-modelMutable/docs/Order.md
index c0c951b22d33..7b7a399f7f75 100644
--- a/samples/client/petstore/kotlin-modelMutable/docs/Order.md
+++ b/samples/client/petstore/kotlin-modelMutable/docs/Order.md
@@ -2,21 +2,21 @@
# Order
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**petId** | **kotlin.Long** | | [optional]
-**quantity** | **kotlin.Int** | | [optional]
-**shipDate** | [**java.time.OffsetDateTime**](java.time.OffsetDateTime.md) | | [optional]
-**status** | [**inline**](#Status) | Order Status | [optional]
-**complete** | **kotlin.Boolean** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **petId** | **kotlin.Long** | | [optional] |
+| **quantity** | **kotlin.Int** | | [optional] |
+| **shipDate** | [**java.time.OffsetDateTime**](java.time.OffsetDateTime.md) | | [optional] |
+| **status** | [**inline**](#Status) | Order Status | [optional] |
+| **complete** | **kotlin.Boolean** | | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | placed, approved, delivered
+| Name | Value |
+| ---- | ----- |
+| status | placed, approved, delivered |
diff --git a/samples/client/petstore/kotlin-modelMutable/docs/Pet.md b/samples/client/petstore/kotlin-modelMutable/docs/Pet.md
index bc78b7d7e8a7..9a97ed126b09 100644
--- a/samples/client/petstore/kotlin-modelMutable/docs/Pet.md
+++ b/samples/client/petstore/kotlin-modelMutable/docs/Pet.md
@@ -2,21 +2,21 @@
# Pet
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**name** | **kotlin.String** | |
-**photoUrls** | **kotlin.collections.MutableList<kotlin.String>** | |
-**id** | **kotlin.Long** | | [optional]
-**category** | [**Category**](Category.md) | | [optional]
-**tags** | [**kotlin.collections.MutableList<Tag>**](Tag.md) | | [optional]
-**status** | [**inline**](#Status) | pet status in the store | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **name** | **kotlin.String** | | |
+| **photoUrls** | **kotlin.collections.MutableList<kotlin.String>** | | |
+| **id** | **kotlin.Long** | | [optional] |
+| **category** | [**Category**](Category.md) | | [optional] |
+| **tags** | [**kotlin.collections.MutableList<Tag>**](Tag.md) | | [optional] |
+| **status** | [**inline**](#Status) | pet status in the store | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | available, pending, sold
+| Name | Value |
+| ---- | ----- |
+| status | available, pending, sold |
diff --git a/samples/client/petstore/kotlin-modelMutable/docs/PetApi.md b/samples/client/petstore/kotlin-modelMutable/docs/PetApi.md
index a0ec9fb4937a..e385754514fb 100644
--- a/samples/client/petstore/kotlin-modelMutable/docs/PetApi.md
+++ b/samples/client/petstore/kotlin-modelMutable/docs/PetApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**addPet**](PetApi.md#addPet) | **POST** /pet | Add a new pet to the store
-[**deletePet**](PetApi.md#deletePet) | **DELETE** /pet/{petId} | Deletes a pet
-[**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** /pet/findByStatus | Finds Pets by status
-[**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** /pet/findByTags | Finds Pets by tags
-[**getPetById**](PetApi.md#getPetById) | **GET** /pet/{petId} | Find pet by ID
-[**updatePet**](PetApi.md#updatePet) | **PUT** /pet | Update an existing pet
-[**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** /pet/{petId} | Updates a pet in the store with form data
-[**uploadFile**](PetApi.md#uploadFile) | **POST** /pet/{petId}/uploadImage | uploads an image
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**addPet**](PetApi.md#addPet) | **POST** /pet | Add a new pet to the store |
+| [**deletePet**](PetApi.md#deletePet) | **DELETE** /pet/{petId} | Deletes a pet |
+| [**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** /pet/findByStatus | Finds Pets by status |
+| [**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** /pet/findByTags | Finds Pets by tags |
+| [**getPetById**](PetApi.md#getPetById) | **GET** /pet/{petId} | Find pet by ID |
+| [**updatePet**](PetApi.md#updatePet) | **PUT** /pet | Update an existing pet |
+| [**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** /pet/{petId} | Updates a pet in the store with form data |
+| [**uploadFile**](PetApi.md#uploadFile) | **POST** /pet/{petId}/uploadImage | uploads an image |
@@ -40,10 +40,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -87,11 +86,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| Pet id to delete |
- **apiKey** | **kotlin.String**| | [optional]
+| **petId** | **kotlin.Long**| Pet id to delete | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **apiKey** | **kotlin.String**| | [optional] |
### Return type
@@ -137,10 +135,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **status** | [**kotlin.collections.MutableList<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [enum: available, pending, sold]
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **status** | [**kotlin.collections.MutableList<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [enum: available, pending, sold] |
### Return type
@@ -186,10 +183,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **tags** | [**kotlin.collections.MutableList<kotlin.String>**](kotlin.String.md)| Tags to filter by |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **tags** | [**kotlin.collections.MutableList<kotlin.String>**](kotlin.String.md)| Tags to filter by | |
### Return type
@@ -235,10 +231,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet to return |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **petId** | **kotlin.Long**| ID of pet to return | |
### Return type
@@ -282,10 +277,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -330,12 +324,11 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet that needs to be updated |
- **name** | **kotlin.String**| Updated name of the pet | [optional]
- **status** | **kotlin.String**| Updated status of the pet | [optional]
+| **petId** | **kotlin.Long**| ID of pet that needs to be updated | |
+| **name** | **kotlin.String**| Updated name of the pet | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **status** | **kotlin.String**| Updated status of the pet | [optional] |
### Return type
@@ -381,12 +374,11 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet to update |
- **additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional]
- **file** | **java.io.File**| file to upload | [optional]
+| **petId** | **kotlin.Long**| ID of pet to update | |
+| **additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **file** | **java.io.File**| file to upload | [optional] |
### Return type
diff --git a/samples/client/petstore/kotlin-modelMutable/docs/StoreApi.md b/samples/client/petstore/kotlin-modelMutable/docs/StoreApi.md
index c1daafdb52db..9d9f4c673e6f 100644
--- a/samples/client/petstore/kotlin-modelMutable/docs/StoreApi.md
+++ b/samples/client/petstore/kotlin-modelMutable/docs/StoreApi.md
@@ -2,12 +2,12 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID
-[**getInventory**](StoreApi.md#getInventory) | **GET** /store/inventory | Returns pet inventories by status
-[**getOrderById**](StoreApi.md#getOrderById) | **GET** /store/order/{orderId} | Find purchase order by ID
-[**placeOrder**](StoreApi.md#placeOrder) | **POST** /store/order | Place an order for a pet
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID |
+| [**getInventory**](StoreApi.md#getInventory) | **GET** /store/inventory | Returns pet inventories by status |
+| [**getOrderById**](StoreApi.md#getOrderById) | **GET** /store/order/{orderId} | Find purchase order by ID |
+| [**placeOrder**](StoreApi.md#placeOrder) | **POST** /store/order | Place an order for a pet |
@@ -38,10 +38,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **kotlin.String**| ID of the order that needs to be deleted |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **orderId** | **kotlin.String**| ID of the order that needs to be deleted | |
### Return type
@@ -131,10 +130,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **kotlin.Long**| ID of pet that needs to be fetched |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **orderId** | **kotlin.Long**| ID of pet that needs to be fetched | |
### Return type
@@ -176,10 +174,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**Order**](Order.md)| order placed for purchasing the pet |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**Order**](Order.md)| order placed for purchasing the pet | |
### Return type
diff --git a/samples/client/petstore/kotlin-modelMutable/docs/Tag.md b/samples/client/petstore/kotlin-modelMutable/docs/Tag.md
index 60ce1bcdbad3..dc8fa3cb555d 100644
--- a/samples/client/petstore/kotlin-modelMutable/docs/Tag.md
+++ b/samples/client/petstore/kotlin-modelMutable/docs/Tag.md
@@ -2,10 +2,10 @@
# Tag
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-modelMutable/docs/User.md b/samples/client/petstore/kotlin-modelMutable/docs/User.md
index e801729b5ed1..a9f35788637e 100644
--- a/samples/client/petstore/kotlin-modelMutable/docs/User.md
+++ b/samples/client/petstore/kotlin-modelMutable/docs/User.md
@@ -2,16 +2,16 @@
# User
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**username** | **kotlin.String** | | [optional]
-**firstName** | **kotlin.String** | | [optional]
-**lastName** | **kotlin.String** | | [optional]
-**email** | **kotlin.String** | | [optional]
-**password** | **kotlin.String** | | [optional]
-**phone** | **kotlin.String** | | [optional]
-**userStatus** | **kotlin.Int** | User Status | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **username** | **kotlin.String** | | [optional] |
+| **firstName** | **kotlin.String** | | [optional] |
+| **lastName** | **kotlin.String** | | [optional] |
+| **email** | **kotlin.String** | | [optional] |
+| **password** | **kotlin.String** | | [optional] |
+| **phone** | **kotlin.String** | | [optional] |
+| **userStatus** | **kotlin.Int** | User Status | [optional] |
diff --git a/samples/client/petstore/kotlin-modelMutable/docs/UserApi.md b/samples/client/petstore/kotlin-modelMutable/docs/UserApi.md
index 9fa3944313f4..b13c0b7f4d78 100644
--- a/samples/client/petstore/kotlin-modelMutable/docs/UserApi.md
+++ b/samples/client/petstore/kotlin-modelMutable/docs/UserApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**createUser**](UserApi.md#createUser) | **POST** /user | Create user
-[**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** /user/createWithArray | Creates list of users with given input array
-[**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** /user/createWithList | Creates list of users with given input array
-[**deleteUser**](UserApi.md#deleteUser) | **DELETE** /user/{username} | Delete user
-[**getUserByName**](UserApi.md#getUserByName) | **GET** /user/{username} | Get user by user name
-[**loginUser**](UserApi.md#loginUser) | **GET** /user/login | Logs user into the system
-[**logoutUser**](UserApi.md#logoutUser) | **GET** /user/logout | Logs out current logged in user session
-[**updateUser**](UserApi.md#updateUser) | **PUT** /user/{username} | Updated user
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**createUser**](UserApi.md#createUser) | **POST** /user | Create user |
+| [**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** /user/createWithArray | Creates list of users with given input array |
+| [**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** /user/createWithList | Creates list of users with given input array |
+| [**deleteUser**](UserApi.md#deleteUser) | **DELETE** /user/{username} | Delete user |
+| [**getUserByName**](UserApi.md#getUserByName) | **GET** /user/{username} | Get user by user name |
+| [**loginUser**](UserApi.md#loginUser) | **GET** /user/login | Logs user into the system |
+| [**logoutUser**](UserApi.md#logoutUser) | **GET** /user/logout | Logs out current logged in user session |
+| [**updateUser**](UserApi.md#updateUser) | **PUT** /user/{username} | Updated user |
@@ -42,10 +42,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**User**](User.md)| Created user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**User**](User.md)| Created user object | |
### Return type
@@ -86,10 +85,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**kotlin.collections.MutableList<User>**](User.md)| List of user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**kotlin.collections.MutableList<User>**](User.md)| List of user object | |
### Return type
@@ -130,10 +128,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**kotlin.collections.MutableList<User>**](User.md)| List of user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**kotlin.collections.MutableList<User>**](User.md)| List of user object | |
### Return type
@@ -176,10 +173,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The name that needs to be deleted |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String**| The name that needs to be deleted | |
### Return type
@@ -221,10 +217,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. | |
### Return type
@@ -267,11 +262,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The user name for login |
- **password** | **kotlin.String**| The password for login in clear text |
+| **username** | **kotlin.String**| The user name for login | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **password** | **kotlin.String**| The password for login in clear text | |
### Return type
@@ -355,11 +349,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| name that need to be deleted |
- **body** | [**User**](User.md)| Updated user object |
+| **username** | **kotlin.String**| name that need to be deleted | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**User**](User.md)| Updated user object | |
### Return type
diff --git a/samples/client/petstore/kotlin-modelMutable/src/main/kotlin/org/openapitools/client/models/Category.kt b/samples/client/petstore/kotlin-modelMutable/src/main/kotlin/org/openapitools/client/models/Category.kt
index 4ff54c86bc68..4f64b7bdf568 100644
--- a/samples/client/petstore/kotlin-modelMutable/src/main/kotlin/org/openapitools/client/models/Category.kt
+++ b/samples/client/petstore/kotlin-modelMutable/src/main/kotlin/org/openapitools/client/models/Category.kt
@@ -35,5 +35,8 @@ data class Category (
@Json(name = "name")
var name: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-modelMutable/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt b/samples/client/petstore/kotlin-modelMutable/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
index 7b8fad210364..f0c2ca6dee3b 100644
--- a/samples/client/petstore/kotlin-modelMutable/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
+++ b/samples/client/petstore/kotlin-modelMutable/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
@@ -39,5 +39,8 @@ data class ModelApiResponse (
@Json(name = "message")
var message: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-modelMutable/src/main/kotlin/org/openapitools/client/models/Order.kt b/samples/client/petstore/kotlin-modelMutable/src/main/kotlin/org/openapitools/client/models/Order.kt
index 40cb89fd92df..7113fcaee15f 100644
--- a/samples/client/petstore/kotlin-modelMutable/src/main/kotlin/org/openapitools/client/models/Order.kt
+++ b/samples/client/petstore/kotlin-modelMutable/src/main/kotlin/org/openapitools/client/models/Order.kt
@@ -65,5 +65,6 @@ data class Order (
@Json(name = "approved") approved("approved"),
@Json(name = "delivered") delivered("delivered");
}
+
}
diff --git a/samples/client/petstore/kotlin-modelMutable/src/main/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/petstore/kotlin-modelMutable/src/main/kotlin/org/openapitools/client/models/Pet.kt
index 7749a7d8d297..9b8aa326815c 100644
--- a/samples/client/petstore/kotlin-modelMutable/src/main/kotlin/org/openapitools/client/models/Pet.kt
+++ b/samples/client/petstore/kotlin-modelMutable/src/main/kotlin/org/openapitools/client/models/Pet.kt
@@ -67,5 +67,6 @@ data class Pet (
@Json(name = "pending") pending("pending"),
@Json(name = "sold") sold("sold");
}
+
}
diff --git a/samples/client/petstore/kotlin-modelMutable/src/main/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/petstore/kotlin-modelMutable/src/main/kotlin/org/openapitools/client/models/Tag.kt
index f09d54bae615..93cdeaee6dce 100644
--- a/samples/client/petstore/kotlin-modelMutable/src/main/kotlin/org/openapitools/client/models/Tag.kt
+++ b/samples/client/petstore/kotlin-modelMutable/src/main/kotlin/org/openapitools/client/models/Tag.kt
@@ -35,5 +35,8 @@ data class Tag (
@Json(name = "name")
var name: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-modelMutable/src/main/kotlin/org/openapitools/client/models/User.kt b/samples/client/petstore/kotlin-modelMutable/src/main/kotlin/org/openapitools/client/models/User.kt
index aa29ad7d64ef..9fc531984e90 100644
--- a/samples/client/petstore/kotlin-modelMutable/src/main/kotlin/org/openapitools/client/models/User.kt
+++ b/samples/client/petstore/kotlin-modelMutable/src/main/kotlin/org/openapitools/client/models/User.kt
@@ -60,5 +60,8 @@ data class User (
@Json(name = "userStatus")
var userStatus: kotlin.Int? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-moshi-codegen/README.md b/samples/client/petstore/kotlin-moshi-codegen/README.md
index e4e111438878..f1cf0031b0c9 100644
--- a/samples/client/petstore/kotlin-moshi-codegen/README.md
+++ b/samples/client/petstore/kotlin-moshi-codegen/README.md
@@ -43,28 +43,28 @@ This runs all tests and packages the library.
All URIs are relative to *http://petstore.swagger.io/v2*
-Class | Method | HTTP request | Description
------------- | ------------- | ------------- | -------------
-*PetApi* | [**addPet**](docs/PetApi.md#addpet) | **POST** /pet | Add a new pet to the store
-*PetApi* | [**deletePet**](docs/PetApi.md#deletepet) | **DELETE** /pet/{petId} | Deletes a pet
-*PetApi* | [**findPetsByStatus**](docs/PetApi.md#findpetsbystatus) | **GET** /pet/findByStatus | Finds Pets by status
-*PetApi* | [**findPetsByTags**](docs/PetApi.md#findpetsbytags) | **GET** /pet/findByTags | Finds Pets by tags
-*PetApi* | [**getPetById**](docs/PetApi.md#getpetbyid) | **GET** /pet/{petId} | Find pet by ID
-*PetApi* | [**updatePet**](docs/PetApi.md#updatepet) | **PUT** /pet | Update an existing pet
-*PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatepetwithform) | **POST** /pet/{petId} | Updates a pet in the store with form data
-*PetApi* | [**uploadFile**](docs/PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image
-*StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteorder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID
-*StoreApi* | [**getInventory**](docs/StoreApi.md#getinventory) | **GET** /store/inventory | Returns pet inventories by status
-*StoreApi* | [**getOrderById**](docs/StoreApi.md#getorderbyid) | **GET** /store/order/{orderId} | Find purchase order by ID
-*StoreApi* | [**placeOrder**](docs/StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet
-*UserApi* | [**createUser**](docs/UserApi.md#createuser) | **POST** /user | Create user
-*UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createuserswitharrayinput) | **POST** /user/createWithArray | Creates list of users with given input array
-*UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createuserswithlistinput) | **POST** /user/createWithList | Creates list of users with given input array
-*UserApi* | [**deleteUser**](docs/UserApi.md#deleteuser) | **DELETE** /user/{username} | Delete user
-*UserApi* | [**getUserByName**](docs/UserApi.md#getuserbyname) | **GET** /user/{username} | Get user by user name
-*UserApi* | [**loginUser**](docs/UserApi.md#loginuser) | **GET** /user/login | Logs user into the system
-*UserApi* | [**logoutUser**](docs/UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session
-*UserApi* | [**updateUser**](docs/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user
+| Class | Method | HTTP request | Description |
+| ------------ | ------------- | ------------- | ------------- |
+| *PetApi* | [**addPet**](docs/PetApi.md#addpet) | **POST** /pet | Add a new pet to the store |
+| *PetApi* | [**deletePet**](docs/PetApi.md#deletepet) | **DELETE** /pet/{petId} | Deletes a pet |
+| *PetApi* | [**findPetsByStatus**](docs/PetApi.md#findpetsbystatus) | **GET** /pet/findByStatus | Finds Pets by status |
+| *PetApi* | [**findPetsByTags**](docs/PetApi.md#findpetsbytags) | **GET** /pet/findByTags | Finds Pets by tags |
+| *PetApi* | [**getPetById**](docs/PetApi.md#getpetbyid) | **GET** /pet/{petId} | Find pet by ID |
+| *PetApi* | [**updatePet**](docs/PetApi.md#updatepet) | **PUT** /pet | Update an existing pet |
+| *PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatepetwithform) | **POST** /pet/{petId} | Updates a pet in the store with form data |
+| *PetApi* | [**uploadFile**](docs/PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image |
+| *StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteorder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID |
+| *StoreApi* | [**getInventory**](docs/StoreApi.md#getinventory) | **GET** /store/inventory | Returns pet inventories by status |
+| *StoreApi* | [**getOrderById**](docs/StoreApi.md#getorderbyid) | **GET** /store/order/{orderId} | Find purchase order by ID |
+| *StoreApi* | [**placeOrder**](docs/StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet |
+| *UserApi* | [**createUser**](docs/UserApi.md#createuser) | **POST** /user | Create user |
+| *UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createuserswitharrayinput) | **POST** /user/createWithArray | Creates list of users with given input array |
+| *UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createuserswithlistinput) | **POST** /user/createWithList | Creates list of users with given input array |
+| *UserApi* | [**deleteUser**](docs/UserApi.md#deleteuser) | **DELETE** /user/{username} | Delete user |
+| *UserApi* | [**getUserByName**](docs/UserApi.md#getuserbyname) | **GET** /user/{username} | Get user by user name |
+| *UserApi* | [**loginUser**](docs/UserApi.md#loginuser) | **GET** /user/login | Logs user into the system |
+| *UserApi* | [**logoutUser**](docs/UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session |
+| *UserApi* | [**updateUser**](docs/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user |
diff --git a/samples/client/petstore/kotlin-moshi-codegen/docs/ApiResponse.md b/samples/client/petstore/kotlin-moshi-codegen/docs/ApiResponse.md
index 12f08d5cdef0..059525a99512 100644
--- a/samples/client/petstore/kotlin-moshi-codegen/docs/ApiResponse.md
+++ b/samples/client/petstore/kotlin-moshi-codegen/docs/ApiResponse.md
@@ -2,11 +2,11 @@
# ModelApiResponse
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**code** | **kotlin.Int** | | [optional]
-**type** | **kotlin.String** | | [optional]
-**message** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **code** | **kotlin.Int** | | [optional] |
+| **type** | **kotlin.String** | | [optional] |
+| **message** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-moshi-codegen/docs/Category.md b/samples/client/petstore/kotlin-moshi-codegen/docs/Category.md
index 2c28a670fc79..baba5657eb21 100644
--- a/samples/client/petstore/kotlin-moshi-codegen/docs/Category.md
+++ b/samples/client/petstore/kotlin-moshi-codegen/docs/Category.md
@@ -2,10 +2,10 @@
# Category
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-moshi-codegen/docs/Order.md b/samples/client/petstore/kotlin-moshi-codegen/docs/Order.md
index c0c951b22d33..7b7a399f7f75 100644
--- a/samples/client/petstore/kotlin-moshi-codegen/docs/Order.md
+++ b/samples/client/petstore/kotlin-moshi-codegen/docs/Order.md
@@ -2,21 +2,21 @@
# Order
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**petId** | **kotlin.Long** | | [optional]
-**quantity** | **kotlin.Int** | | [optional]
-**shipDate** | [**java.time.OffsetDateTime**](java.time.OffsetDateTime.md) | | [optional]
-**status** | [**inline**](#Status) | Order Status | [optional]
-**complete** | **kotlin.Boolean** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **petId** | **kotlin.Long** | | [optional] |
+| **quantity** | **kotlin.Int** | | [optional] |
+| **shipDate** | [**java.time.OffsetDateTime**](java.time.OffsetDateTime.md) | | [optional] |
+| **status** | [**inline**](#Status) | Order Status | [optional] |
+| **complete** | **kotlin.Boolean** | | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | placed, approved, delivered
+| Name | Value |
+| ---- | ----- |
+| status | placed, approved, delivered |
diff --git a/samples/client/petstore/kotlin-moshi-codegen/docs/Pet.md b/samples/client/petstore/kotlin-moshi-codegen/docs/Pet.md
index da70fca06e65..287312efaf94 100644
--- a/samples/client/petstore/kotlin-moshi-codegen/docs/Pet.md
+++ b/samples/client/petstore/kotlin-moshi-codegen/docs/Pet.md
@@ -2,21 +2,21 @@
# Pet
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**name** | **kotlin.String** | |
-**photoUrls** | **kotlin.collections.List<kotlin.String>** | |
-**id** | **kotlin.Long** | | [optional]
-**category** | [**Category**](Category.md) | | [optional]
-**tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional]
-**status** | [**inline**](#Status) | pet status in the store | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **name** | **kotlin.String** | | |
+| **photoUrls** | **kotlin.collections.List<kotlin.String>** | | |
+| **id** | **kotlin.Long** | | [optional] |
+| **category** | [**Category**](Category.md) | | [optional] |
+| **tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional] |
+| **status** | [**inline**](#Status) | pet status in the store | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | available, pending, sold
+| Name | Value |
+| ---- | ----- |
+| status | available, pending, sold |
diff --git a/samples/client/petstore/kotlin-moshi-codegen/docs/PetApi.md b/samples/client/petstore/kotlin-moshi-codegen/docs/PetApi.md
index bb8451def0df..6856ea516dab 100644
--- a/samples/client/petstore/kotlin-moshi-codegen/docs/PetApi.md
+++ b/samples/client/petstore/kotlin-moshi-codegen/docs/PetApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**addPet**](PetApi.md#addPet) | **POST** /pet | Add a new pet to the store
-[**deletePet**](PetApi.md#deletePet) | **DELETE** /pet/{petId} | Deletes a pet
-[**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** /pet/findByStatus | Finds Pets by status
-[**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** /pet/findByTags | Finds Pets by tags
-[**getPetById**](PetApi.md#getPetById) | **GET** /pet/{petId} | Find pet by ID
-[**updatePet**](PetApi.md#updatePet) | **PUT** /pet | Update an existing pet
-[**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** /pet/{petId} | Updates a pet in the store with form data
-[**uploadFile**](PetApi.md#uploadFile) | **POST** /pet/{petId}/uploadImage | uploads an image
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**addPet**](PetApi.md#addPet) | **POST** /pet | Add a new pet to the store |
+| [**deletePet**](PetApi.md#deletePet) | **DELETE** /pet/{petId} | Deletes a pet |
+| [**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** /pet/findByStatus | Finds Pets by status |
+| [**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** /pet/findByTags | Finds Pets by tags |
+| [**getPetById**](PetApi.md#getPetById) | **GET** /pet/{petId} | Find pet by ID |
+| [**updatePet**](PetApi.md#updatePet) | **PUT** /pet | Update an existing pet |
+| [**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** /pet/{petId} | Updates a pet in the store with form data |
+| [**uploadFile**](PetApi.md#uploadFile) | **POST** /pet/{petId}/uploadImage | uploads an image |
@@ -40,10 +40,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -87,11 +86,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| Pet id to delete |
- **apiKey** | **kotlin.String**| | [optional]
+| **petId** | **kotlin.Long**| Pet id to delete | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **apiKey** | **kotlin.String**| | [optional] |
### Return type
@@ -137,10 +135,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **status** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [enum: available, pending, sold]
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **status** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [enum: available, pending, sold] |
### Return type
@@ -186,10 +183,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **tags** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Tags to filter by |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **tags** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Tags to filter by | |
### Return type
@@ -235,10 +231,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet to return |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **petId** | **kotlin.Long**| ID of pet to return | |
### Return type
@@ -282,10 +277,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -330,12 +324,11 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet that needs to be updated |
- **name** | **kotlin.String**| Updated name of the pet | [optional]
- **status** | **kotlin.String**| Updated status of the pet | [optional]
+| **petId** | **kotlin.Long**| ID of pet that needs to be updated | |
+| **name** | **kotlin.String**| Updated name of the pet | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **status** | **kotlin.String**| Updated status of the pet | [optional] |
### Return type
@@ -381,12 +374,11 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet to update |
- **additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional]
- **file** | **java.io.File**| file to upload | [optional]
+| **petId** | **kotlin.Long**| ID of pet to update | |
+| **additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **file** | **java.io.File**| file to upload | [optional] |
### Return type
diff --git a/samples/client/petstore/kotlin-moshi-codegen/docs/StoreApi.md b/samples/client/petstore/kotlin-moshi-codegen/docs/StoreApi.md
index 9515ccd6d0cb..53ff17b16676 100644
--- a/samples/client/petstore/kotlin-moshi-codegen/docs/StoreApi.md
+++ b/samples/client/petstore/kotlin-moshi-codegen/docs/StoreApi.md
@@ -2,12 +2,12 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID
-[**getInventory**](StoreApi.md#getInventory) | **GET** /store/inventory | Returns pet inventories by status
-[**getOrderById**](StoreApi.md#getOrderById) | **GET** /store/order/{orderId} | Find purchase order by ID
-[**placeOrder**](StoreApi.md#placeOrder) | **POST** /store/order | Place an order for a pet
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID |
+| [**getInventory**](StoreApi.md#getInventory) | **GET** /store/inventory | Returns pet inventories by status |
+| [**getOrderById**](StoreApi.md#getOrderById) | **GET** /store/order/{orderId} | Find purchase order by ID |
+| [**placeOrder**](StoreApi.md#placeOrder) | **POST** /store/order | Place an order for a pet |
@@ -38,10 +38,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **kotlin.String**| ID of the order that needs to be deleted |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **orderId** | **kotlin.String**| ID of the order that needs to be deleted | |
### Return type
@@ -131,10 +130,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **kotlin.Long**| ID of pet that needs to be fetched |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **orderId** | **kotlin.Long**| ID of pet that needs to be fetched | |
### Return type
@@ -176,10 +174,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**Order**](Order.md)| order placed for purchasing the pet |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**Order**](Order.md)| order placed for purchasing the pet | |
### Return type
diff --git a/samples/client/petstore/kotlin-moshi-codegen/docs/Tag.md b/samples/client/petstore/kotlin-moshi-codegen/docs/Tag.md
index 60ce1bcdbad3..dc8fa3cb555d 100644
--- a/samples/client/petstore/kotlin-moshi-codegen/docs/Tag.md
+++ b/samples/client/petstore/kotlin-moshi-codegen/docs/Tag.md
@@ -2,10 +2,10 @@
# Tag
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-moshi-codegen/docs/User.md b/samples/client/petstore/kotlin-moshi-codegen/docs/User.md
index e801729b5ed1..a9f35788637e 100644
--- a/samples/client/petstore/kotlin-moshi-codegen/docs/User.md
+++ b/samples/client/petstore/kotlin-moshi-codegen/docs/User.md
@@ -2,16 +2,16 @@
# User
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**username** | **kotlin.String** | | [optional]
-**firstName** | **kotlin.String** | | [optional]
-**lastName** | **kotlin.String** | | [optional]
-**email** | **kotlin.String** | | [optional]
-**password** | **kotlin.String** | | [optional]
-**phone** | **kotlin.String** | | [optional]
-**userStatus** | **kotlin.Int** | User Status | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **username** | **kotlin.String** | | [optional] |
+| **firstName** | **kotlin.String** | | [optional] |
+| **lastName** | **kotlin.String** | | [optional] |
+| **email** | **kotlin.String** | | [optional] |
+| **password** | **kotlin.String** | | [optional] |
+| **phone** | **kotlin.String** | | [optional] |
+| **userStatus** | **kotlin.Int** | User Status | [optional] |
diff --git a/samples/client/petstore/kotlin-moshi-codegen/docs/UserApi.md b/samples/client/petstore/kotlin-moshi-codegen/docs/UserApi.md
index fdf75275cb97..82c8d6060276 100644
--- a/samples/client/petstore/kotlin-moshi-codegen/docs/UserApi.md
+++ b/samples/client/petstore/kotlin-moshi-codegen/docs/UserApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**createUser**](UserApi.md#createUser) | **POST** /user | Create user
-[**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** /user/createWithArray | Creates list of users with given input array
-[**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** /user/createWithList | Creates list of users with given input array
-[**deleteUser**](UserApi.md#deleteUser) | **DELETE** /user/{username} | Delete user
-[**getUserByName**](UserApi.md#getUserByName) | **GET** /user/{username} | Get user by user name
-[**loginUser**](UserApi.md#loginUser) | **GET** /user/login | Logs user into the system
-[**logoutUser**](UserApi.md#logoutUser) | **GET** /user/logout | Logs out current logged in user session
-[**updateUser**](UserApi.md#updateUser) | **PUT** /user/{username} | Updated user
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**createUser**](UserApi.md#createUser) | **POST** /user | Create user |
+| [**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** /user/createWithArray | Creates list of users with given input array |
+| [**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** /user/createWithList | Creates list of users with given input array |
+| [**deleteUser**](UserApi.md#deleteUser) | **DELETE** /user/{username} | Delete user |
+| [**getUserByName**](UserApi.md#getUserByName) | **GET** /user/{username} | Get user by user name |
+| [**loginUser**](UserApi.md#loginUser) | **GET** /user/login | Logs user into the system |
+| [**logoutUser**](UserApi.md#logoutUser) | **GET** /user/logout | Logs out current logged in user session |
+| [**updateUser**](UserApi.md#updateUser) | **PUT** /user/{username} | Updated user |
@@ -42,10 +42,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**User**](User.md)| Created user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**User**](User.md)| Created user object | |
### Return type
@@ -86,10 +85,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**kotlin.collections.List<User>**](User.md)| List of user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**kotlin.collections.List<User>**](User.md)| List of user object | |
### Return type
@@ -130,10 +128,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**kotlin.collections.List<User>**](User.md)| List of user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**kotlin.collections.List<User>**](User.md)| List of user object | |
### Return type
@@ -176,10 +173,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The name that needs to be deleted |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String**| The name that needs to be deleted | |
### Return type
@@ -221,10 +217,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. | |
### Return type
@@ -267,11 +262,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The user name for login |
- **password** | **kotlin.String**| The password for login in clear text |
+| **username** | **kotlin.String**| The user name for login | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **password** | **kotlin.String**| The password for login in clear text | |
### Return type
@@ -355,11 +349,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| name that need to be deleted |
- **body** | [**User**](User.md)| Updated user object |
+| **username** | **kotlin.String**| name that need to be deleted | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**User**](User.md)| Updated user object | |
### Return type
diff --git a/samples/client/petstore/kotlin-moshi-codegen/src/main/kotlin/org/openapitools/client/models/Category.kt b/samples/client/petstore/kotlin-moshi-codegen/src/main/kotlin/org/openapitools/client/models/Category.kt
index 27d482820536..db0be0cf30d8 100644
--- a/samples/client/petstore/kotlin-moshi-codegen/src/main/kotlin/org/openapitools/client/models/Category.kt
+++ b/samples/client/petstore/kotlin-moshi-codegen/src/main/kotlin/org/openapitools/client/models/Category.kt
@@ -35,5 +35,8 @@ data class Category (
@Json(name = "name")
val name: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-moshi-codegen/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt b/samples/client/petstore/kotlin-moshi-codegen/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
index c4db7ae9fe4d..60fb214fc001 100644
--- a/samples/client/petstore/kotlin-moshi-codegen/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
+++ b/samples/client/petstore/kotlin-moshi-codegen/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
@@ -39,5 +39,8 @@ data class ModelApiResponse (
@Json(name = "message")
val message: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-moshi-codegen/src/main/kotlin/org/openapitools/client/models/Order.kt b/samples/client/petstore/kotlin-moshi-codegen/src/main/kotlin/org/openapitools/client/models/Order.kt
index 8a4f77e3bf5c..df61b819dd14 100644
--- a/samples/client/petstore/kotlin-moshi-codegen/src/main/kotlin/org/openapitools/client/models/Order.kt
+++ b/samples/client/petstore/kotlin-moshi-codegen/src/main/kotlin/org/openapitools/client/models/Order.kt
@@ -65,5 +65,6 @@ data class Order (
@Json(name = "approved") approved("approved"),
@Json(name = "delivered") delivered("delivered");
}
+
}
diff --git a/samples/client/petstore/kotlin-moshi-codegen/src/main/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/petstore/kotlin-moshi-codegen/src/main/kotlin/org/openapitools/client/models/Pet.kt
index 6257198030a7..de5f7897c59c 100644
--- a/samples/client/petstore/kotlin-moshi-codegen/src/main/kotlin/org/openapitools/client/models/Pet.kt
+++ b/samples/client/petstore/kotlin-moshi-codegen/src/main/kotlin/org/openapitools/client/models/Pet.kt
@@ -67,5 +67,6 @@ data class Pet (
@Json(name = "pending") pending("pending"),
@Json(name = "sold") sold("sold");
}
+
}
diff --git a/samples/client/petstore/kotlin-moshi-codegen/src/main/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/petstore/kotlin-moshi-codegen/src/main/kotlin/org/openapitools/client/models/Tag.kt
index 5f956d87780a..b02ad29b9707 100644
--- a/samples/client/petstore/kotlin-moshi-codegen/src/main/kotlin/org/openapitools/client/models/Tag.kt
+++ b/samples/client/petstore/kotlin-moshi-codegen/src/main/kotlin/org/openapitools/client/models/Tag.kt
@@ -35,5 +35,8 @@ data class Tag (
@Json(name = "name")
val name: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-moshi-codegen/src/main/kotlin/org/openapitools/client/models/User.kt b/samples/client/petstore/kotlin-moshi-codegen/src/main/kotlin/org/openapitools/client/models/User.kt
index 3e79d4fa60b7..c7884e6d2765 100644
--- a/samples/client/petstore/kotlin-moshi-codegen/src/main/kotlin/org/openapitools/client/models/User.kt
+++ b/samples/client/petstore/kotlin-moshi-codegen/src/main/kotlin/org/openapitools/client/models/User.kt
@@ -60,5 +60,8 @@ data class User (
@Json(name = "userStatus")
val userStatus: kotlin.Int? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/README.md b/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/README.md
index 92f97796323c..a748eb9a81a1 100644
--- a/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/README.md
+++ b/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/README.md
@@ -34,28 +34,28 @@ This runs all tests and packages the library.
All URIs are relative to *http://petstore.swagger.io/v2*
-Class | Method | HTTP request | Description
------------- | ------------- | ------------- | -------------
-*PetApi* | [**addPet**](docs/PetApi.md#addpet) | **POST** /pet | Add a new pet to the store
-*PetApi* | [**deletePet**](docs/PetApi.md#deletepet) | **DELETE** /pet/{petId} | Deletes a pet
-*PetApi* | [**findPetsByStatus**](docs/PetApi.md#findpetsbystatus) | **GET** /pet/findByStatus | Finds Pets by status
-*PetApi* | [**findPetsByTags**](docs/PetApi.md#findpetsbytags) | **GET** /pet/findByTags | Finds Pets by tags
-*PetApi* | [**getPetById**](docs/PetApi.md#getpetbyid) | **GET** /pet/{petId} | Find pet by ID
-*PetApi* | [**updatePet**](docs/PetApi.md#updatepet) | **PUT** /pet | Update an existing pet
-*PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatepetwithform) | **POST** /pet/{petId} | Updates a pet in the store with form data
-*PetApi* | [**uploadFile**](docs/PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image
-*StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteorder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID
-*StoreApi* | [**getInventory**](docs/StoreApi.md#getinventory) | **GET** /store/inventory | Returns pet inventories by status
-*StoreApi* | [**getOrderById**](docs/StoreApi.md#getorderbyid) | **GET** /store/order/{orderId} | Find purchase order by ID
-*StoreApi* | [**placeOrder**](docs/StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet
-*UserApi* | [**createUser**](docs/UserApi.md#createuser) | **POST** /user | Create user
-*UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createuserswitharrayinput) | **POST** /user/createWithArray | Creates list of users with given input array
-*UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createuserswithlistinput) | **POST** /user/createWithList | Creates list of users with given input array
-*UserApi* | [**deleteUser**](docs/UserApi.md#deleteuser) | **DELETE** /user/{username} | Delete user
-*UserApi* | [**getUserByName**](docs/UserApi.md#getuserbyname) | **GET** /user/{username} | Get user by user name
-*UserApi* | [**loginUser**](docs/UserApi.md#loginuser) | **GET** /user/login | Logs user into the system
-*UserApi* | [**logoutUser**](docs/UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session
-*UserApi* | [**updateUser**](docs/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user
+| Class | Method | HTTP request | Description |
+| ------------ | ------------- | ------------- | ------------- |
+| *PetApi* | [**addPet**](docs/PetApi.md#addpet) | **POST** /pet | Add a new pet to the store |
+| *PetApi* | [**deletePet**](docs/PetApi.md#deletepet) | **DELETE** /pet/{petId} | Deletes a pet |
+| *PetApi* | [**findPetsByStatus**](docs/PetApi.md#findpetsbystatus) | **GET** /pet/findByStatus | Finds Pets by status |
+| *PetApi* | [**findPetsByTags**](docs/PetApi.md#findpetsbytags) | **GET** /pet/findByTags | Finds Pets by tags |
+| *PetApi* | [**getPetById**](docs/PetApi.md#getpetbyid) | **GET** /pet/{petId} | Find pet by ID |
+| *PetApi* | [**updatePet**](docs/PetApi.md#updatepet) | **PUT** /pet | Update an existing pet |
+| *PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatepetwithform) | **POST** /pet/{petId} | Updates a pet in the store with form data |
+| *PetApi* | [**uploadFile**](docs/PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image |
+| *StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteorder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID |
+| *StoreApi* | [**getInventory**](docs/StoreApi.md#getinventory) | **GET** /store/inventory | Returns pet inventories by status |
+| *StoreApi* | [**getOrderById**](docs/StoreApi.md#getorderbyid) | **GET** /store/order/{orderId} | Find purchase order by ID |
+| *StoreApi* | [**placeOrder**](docs/StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet |
+| *UserApi* | [**createUser**](docs/UserApi.md#createuser) | **POST** /user | Create user |
+| *UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createuserswitharrayinput) | **POST** /user/createWithArray | Creates list of users with given input array |
+| *UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createuserswithlistinput) | **POST** /user/createWithList | Creates list of users with given input array |
+| *UserApi* | [**deleteUser**](docs/UserApi.md#deleteuser) | **DELETE** /user/{username} | Delete user |
+| *UserApi* | [**getUserByName**](docs/UserApi.md#getuserbyname) | **GET** /user/{username} | Get user by user name |
+| *UserApi* | [**loginUser**](docs/UserApi.md#loginuser) | **GET** /user/login | Logs user into the system |
+| *UserApi* | [**logoutUser**](docs/UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session |
+| *UserApi* | [**updateUser**](docs/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user |
diff --git a/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/docs/ApiResponse.md b/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/docs/ApiResponse.md
index 12f08d5cdef0..059525a99512 100644
--- a/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/docs/ApiResponse.md
+++ b/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/docs/ApiResponse.md
@@ -2,11 +2,11 @@
# ModelApiResponse
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**code** | **kotlin.Int** | | [optional]
-**type** | **kotlin.String** | | [optional]
-**message** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **code** | **kotlin.Int** | | [optional] |
+| **type** | **kotlin.String** | | [optional] |
+| **message** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/docs/Category.md b/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/docs/Category.md
index 2c28a670fc79..baba5657eb21 100644
--- a/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/docs/Category.md
+++ b/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/docs/Category.md
@@ -2,10 +2,10 @@
# Category
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/docs/Order.md b/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/docs/Order.md
index 84e068bef3f8..6764fc5308dd 100644
--- a/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/docs/Order.md
+++ b/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/docs/Order.md
@@ -2,21 +2,21 @@
# Order
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**petId** | **kotlin.Long** | | [optional]
-**quantity** | **kotlin.Int** | | [optional]
-**shipDate** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | | [optional]
-**status** | [**inline**](#Status) | Order Status | [optional]
-**complete** | **kotlin.Boolean** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **petId** | **kotlin.Long** | | [optional] |
+| **quantity** | **kotlin.Int** | | [optional] |
+| **shipDate** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | | [optional] |
+| **status** | [**inline**](#Status) | Order Status | [optional] |
+| **complete** | **kotlin.Boolean** | | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | placed, approved, delivered
+| Name | Value |
+| ---- | ----- |
+| status | placed, approved, delivered |
diff --git a/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/docs/Pet.md b/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/docs/Pet.md
index da70fca06e65..287312efaf94 100644
--- a/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/docs/Pet.md
+++ b/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/docs/Pet.md
@@ -2,21 +2,21 @@
# Pet
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**name** | **kotlin.String** | |
-**photoUrls** | **kotlin.collections.List<kotlin.String>** | |
-**id** | **kotlin.Long** | | [optional]
-**category** | [**Category**](Category.md) | | [optional]
-**tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional]
-**status** | [**inline**](#Status) | pet status in the store | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **name** | **kotlin.String** | | |
+| **photoUrls** | **kotlin.collections.List<kotlin.String>** | | |
+| **id** | **kotlin.Long** | | [optional] |
+| **category** | [**Category**](Category.md) | | [optional] |
+| **tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional] |
+| **status** | [**inline**](#Status) | pet status in the store | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | available, pending, sold
+| Name | Value |
+| ---- | ----- |
+| status | available, pending, sold |
diff --git a/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/docs/PetApi.md b/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/docs/PetApi.md
index 851879ed2f4d..94d0a303a876 100644
--- a/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/docs/PetApi.md
+++ b/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/docs/PetApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**addPet**](PetApi.md#addPet) | **POST** /pet | Add a new pet to the store
-[**deletePet**](PetApi.md#deletePet) | **DELETE** /pet/{petId} | Deletes a pet
-[**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** /pet/findByStatus | Finds Pets by status
-[**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** /pet/findByTags | Finds Pets by tags
-[**getPetById**](PetApi.md#getPetById) | **GET** /pet/{petId} | Find pet by ID
-[**updatePet**](PetApi.md#updatePet) | **PUT** /pet | Update an existing pet
-[**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** /pet/{petId} | Updates a pet in the store with form data
-[**uploadFile**](PetApi.md#uploadFile) | **POST** /pet/{petId}/uploadImage | uploads an image
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**addPet**](PetApi.md#addPet) | **POST** /pet | Add a new pet to the store |
+| [**deletePet**](PetApi.md#deletePet) | **DELETE** /pet/{petId} | Deletes a pet |
+| [**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** /pet/findByStatus | Finds Pets by status |
+| [**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** /pet/findByTags | Finds Pets by tags |
+| [**getPetById**](PetApi.md#getPetById) | **GET** /pet/{petId} | Find pet by ID |
+| [**updatePet**](PetApi.md#updatePet) | **PUT** /pet | Update an existing pet |
+| [**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** /pet/{petId} | Updates a pet in the store with form data |
+| [**uploadFile**](PetApi.md#uploadFile) | **POST** /pet/{petId}/uploadImage | uploads an image |
@@ -40,10 +40,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -87,11 +86,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| Pet id to delete |
- **apiKey** | **kotlin.String**| | [optional]
+| **petId** | **kotlin.Long**| Pet id to delete | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **apiKey** | **kotlin.String**| | [optional] |
### Return type
@@ -137,10 +135,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **status** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [enum: available, pending, sold]
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **status** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [enum: available, pending, sold] |
### Return type
@@ -186,10 +183,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **tags** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Tags to filter by |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **tags** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Tags to filter by | |
### Return type
@@ -235,10 +231,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet to return |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **petId** | **kotlin.Long**| ID of pet to return | |
### Return type
@@ -282,10 +277,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -330,12 +324,11 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet that needs to be updated |
- **name** | **kotlin.String**| Updated name of the pet | [optional]
- **status** | **kotlin.String**| Updated status of the pet | [optional]
+| **petId** | **kotlin.Long**| ID of pet that needs to be updated | |
+| **name** | **kotlin.String**| Updated name of the pet | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **status** | **kotlin.String**| Updated status of the pet | [optional] |
### Return type
@@ -381,12 +374,11 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet to update |
- **additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional]
- **file** | **io.ktor.client.request.forms.InputProvider**| file to upload | [optional]
+| **petId** | **kotlin.Long**| ID of pet to update | |
+| **additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **file** | **io.ktor.client.request.forms.InputProvider**| file to upload | [optional] |
### Return type
diff --git a/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/docs/StoreApi.md b/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/docs/StoreApi.md
index d111b2911d7e..27694e9e7100 100644
--- a/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/docs/StoreApi.md
+++ b/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/docs/StoreApi.md
@@ -2,12 +2,12 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID
-[**getInventory**](StoreApi.md#getInventory) | **GET** /store/inventory | Returns pet inventories by status
-[**getOrderById**](StoreApi.md#getOrderById) | **GET** /store/order/{orderId} | Find purchase order by ID
-[**placeOrder**](StoreApi.md#placeOrder) | **POST** /store/order | Place an order for a pet
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID |
+| [**getInventory**](StoreApi.md#getInventory) | **GET** /store/inventory | Returns pet inventories by status |
+| [**getOrderById**](StoreApi.md#getOrderById) | **GET** /store/order/{orderId} | Find purchase order by ID |
+| [**placeOrder**](StoreApi.md#placeOrder) | **POST** /store/order | Place an order for a pet |
@@ -38,10 +38,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **kotlin.String**| ID of the order that needs to be deleted |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **orderId** | **kotlin.String**| ID of the order that needs to be deleted | |
### Return type
@@ -131,10 +130,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **kotlin.Long**| ID of pet that needs to be fetched |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **orderId** | **kotlin.Long**| ID of pet that needs to be fetched | |
### Return type
@@ -176,10 +174,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**Order**](Order.md)| order placed for purchasing the pet |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**Order**](Order.md)| order placed for purchasing the pet | |
### Return type
diff --git a/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/docs/Tag.md b/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/docs/Tag.md
index 60ce1bcdbad3..dc8fa3cb555d 100644
--- a/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/docs/Tag.md
+++ b/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/docs/Tag.md
@@ -2,10 +2,10 @@
# Tag
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/docs/User.md b/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/docs/User.md
index e801729b5ed1..a9f35788637e 100644
--- a/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/docs/User.md
+++ b/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/docs/User.md
@@ -2,16 +2,16 @@
# User
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**username** | **kotlin.String** | | [optional]
-**firstName** | **kotlin.String** | | [optional]
-**lastName** | **kotlin.String** | | [optional]
-**email** | **kotlin.String** | | [optional]
-**password** | **kotlin.String** | | [optional]
-**phone** | **kotlin.String** | | [optional]
-**userStatus** | **kotlin.Int** | User Status | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **username** | **kotlin.String** | | [optional] |
+| **firstName** | **kotlin.String** | | [optional] |
+| **lastName** | **kotlin.String** | | [optional] |
+| **email** | **kotlin.String** | | [optional] |
+| **password** | **kotlin.String** | | [optional] |
+| **phone** | **kotlin.String** | | [optional] |
+| **userStatus** | **kotlin.Int** | User Status | [optional] |
diff --git a/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/docs/UserApi.md b/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/docs/UserApi.md
index afcdb070dbbd..6a4403972b4d 100644
--- a/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/docs/UserApi.md
+++ b/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/docs/UserApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**createUser**](UserApi.md#createUser) | **POST** /user | Create user
-[**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** /user/createWithArray | Creates list of users with given input array
-[**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** /user/createWithList | Creates list of users with given input array
-[**deleteUser**](UserApi.md#deleteUser) | **DELETE** /user/{username} | Delete user
-[**getUserByName**](UserApi.md#getUserByName) | **GET** /user/{username} | Get user by user name
-[**loginUser**](UserApi.md#loginUser) | **GET** /user/login | Logs user into the system
-[**logoutUser**](UserApi.md#logoutUser) | **GET** /user/logout | Logs out current logged in user session
-[**updateUser**](UserApi.md#updateUser) | **PUT** /user/{username} | Updated user
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**createUser**](UserApi.md#createUser) | **POST** /user | Create user |
+| [**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** /user/createWithArray | Creates list of users with given input array |
+| [**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** /user/createWithList | Creates list of users with given input array |
+| [**deleteUser**](UserApi.md#deleteUser) | **DELETE** /user/{username} | Delete user |
+| [**getUserByName**](UserApi.md#getUserByName) | **GET** /user/{username} | Get user by user name |
+| [**loginUser**](UserApi.md#loginUser) | **GET** /user/login | Logs user into the system |
+| [**logoutUser**](UserApi.md#logoutUser) | **GET** /user/logout | Logs out current logged in user session |
+| [**updateUser**](UserApi.md#updateUser) | **PUT** /user/{username} | Updated user |
@@ -42,10 +42,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**User**](User.md)| Created user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**User**](User.md)| Created user object | |
### Return type
@@ -86,10 +85,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**kotlin.collections.List<User>**](User.md)| List of user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**kotlin.collections.List<User>**](User.md)| List of user object | |
### Return type
@@ -130,10 +128,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**kotlin.collections.List<User>**](User.md)| List of user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**kotlin.collections.List<User>**](User.md)| List of user object | |
### Return type
@@ -176,10 +173,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The name that needs to be deleted |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String**| The name that needs to be deleted | |
### Return type
@@ -221,10 +217,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. | |
### Return type
@@ -267,11 +262,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The user name for login |
- **password** | **kotlin.String**| The password for login in clear text |
+| **username** | **kotlin.String**| The user name for login | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **password** | **kotlin.String**| The password for login in clear text | |
### Return type
@@ -355,11 +349,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| name that need to be deleted |
- **body** | [**User**](User.md)| Updated user object |
+| **username** | **kotlin.String**| name that need to be deleted | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**User**](User.md)| Updated user object | |
### Return type
diff --git a/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/src/commonMain/kotlin/org/openapitools/client/models/Category.kt b/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/src/commonMain/kotlin/org/openapitools/client/models/Category.kt
index 2e16584b4e48..9bc832793cbf 100644
--- a/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/src/commonMain/kotlin/org/openapitools/client/models/Category.kt
+++ b/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/src/commonMain/kotlin/org/openapitools/client/models/Category.kt
@@ -34,5 +34,8 @@ data class Category (
@SerialName(value = "name") val name: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/src/commonMain/kotlin/org/openapitools/client/models/ModelApiResponse.kt b/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/src/commonMain/kotlin/org/openapitools/client/models/ModelApiResponse.kt
index c9c0a490824b..df786952b428 100644
--- a/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/src/commonMain/kotlin/org/openapitools/client/models/ModelApiResponse.kt
+++ b/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/src/commonMain/kotlin/org/openapitools/client/models/ModelApiResponse.kt
@@ -37,5 +37,8 @@ data class ModelApiResponse (
@SerialName(value = "message") val message: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/src/commonMain/kotlin/org/openapitools/client/models/Order.kt b/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/src/commonMain/kotlin/org/openapitools/client/models/Order.kt
index e82f1e3fd7cb..e763dafa5395 100644
--- a/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/src/commonMain/kotlin/org/openapitools/client/models/Order.kt
+++ b/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/src/commonMain/kotlin/org/openapitools/client/models/Order.kt
@@ -60,5 +60,6 @@ data class Order (
@SerialName(value = "approved") approved("approved"),
@SerialName(value = "delivered") delivered("delivered");
}
+
}
diff --git a/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/src/commonMain/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/src/commonMain/kotlin/org/openapitools/client/models/Pet.kt
index a275dec03d79..cd3c3adaec29 100644
--- a/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/src/commonMain/kotlin/org/openapitools/client/models/Pet.kt
+++ b/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/src/commonMain/kotlin/org/openapitools/client/models/Pet.kt
@@ -62,5 +62,6 @@ data class Pet (
@SerialName(value = "pending") pending("pending"),
@SerialName(value = "sold") sold("sold");
}
+
}
diff --git a/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/src/commonMain/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/src/commonMain/kotlin/org/openapitools/client/models/Tag.kt
index 1bfe2f85978c..46af3323fd26 100644
--- a/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/src/commonMain/kotlin/org/openapitools/client/models/Tag.kt
+++ b/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/src/commonMain/kotlin/org/openapitools/client/models/Tag.kt
@@ -34,5 +34,8 @@ data class Tag (
@SerialName(value = "name") val name: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/src/commonMain/kotlin/org/openapitools/client/models/User.kt b/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/src/commonMain/kotlin/org/openapitools/client/models/User.kt
index 29413ad2b02c..18a1d52df683 100644
--- a/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/src/commonMain/kotlin/org/openapitools/client/models/User.kt
+++ b/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/src/commonMain/kotlin/org/openapitools/client/models/User.kt
@@ -53,5 +53,8 @@ data class User (
/* User Status */
@SerialName(value = "userStatus") val userStatus: kotlin.Int? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-multiplatform/README.md b/samples/client/petstore/kotlin-multiplatform/README.md
index 92f97796323c..a748eb9a81a1 100644
--- a/samples/client/petstore/kotlin-multiplatform/README.md
+++ b/samples/client/petstore/kotlin-multiplatform/README.md
@@ -34,28 +34,28 @@ This runs all tests and packages the library.
All URIs are relative to *http://petstore.swagger.io/v2*
-Class | Method | HTTP request | Description
------------- | ------------- | ------------- | -------------
-*PetApi* | [**addPet**](docs/PetApi.md#addpet) | **POST** /pet | Add a new pet to the store
-*PetApi* | [**deletePet**](docs/PetApi.md#deletepet) | **DELETE** /pet/{petId} | Deletes a pet
-*PetApi* | [**findPetsByStatus**](docs/PetApi.md#findpetsbystatus) | **GET** /pet/findByStatus | Finds Pets by status
-*PetApi* | [**findPetsByTags**](docs/PetApi.md#findpetsbytags) | **GET** /pet/findByTags | Finds Pets by tags
-*PetApi* | [**getPetById**](docs/PetApi.md#getpetbyid) | **GET** /pet/{petId} | Find pet by ID
-*PetApi* | [**updatePet**](docs/PetApi.md#updatepet) | **PUT** /pet | Update an existing pet
-*PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatepetwithform) | **POST** /pet/{petId} | Updates a pet in the store with form data
-*PetApi* | [**uploadFile**](docs/PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image
-*StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteorder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID
-*StoreApi* | [**getInventory**](docs/StoreApi.md#getinventory) | **GET** /store/inventory | Returns pet inventories by status
-*StoreApi* | [**getOrderById**](docs/StoreApi.md#getorderbyid) | **GET** /store/order/{orderId} | Find purchase order by ID
-*StoreApi* | [**placeOrder**](docs/StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet
-*UserApi* | [**createUser**](docs/UserApi.md#createuser) | **POST** /user | Create user
-*UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createuserswitharrayinput) | **POST** /user/createWithArray | Creates list of users with given input array
-*UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createuserswithlistinput) | **POST** /user/createWithList | Creates list of users with given input array
-*UserApi* | [**deleteUser**](docs/UserApi.md#deleteuser) | **DELETE** /user/{username} | Delete user
-*UserApi* | [**getUserByName**](docs/UserApi.md#getuserbyname) | **GET** /user/{username} | Get user by user name
-*UserApi* | [**loginUser**](docs/UserApi.md#loginuser) | **GET** /user/login | Logs user into the system
-*UserApi* | [**logoutUser**](docs/UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session
-*UserApi* | [**updateUser**](docs/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user
+| Class | Method | HTTP request | Description |
+| ------------ | ------------- | ------------- | ------------- |
+| *PetApi* | [**addPet**](docs/PetApi.md#addpet) | **POST** /pet | Add a new pet to the store |
+| *PetApi* | [**deletePet**](docs/PetApi.md#deletepet) | **DELETE** /pet/{petId} | Deletes a pet |
+| *PetApi* | [**findPetsByStatus**](docs/PetApi.md#findpetsbystatus) | **GET** /pet/findByStatus | Finds Pets by status |
+| *PetApi* | [**findPetsByTags**](docs/PetApi.md#findpetsbytags) | **GET** /pet/findByTags | Finds Pets by tags |
+| *PetApi* | [**getPetById**](docs/PetApi.md#getpetbyid) | **GET** /pet/{petId} | Find pet by ID |
+| *PetApi* | [**updatePet**](docs/PetApi.md#updatepet) | **PUT** /pet | Update an existing pet |
+| *PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatepetwithform) | **POST** /pet/{petId} | Updates a pet in the store with form data |
+| *PetApi* | [**uploadFile**](docs/PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image |
+| *StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteorder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID |
+| *StoreApi* | [**getInventory**](docs/StoreApi.md#getinventory) | **GET** /store/inventory | Returns pet inventories by status |
+| *StoreApi* | [**getOrderById**](docs/StoreApi.md#getorderbyid) | **GET** /store/order/{orderId} | Find purchase order by ID |
+| *StoreApi* | [**placeOrder**](docs/StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet |
+| *UserApi* | [**createUser**](docs/UserApi.md#createuser) | **POST** /user | Create user |
+| *UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createuserswitharrayinput) | **POST** /user/createWithArray | Creates list of users with given input array |
+| *UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createuserswithlistinput) | **POST** /user/createWithList | Creates list of users with given input array |
+| *UserApi* | [**deleteUser**](docs/UserApi.md#deleteuser) | **DELETE** /user/{username} | Delete user |
+| *UserApi* | [**getUserByName**](docs/UserApi.md#getuserbyname) | **GET** /user/{username} | Get user by user name |
+| *UserApi* | [**loginUser**](docs/UserApi.md#loginuser) | **GET** /user/login | Logs user into the system |
+| *UserApi* | [**logoutUser**](docs/UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session |
+| *UserApi* | [**updateUser**](docs/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user |
diff --git a/samples/client/petstore/kotlin-multiplatform/docs/ApiResponse.md b/samples/client/petstore/kotlin-multiplatform/docs/ApiResponse.md
index 12f08d5cdef0..059525a99512 100644
--- a/samples/client/petstore/kotlin-multiplatform/docs/ApiResponse.md
+++ b/samples/client/petstore/kotlin-multiplatform/docs/ApiResponse.md
@@ -2,11 +2,11 @@
# ModelApiResponse
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**code** | **kotlin.Int** | | [optional]
-**type** | **kotlin.String** | | [optional]
-**message** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **code** | **kotlin.Int** | | [optional] |
+| **type** | **kotlin.String** | | [optional] |
+| **message** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-multiplatform/docs/Category.md b/samples/client/petstore/kotlin-multiplatform/docs/Category.md
index 2c28a670fc79..baba5657eb21 100644
--- a/samples/client/petstore/kotlin-multiplatform/docs/Category.md
+++ b/samples/client/petstore/kotlin-multiplatform/docs/Category.md
@@ -2,10 +2,10 @@
# Category
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-multiplatform/docs/Order.md b/samples/client/petstore/kotlin-multiplatform/docs/Order.md
index 84e068bef3f8..6764fc5308dd 100644
--- a/samples/client/petstore/kotlin-multiplatform/docs/Order.md
+++ b/samples/client/petstore/kotlin-multiplatform/docs/Order.md
@@ -2,21 +2,21 @@
# Order
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**petId** | **kotlin.Long** | | [optional]
-**quantity** | **kotlin.Int** | | [optional]
-**shipDate** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | | [optional]
-**status** | [**inline**](#Status) | Order Status | [optional]
-**complete** | **kotlin.Boolean** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **petId** | **kotlin.Long** | | [optional] |
+| **quantity** | **kotlin.Int** | | [optional] |
+| **shipDate** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | | [optional] |
+| **status** | [**inline**](#Status) | Order Status | [optional] |
+| **complete** | **kotlin.Boolean** | | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | placed, approved, delivered
+| Name | Value |
+| ---- | ----- |
+| status | placed, approved, delivered |
diff --git a/samples/client/petstore/kotlin-multiplatform/docs/Pet.md b/samples/client/petstore/kotlin-multiplatform/docs/Pet.md
index da70fca06e65..287312efaf94 100644
--- a/samples/client/petstore/kotlin-multiplatform/docs/Pet.md
+++ b/samples/client/petstore/kotlin-multiplatform/docs/Pet.md
@@ -2,21 +2,21 @@
# Pet
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**name** | **kotlin.String** | |
-**photoUrls** | **kotlin.collections.List<kotlin.String>** | |
-**id** | **kotlin.Long** | | [optional]
-**category** | [**Category**](Category.md) | | [optional]
-**tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional]
-**status** | [**inline**](#Status) | pet status in the store | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **name** | **kotlin.String** | | |
+| **photoUrls** | **kotlin.collections.List<kotlin.String>** | | |
+| **id** | **kotlin.Long** | | [optional] |
+| **category** | [**Category**](Category.md) | | [optional] |
+| **tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional] |
+| **status** | [**inline**](#Status) | pet status in the store | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | available, pending, sold
+| Name | Value |
+| ---- | ----- |
+| status | available, pending, sold |
diff --git a/samples/client/petstore/kotlin-multiplatform/docs/PetApi.md b/samples/client/petstore/kotlin-multiplatform/docs/PetApi.md
index 851879ed2f4d..94d0a303a876 100644
--- a/samples/client/petstore/kotlin-multiplatform/docs/PetApi.md
+++ b/samples/client/petstore/kotlin-multiplatform/docs/PetApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**addPet**](PetApi.md#addPet) | **POST** /pet | Add a new pet to the store
-[**deletePet**](PetApi.md#deletePet) | **DELETE** /pet/{petId} | Deletes a pet
-[**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** /pet/findByStatus | Finds Pets by status
-[**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** /pet/findByTags | Finds Pets by tags
-[**getPetById**](PetApi.md#getPetById) | **GET** /pet/{petId} | Find pet by ID
-[**updatePet**](PetApi.md#updatePet) | **PUT** /pet | Update an existing pet
-[**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** /pet/{petId} | Updates a pet in the store with form data
-[**uploadFile**](PetApi.md#uploadFile) | **POST** /pet/{petId}/uploadImage | uploads an image
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**addPet**](PetApi.md#addPet) | **POST** /pet | Add a new pet to the store |
+| [**deletePet**](PetApi.md#deletePet) | **DELETE** /pet/{petId} | Deletes a pet |
+| [**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** /pet/findByStatus | Finds Pets by status |
+| [**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** /pet/findByTags | Finds Pets by tags |
+| [**getPetById**](PetApi.md#getPetById) | **GET** /pet/{petId} | Find pet by ID |
+| [**updatePet**](PetApi.md#updatePet) | **PUT** /pet | Update an existing pet |
+| [**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** /pet/{petId} | Updates a pet in the store with form data |
+| [**uploadFile**](PetApi.md#uploadFile) | **POST** /pet/{petId}/uploadImage | uploads an image |
@@ -40,10 +40,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -87,11 +86,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| Pet id to delete |
- **apiKey** | **kotlin.String**| | [optional]
+| **petId** | **kotlin.Long**| Pet id to delete | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **apiKey** | **kotlin.String**| | [optional] |
### Return type
@@ -137,10 +135,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **status** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [enum: available, pending, sold]
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **status** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [enum: available, pending, sold] |
### Return type
@@ -186,10 +183,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **tags** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Tags to filter by |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **tags** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Tags to filter by | |
### Return type
@@ -235,10 +231,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet to return |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **petId** | **kotlin.Long**| ID of pet to return | |
### Return type
@@ -282,10 +277,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -330,12 +324,11 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet that needs to be updated |
- **name** | **kotlin.String**| Updated name of the pet | [optional]
- **status** | **kotlin.String**| Updated status of the pet | [optional]
+| **petId** | **kotlin.Long**| ID of pet that needs to be updated | |
+| **name** | **kotlin.String**| Updated name of the pet | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **status** | **kotlin.String**| Updated status of the pet | [optional] |
### Return type
@@ -381,12 +374,11 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet to update |
- **additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional]
- **file** | **io.ktor.client.request.forms.InputProvider**| file to upload | [optional]
+| **petId** | **kotlin.Long**| ID of pet to update | |
+| **additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **file** | **io.ktor.client.request.forms.InputProvider**| file to upload | [optional] |
### Return type
diff --git a/samples/client/petstore/kotlin-multiplatform/docs/StoreApi.md b/samples/client/petstore/kotlin-multiplatform/docs/StoreApi.md
index d111b2911d7e..27694e9e7100 100644
--- a/samples/client/petstore/kotlin-multiplatform/docs/StoreApi.md
+++ b/samples/client/petstore/kotlin-multiplatform/docs/StoreApi.md
@@ -2,12 +2,12 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID
-[**getInventory**](StoreApi.md#getInventory) | **GET** /store/inventory | Returns pet inventories by status
-[**getOrderById**](StoreApi.md#getOrderById) | **GET** /store/order/{orderId} | Find purchase order by ID
-[**placeOrder**](StoreApi.md#placeOrder) | **POST** /store/order | Place an order for a pet
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID |
+| [**getInventory**](StoreApi.md#getInventory) | **GET** /store/inventory | Returns pet inventories by status |
+| [**getOrderById**](StoreApi.md#getOrderById) | **GET** /store/order/{orderId} | Find purchase order by ID |
+| [**placeOrder**](StoreApi.md#placeOrder) | **POST** /store/order | Place an order for a pet |
@@ -38,10 +38,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **kotlin.String**| ID of the order that needs to be deleted |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **orderId** | **kotlin.String**| ID of the order that needs to be deleted | |
### Return type
@@ -131,10 +130,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **kotlin.Long**| ID of pet that needs to be fetched |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **orderId** | **kotlin.Long**| ID of pet that needs to be fetched | |
### Return type
@@ -176,10 +174,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**Order**](Order.md)| order placed for purchasing the pet |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**Order**](Order.md)| order placed for purchasing the pet | |
### Return type
diff --git a/samples/client/petstore/kotlin-multiplatform/docs/Tag.md b/samples/client/petstore/kotlin-multiplatform/docs/Tag.md
index 60ce1bcdbad3..dc8fa3cb555d 100644
--- a/samples/client/petstore/kotlin-multiplatform/docs/Tag.md
+++ b/samples/client/petstore/kotlin-multiplatform/docs/Tag.md
@@ -2,10 +2,10 @@
# Tag
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-multiplatform/docs/User.md b/samples/client/petstore/kotlin-multiplatform/docs/User.md
index e801729b5ed1..a9f35788637e 100644
--- a/samples/client/petstore/kotlin-multiplatform/docs/User.md
+++ b/samples/client/petstore/kotlin-multiplatform/docs/User.md
@@ -2,16 +2,16 @@
# User
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**username** | **kotlin.String** | | [optional]
-**firstName** | **kotlin.String** | | [optional]
-**lastName** | **kotlin.String** | | [optional]
-**email** | **kotlin.String** | | [optional]
-**password** | **kotlin.String** | | [optional]
-**phone** | **kotlin.String** | | [optional]
-**userStatus** | **kotlin.Int** | User Status | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **username** | **kotlin.String** | | [optional] |
+| **firstName** | **kotlin.String** | | [optional] |
+| **lastName** | **kotlin.String** | | [optional] |
+| **email** | **kotlin.String** | | [optional] |
+| **password** | **kotlin.String** | | [optional] |
+| **phone** | **kotlin.String** | | [optional] |
+| **userStatus** | **kotlin.Int** | User Status | [optional] |
diff --git a/samples/client/petstore/kotlin-multiplatform/docs/UserApi.md b/samples/client/petstore/kotlin-multiplatform/docs/UserApi.md
index afcdb070dbbd..6a4403972b4d 100644
--- a/samples/client/petstore/kotlin-multiplatform/docs/UserApi.md
+++ b/samples/client/petstore/kotlin-multiplatform/docs/UserApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**createUser**](UserApi.md#createUser) | **POST** /user | Create user
-[**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** /user/createWithArray | Creates list of users with given input array
-[**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** /user/createWithList | Creates list of users with given input array
-[**deleteUser**](UserApi.md#deleteUser) | **DELETE** /user/{username} | Delete user
-[**getUserByName**](UserApi.md#getUserByName) | **GET** /user/{username} | Get user by user name
-[**loginUser**](UserApi.md#loginUser) | **GET** /user/login | Logs user into the system
-[**logoutUser**](UserApi.md#logoutUser) | **GET** /user/logout | Logs out current logged in user session
-[**updateUser**](UserApi.md#updateUser) | **PUT** /user/{username} | Updated user
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**createUser**](UserApi.md#createUser) | **POST** /user | Create user |
+| [**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** /user/createWithArray | Creates list of users with given input array |
+| [**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** /user/createWithList | Creates list of users with given input array |
+| [**deleteUser**](UserApi.md#deleteUser) | **DELETE** /user/{username} | Delete user |
+| [**getUserByName**](UserApi.md#getUserByName) | **GET** /user/{username} | Get user by user name |
+| [**loginUser**](UserApi.md#loginUser) | **GET** /user/login | Logs user into the system |
+| [**logoutUser**](UserApi.md#logoutUser) | **GET** /user/logout | Logs out current logged in user session |
+| [**updateUser**](UserApi.md#updateUser) | **PUT** /user/{username} | Updated user |
@@ -42,10 +42,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**User**](User.md)| Created user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**User**](User.md)| Created user object | |
### Return type
@@ -86,10 +85,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**kotlin.collections.List<User>**](User.md)| List of user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**kotlin.collections.List<User>**](User.md)| List of user object | |
### Return type
@@ -130,10 +128,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**kotlin.collections.List<User>**](User.md)| List of user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**kotlin.collections.List<User>**](User.md)| List of user object | |
### Return type
@@ -176,10 +173,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The name that needs to be deleted |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String**| The name that needs to be deleted | |
### Return type
@@ -221,10 +217,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. | |
### Return type
@@ -267,11 +262,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The user name for login |
- **password** | **kotlin.String**| The password for login in clear text |
+| **username** | **kotlin.String**| The user name for login | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **password** | **kotlin.String**| The password for login in clear text | |
### Return type
@@ -355,11 +349,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| name that need to be deleted |
- **body** | [**User**](User.md)| Updated user object |
+| **username** | **kotlin.String**| name that need to be deleted | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**User**](User.md)| Updated user object | |
### Return type
diff --git a/samples/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/Category.kt b/samples/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/Category.kt
index 2e16584b4e48..9bc832793cbf 100644
--- a/samples/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/Category.kt
+++ b/samples/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/Category.kt
@@ -34,5 +34,8 @@ data class Category (
@SerialName(value = "name") val name: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/ModelApiResponse.kt b/samples/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/ModelApiResponse.kt
index c9c0a490824b..df786952b428 100644
--- a/samples/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/ModelApiResponse.kt
+++ b/samples/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/ModelApiResponse.kt
@@ -37,5 +37,8 @@ data class ModelApiResponse (
@SerialName(value = "message") val message: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/Order.kt b/samples/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/Order.kt
index e82f1e3fd7cb..e763dafa5395 100644
--- a/samples/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/Order.kt
+++ b/samples/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/Order.kt
@@ -60,5 +60,6 @@ data class Order (
@SerialName(value = "approved") approved("approved"),
@SerialName(value = "delivered") delivered("delivered");
}
+
}
diff --git a/samples/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/Pet.kt
index a275dec03d79..cd3c3adaec29 100644
--- a/samples/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/Pet.kt
+++ b/samples/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/Pet.kt
@@ -62,5 +62,6 @@ data class Pet (
@SerialName(value = "pending") pending("pending"),
@SerialName(value = "sold") sold("sold");
}
+
}
diff --git a/samples/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/Tag.kt
index 1bfe2f85978c..46af3323fd26 100644
--- a/samples/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/Tag.kt
+++ b/samples/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/Tag.kt
@@ -34,5 +34,8 @@ data class Tag (
@SerialName(value = "name") val name: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/User.kt b/samples/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/User.kt
index 29413ad2b02c..18a1d52df683 100644
--- a/samples/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/User.kt
+++ b/samples/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/User.kt
@@ -53,5 +53,8 @@ data class User (
/* User Status */
@SerialName(value = "userStatus") val userStatus: kotlin.Int? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-name-parameter-mappings/README.md b/samples/client/petstore/kotlin-name-parameter-mappings/README.md
index d5e48a26afd8..299d4e270292 100644
--- a/samples/client/petstore/kotlin-name-parameter-mappings/README.md
+++ b/samples/client/petstore/kotlin-name-parameter-mappings/README.md
@@ -43,9 +43,9 @@ This runs all tests and packages the library.
All URIs are relative to *http://localhost*
-Class | Method | HTTP request | Description
------------- | ------------- | ------------- | -------------
-*FakeApi* | [**getParameterNameMapping**](docs/FakeApi.md#getparameternamemapping) | **GET** /fake/parameter-name-mapping | parameter name mapping test
+| Class | Method | HTTP request | Description |
+| ------------ | ------------- | ------------- | ------------- |
+| *FakeApi* | [**getParameterNameMapping**](docs/FakeApi.md#getparameternamemapping) | **GET** /fake/parameter-name-mapping | parameter name mapping test |
diff --git a/samples/client/petstore/kotlin-name-parameter-mappings/docs/Environment.md b/samples/client/petstore/kotlin-name-parameter-mappings/docs/Environment.md
index 90250da0b675..7bdc083e9a7b 100644
--- a/samples/client/petstore/kotlin-name-parameter-mappings/docs/Environment.md
+++ b/samples/client/petstore/kotlin-name-parameter-mappings/docs/Environment.md
@@ -2,9 +2,9 @@
# Environment
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**dummy** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **dummy** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-name-parameter-mappings/docs/FakeApi.md b/samples/client/petstore/kotlin-name-parameter-mappings/docs/FakeApi.md
index 46c7a5435fc6..42a6f3a9551b 100644
--- a/samples/client/petstore/kotlin-name-parameter-mappings/docs/FakeApi.md
+++ b/samples/client/petstore/kotlin-name-parameter-mappings/docs/FakeApi.md
@@ -2,9 +2,9 @@
All URIs are relative to *http://localhost*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**getParameterNameMapping**](FakeApi.md#getParameterNameMapping) | **GET** /fake/parameter-name-mapping | parameter name mapping test
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**getParameterNameMapping**](FakeApi.md#getParameterNameMapping) | **GET** /fake/parameter-name-mapping | parameter name mapping test |
@@ -37,13 +37,12 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **underscoreType** | **kotlin.Long**| _type |
- **type** | **kotlin.String**| type |
- **typeWithUnderscore** | **kotlin.String**| type_ |
- **httpDebugOption** | **kotlin.String**| http debug option (to test parameter naming option) |
+| **underscoreType** | **kotlin.Long**| _type | |
+| **type** | **kotlin.String**| type | |
+| **typeWithUnderscore** | **kotlin.String**| type_ | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **httpDebugOption** | **kotlin.String**| http debug option (to test parameter naming option) | |
### Return type
diff --git a/samples/client/petstore/kotlin-name-parameter-mappings/docs/PropertyNameMapping.md b/samples/client/petstore/kotlin-name-parameter-mappings/docs/PropertyNameMapping.md
index d84beeb3c7c7..ad6bc95decfb 100644
--- a/samples/client/petstore/kotlin-name-parameter-mappings/docs/PropertyNameMapping.md
+++ b/samples/client/petstore/kotlin-name-parameter-mappings/docs/PropertyNameMapping.md
@@ -2,12 +2,12 @@
# PropertyNameMapping
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**httpDebugOperation** | **kotlin.String** | | [optional]
-**underscoreType** | **kotlin.String** | | [optional]
-**type** | **kotlin.String** | | [optional]
-**typeWithUnderscore** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **httpDebugOperation** | **kotlin.String** | | [optional] |
+| **underscoreType** | **kotlin.String** | | [optional] |
+| **type** | **kotlin.String** | | [optional] |
+| **typeWithUnderscore** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-name-parameter-mappings/src/main/kotlin/org/openapitools/client/models/Environment.kt b/samples/client/petstore/kotlin-name-parameter-mappings/src/main/kotlin/org/openapitools/client/models/Environment.kt
index 7a4c656b0a3e..2f296143a654 100644
--- a/samples/client/petstore/kotlin-name-parameter-mappings/src/main/kotlin/org/openapitools/client/models/Environment.kt
+++ b/samples/client/petstore/kotlin-name-parameter-mappings/src/main/kotlin/org/openapitools/client/models/Environment.kt
@@ -31,5 +31,8 @@ data class Environment (
@Json(name = "dummy")
val dummy: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-name-parameter-mappings/src/main/kotlin/org/openapitools/client/models/PropertyNameMapping.kt b/samples/client/petstore/kotlin-name-parameter-mappings/src/main/kotlin/org/openapitools/client/models/PropertyNameMapping.kt
index 6f3170877739..7bda8570622b 100644
--- a/samples/client/petstore/kotlin-name-parameter-mappings/src/main/kotlin/org/openapitools/client/models/PropertyNameMapping.kt
+++ b/samples/client/petstore/kotlin-name-parameter-mappings/src/main/kotlin/org/openapitools/client/models/PropertyNameMapping.kt
@@ -43,5 +43,8 @@ data class PropertyNameMapping (
@Json(name = "type_")
val typeWithUnderscore: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-nonpublic/README.md b/samples/client/petstore/kotlin-nonpublic/README.md
index e4e111438878..f1cf0031b0c9 100644
--- a/samples/client/petstore/kotlin-nonpublic/README.md
+++ b/samples/client/petstore/kotlin-nonpublic/README.md
@@ -43,28 +43,28 @@ This runs all tests and packages the library.
All URIs are relative to *http://petstore.swagger.io/v2*
-Class | Method | HTTP request | Description
------------- | ------------- | ------------- | -------------
-*PetApi* | [**addPet**](docs/PetApi.md#addpet) | **POST** /pet | Add a new pet to the store
-*PetApi* | [**deletePet**](docs/PetApi.md#deletepet) | **DELETE** /pet/{petId} | Deletes a pet
-*PetApi* | [**findPetsByStatus**](docs/PetApi.md#findpetsbystatus) | **GET** /pet/findByStatus | Finds Pets by status
-*PetApi* | [**findPetsByTags**](docs/PetApi.md#findpetsbytags) | **GET** /pet/findByTags | Finds Pets by tags
-*PetApi* | [**getPetById**](docs/PetApi.md#getpetbyid) | **GET** /pet/{petId} | Find pet by ID
-*PetApi* | [**updatePet**](docs/PetApi.md#updatepet) | **PUT** /pet | Update an existing pet
-*PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatepetwithform) | **POST** /pet/{petId} | Updates a pet in the store with form data
-*PetApi* | [**uploadFile**](docs/PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image
-*StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteorder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID
-*StoreApi* | [**getInventory**](docs/StoreApi.md#getinventory) | **GET** /store/inventory | Returns pet inventories by status
-*StoreApi* | [**getOrderById**](docs/StoreApi.md#getorderbyid) | **GET** /store/order/{orderId} | Find purchase order by ID
-*StoreApi* | [**placeOrder**](docs/StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet
-*UserApi* | [**createUser**](docs/UserApi.md#createuser) | **POST** /user | Create user
-*UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createuserswitharrayinput) | **POST** /user/createWithArray | Creates list of users with given input array
-*UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createuserswithlistinput) | **POST** /user/createWithList | Creates list of users with given input array
-*UserApi* | [**deleteUser**](docs/UserApi.md#deleteuser) | **DELETE** /user/{username} | Delete user
-*UserApi* | [**getUserByName**](docs/UserApi.md#getuserbyname) | **GET** /user/{username} | Get user by user name
-*UserApi* | [**loginUser**](docs/UserApi.md#loginuser) | **GET** /user/login | Logs user into the system
-*UserApi* | [**logoutUser**](docs/UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session
-*UserApi* | [**updateUser**](docs/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user
+| Class | Method | HTTP request | Description |
+| ------------ | ------------- | ------------- | ------------- |
+| *PetApi* | [**addPet**](docs/PetApi.md#addpet) | **POST** /pet | Add a new pet to the store |
+| *PetApi* | [**deletePet**](docs/PetApi.md#deletepet) | **DELETE** /pet/{petId} | Deletes a pet |
+| *PetApi* | [**findPetsByStatus**](docs/PetApi.md#findpetsbystatus) | **GET** /pet/findByStatus | Finds Pets by status |
+| *PetApi* | [**findPetsByTags**](docs/PetApi.md#findpetsbytags) | **GET** /pet/findByTags | Finds Pets by tags |
+| *PetApi* | [**getPetById**](docs/PetApi.md#getpetbyid) | **GET** /pet/{petId} | Find pet by ID |
+| *PetApi* | [**updatePet**](docs/PetApi.md#updatepet) | **PUT** /pet | Update an existing pet |
+| *PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatepetwithform) | **POST** /pet/{petId} | Updates a pet in the store with form data |
+| *PetApi* | [**uploadFile**](docs/PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image |
+| *StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteorder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID |
+| *StoreApi* | [**getInventory**](docs/StoreApi.md#getinventory) | **GET** /store/inventory | Returns pet inventories by status |
+| *StoreApi* | [**getOrderById**](docs/StoreApi.md#getorderbyid) | **GET** /store/order/{orderId} | Find purchase order by ID |
+| *StoreApi* | [**placeOrder**](docs/StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet |
+| *UserApi* | [**createUser**](docs/UserApi.md#createuser) | **POST** /user | Create user |
+| *UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createuserswitharrayinput) | **POST** /user/createWithArray | Creates list of users with given input array |
+| *UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createuserswithlistinput) | **POST** /user/createWithList | Creates list of users with given input array |
+| *UserApi* | [**deleteUser**](docs/UserApi.md#deleteuser) | **DELETE** /user/{username} | Delete user |
+| *UserApi* | [**getUserByName**](docs/UserApi.md#getuserbyname) | **GET** /user/{username} | Get user by user name |
+| *UserApi* | [**loginUser**](docs/UserApi.md#loginuser) | **GET** /user/login | Logs user into the system |
+| *UserApi* | [**logoutUser**](docs/UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session |
+| *UserApi* | [**updateUser**](docs/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user |
diff --git a/samples/client/petstore/kotlin-nonpublic/docs/ApiResponse.md b/samples/client/petstore/kotlin-nonpublic/docs/ApiResponse.md
index 12f08d5cdef0..059525a99512 100644
--- a/samples/client/petstore/kotlin-nonpublic/docs/ApiResponse.md
+++ b/samples/client/petstore/kotlin-nonpublic/docs/ApiResponse.md
@@ -2,11 +2,11 @@
# ModelApiResponse
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**code** | **kotlin.Int** | | [optional]
-**type** | **kotlin.String** | | [optional]
-**message** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **code** | **kotlin.Int** | | [optional] |
+| **type** | **kotlin.String** | | [optional] |
+| **message** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-nonpublic/docs/Category.md b/samples/client/petstore/kotlin-nonpublic/docs/Category.md
index 2c28a670fc79..baba5657eb21 100644
--- a/samples/client/petstore/kotlin-nonpublic/docs/Category.md
+++ b/samples/client/petstore/kotlin-nonpublic/docs/Category.md
@@ -2,10 +2,10 @@
# Category
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-nonpublic/docs/Order.md b/samples/client/petstore/kotlin-nonpublic/docs/Order.md
index c0c951b22d33..7b7a399f7f75 100644
--- a/samples/client/petstore/kotlin-nonpublic/docs/Order.md
+++ b/samples/client/petstore/kotlin-nonpublic/docs/Order.md
@@ -2,21 +2,21 @@
# Order
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**petId** | **kotlin.Long** | | [optional]
-**quantity** | **kotlin.Int** | | [optional]
-**shipDate** | [**java.time.OffsetDateTime**](java.time.OffsetDateTime.md) | | [optional]
-**status** | [**inline**](#Status) | Order Status | [optional]
-**complete** | **kotlin.Boolean** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **petId** | **kotlin.Long** | | [optional] |
+| **quantity** | **kotlin.Int** | | [optional] |
+| **shipDate** | [**java.time.OffsetDateTime**](java.time.OffsetDateTime.md) | | [optional] |
+| **status** | [**inline**](#Status) | Order Status | [optional] |
+| **complete** | **kotlin.Boolean** | | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | placed, approved, delivered
+| Name | Value |
+| ---- | ----- |
+| status | placed, approved, delivered |
diff --git a/samples/client/petstore/kotlin-nonpublic/docs/Pet.md b/samples/client/petstore/kotlin-nonpublic/docs/Pet.md
index da70fca06e65..287312efaf94 100644
--- a/samples/client/petstore/kotlin-nonpublic/docs/Pet.md
+++ b/samples/client/petstore/kotlin-nonpublic/docs/Pet.md
@@ -2,21 +2,21 @@
# Pet
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**name** | **kotlin.String** | |
-**photoUrls** | **kotlin.collections.List<kotlin.String>** | |
-**id** | **kotlin.Long** | | [optional]
-**category** | [**Category**](Category.md) | | [optional]
-**tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional]
-**status** | [**inline**](#Status) | pet status in the store | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **name** | **kotlin.String** | | |
+| **photoUrls** | **kotlin.collections.List<kotlin.String>** | | |
+| **id** | **kotlin.Long** | | [optional] |
+| **category** | [**Category**](Category.md) | | [optional] |
+| **tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional] |
+| **status** | [**inline**](#Status) | pet status in the store | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | available, pending, sold
+| Name | Value |
+| ---- | ----- |
+| status | available, pending, sold |
diff --git a/samples/client/petstore/kotlin-nonpublic/docs/PetApi.md b/samples/client/petstore/kotlin-nonpublic/docs/PetApi.md
index bb8451def0df..6856ea516dab 100644
--- a/samples/client/petstore/kotlin-nonpublic/docs/PetApi.md
+++ b/samples/client/petstore/kotlin-nonpublic/docs/PetApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**addPet**](PetApi.md#addPet) | **POST** /pet | Add a new pet to the store
-[**deletePet**](PetApi.md#deletePet) | **DELETE** /pet/{petId} | Deletes a pet
-[**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** /pet/findByStatus | Finds Pets by status
-[**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** /pet/findByTags | Finds Pets by tags
-[**getPetById**](PetApi.md#getPetById) | **GET** /pet/{petId} | Find pet by ID
-[**updatePet**](PetApi.md#updatePet) | **PUT** /pet | Update an existing pet
-[**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** /pet/{petId} | Updates a pet in the store with form data
-[**uploadFile**](PetApi.md#uploadFile) | **POST** /pet/{petId}/uploadImage | uploads an image
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**addPet**](PetApi.md#addPet) | **POST** /pet | Add a new pet to the store |
+| [**deletePet**](PetApi.md#deletePet) | **DELETE** /pet/{petId} | Deletes a pet |
+| [**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** /pet/findByStatus | Finds Pets by status |
+| [**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** /pet/findByTags | Finds Pets by tags |
+| [**getPetById**](PetApi.md#getPetById) | **GET** /pet/{petId} | Find pet by ID |
+| [**updatePet**](PetApi.md#updatePet) | **PUT** /pet | Update an existing pet |
+| [**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** /pet/{petId} | Updates a pet in the store with form data |
+| [**uploadFile**](PetApi.md#uploadFile) | **POST** /pet/{petId}/uploadImage | uploads an image |
@@ -40,10 +40,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -87,11 +86,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| Pet id to delete |
- **apiKey** | **kotlin.String**| | [optional]
+| **petId** | **kotlin.Long**| Pet id to delete | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **apiKey** | **kotlin.String**| | [optional] |
### Return type
@@ -137,10 +135,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **status** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [enum: available, pending, sold]
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **status** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [enum: available, pending, sold] |
### Return type
@@ -186,10 +183,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **tags** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Tags to filter by |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **tags** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Tags to filter by | |
### Return type
@@ -235,10 +231,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet to return |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **petId** | **kotlin.Long**| ID of pet to return | |
### Return type
@@ -282,10 +277,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -330,12 +324,11 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet that needs to be updated |
- **name** | **kotlin.String**| Updated name of the pet | [optional]
- **status** | **kotlin.String**| Updated status of the pet | [optional]
+| **petId** | **kotlin.Long**| ID of pet that needs to be updated | |
+| **name** | **kotlin.String**| Updated name of the pet | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **status** | **kotlin.String**| Updated status of the pet | [optional] |
### Return type
@@ -381,12 +374,11 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet to update |
- **additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional]
- **file** | **java.io.File**| file to upload | [optional]
+| **petId** | **kotlin.Long**| ID of pet to update | |
+| **additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **file** | **java.io.File**| file to upload | [optional] |
### Return type
diff --git a/samples/client/petstore/kotlin-nonpublic/docs/StoreApi.md b/samples/client/petstore/kotlin-nonpublic/docs/StoreApi.md
index 9515ccd6d0cb..53ff17b16676 100644
--- a/samples/client/petstore/kotlin-nonpublic/docs/StoreApi.md
+++ b/samples/client/petstore/kotlin-nonpublic/docs/StoreApi.md
@@ -2,12 +2,12 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID
-[**getInventory**](StoreApi.md#getInventory) | **GET** /store/inventory | Returns pet inventories by status
-[**getOrderById**](StoreApi.md#getOrderById) | **GET** /store/order/{orderId} | Find purchase order by ID
-[**placeOrder**](StoreApi.md#placeOrder) | **POST** /store/order | Place an order for a pet
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID |
+| [**getInventory**](StoreApi.md#getInventory) | **GET** /store/inventory | Returns pet inventories by status |
+| [**getOrderById**](StoreApi.md#getOrderById) | **GET** /store/order/{orderId} | Find purchase order by ID |
+| [**placeOrder**](StoreApi.md#placeOrder) | **POST** /store/order | Place an order for a pet |
@@ -38,10 +38,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **kotlin.String**| ID of the order that needs to be deleted |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **orderId** | **kotlin.String**| ID of the order that needs to be deleted | |
### Return type
@@ -131,10 +130,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **kotlin.Long**| ID of pet that needs to be fetched |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **orderId** | **kotlin.Long**| ID of pet that needs to be fetched | |
### Return type
@@ -176,10 +174,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**Order**](Order.md)| order placed for purchasing the pet |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**Order**](Order.md)| order placed for purchasing the pet | |
### Return type
diff --git a/samples/client/petstore/kotlin-nonpublic/docs/Tag.md b/samples/client/petstore/kotlin-nonpublic/docs/Tag.md
index 60ce1bcdbad3..dc8fa3cb555d 100644
--- a/samples/client/petstore/kotlin-nonpublic/docs/Tag.md
+++ b/samples/client/petstore/kotlin-nonpublic/docs/Tag.md
@@ -2,10 +2,10 @@
# Tag
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-nonpublic/docs/User.md b/samples/client/petstore/kotlin-nonpublic/docs/User.md
index e801729b5ed1..a9f35788637e 100644
--- a/samples/client/petstore/kotlin-nonpublic/docs/User.md
+++ b/samples/client/petstore/kotlin-nonpublic/docs/User.md
@@ -2,16 +2,16 @@
# User
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**username** | **kotlin.String** | | [optional]
-**firstName** | **kotlin.String** | | [optional]
-**lastName** | **kotlin.String** | | [optional]
-**email** | **kotlin.String** | | [optional]
-**password** | **kotlin.String** | | [optional]
-**phone** | **kotlin.String** | | [optional]
-**userStatus** | **kotlin.Int** | User Status | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **username** | **kotlin.String** | | [optional] |
+| **firstName** | **kotlin.String** | | [optional] |
+| **lastName** | **kotlin.String** | | [optional] |
+| **email** | **kotlin.String** | | [optional] |
+| **password** | **kotlin.String** | | [optional] |
+| **phone** | **kotlin.String** | | [optional] |
+| **userStatus** | **kotlin.Int** | User Status | [optional] |
diff --git a/samples/client/petstore/kotlin-nonpublic/docs/UserApi.md b/samples/client/petstore/kotlin-nonpublic/docs/UserApi.md
index fdf75275cb97..82c8d6060276 100644
--- a/samples/client/petstore/kotlin-nonpublic/docs/UserApi.md
+++ b/samples/client/petstore/kotlin-nonpublic/docs/UserApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**createUser**](UserApi.md#createUser) | **POST** /user | Create user
-[**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** /user/createWithArray | Creates list of users with given input array
-[**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** /user/createWithList | Creates list of users with given input array
-[**deleteUser**](UserApi.md#deleteUser) | **DELETE** /user/{username} | Delete user
-[**getUserByName**](UserApi.md#getUserByName) | **GET** /user/{username} | Get user by user name
-[**loginUser**](UserApi.md#loginUser) | **GET** /user/login | Logs user into the system
-[**logoutUser**](UserApi.md#logoutUser) | **GET** /user/logout | Logs out current logged in user session
-[**updateUser**](UserApi.md#updateUser) | **PUT** /user/{username} | Updated user
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**createUser**](UserApi.md#createUser) | **POST** /user | Create user |
+| [**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** /user/createWithArray | Creates list of users with given input array |
+| [**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** /user/createWithList | Creates list of users with given input array |
+| [**deleteUser**](UserApi.md#deleteUser) | **DELETE** /user/{username} | Delete user |
+| [**getUserByName**](UserApi.md#getUserByName) | **GET** /user/{username} | Get user by user name |
+| [**loginUser**](UserApi.md#loginUser) | **GET** /user/login | Logs user into the system |
+| [**logoutUser**](UserApi.md#logoutUser) | **GET** /user/logout | Logs out current logged in user session |
+| [**updateUser**](UserApi.md#updateUser) | **PUT** /user/{username} | Updated user |
@@ -42,10 +42,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**User**](User.md)| Created user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**User**](User.md)| Created user object | |
### Return type
@@ -86,10 +85,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**kotlin.collections.List<User>**](User.md)| List of user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**kotlin.collections.List<User>**](User.md)| List of user object | |
### Return type
@@ -130,10 +128,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**kotlin.collections.List<User>**](User.md)| List of user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**kotlin.collections.List<User>**](User.md)| List of user object | |
### Return type
@@ -176,10 +173,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The name that needs to be deleted |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String**| The name that needs to be deleted | |
### Return type
@@ -221,10 +217,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. | |
### Return type
@@ -267,11 +262,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The user name for login |
- **password** | **kotlin.String**| The password for login in clear text |
+| **username** | **kotlin.String**| The user name for login | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **password** | **kotlin.String**| The password for login in clear text | |
### Return type
@@ -355,11 +349,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| name that need to be deleted |
- **body** | [**User**](User.md)| Updated user object |
+| **username** | **kotlin.String**| name that need to be deleted | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**User**](User.md)| Updated user object | |
### Return type
diff --git a/samples/client/petstore/kotlin-nonpublic/src/main/kotlin/org/openapitools/client/models/Category.kt b/samples/client/petstore/kotlin-nonpublic/src/main/kotlin/org/openapitools/client/models/Category.kt
index 0a8246ee0f08..73a0bfdf2527 100644
--- a/samples/client/petstore/kotlin-nonpublic/src/main/kotlin/org/openapitools/client/models/Category.kt
+++ b/samples/client/petstore/kotlin-nonpublic/src/main/kotlin/org/openapitools/client/models/Category.kt
@@ -35,5 +35,8 @@ internal data class Category (
@Json(name = "name")
val name: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-nonpublic/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt b/samples/client/petstore/kotlin-nonpublic/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
index d8c2a6d73931..feb4ba413e2d 100644
--- a/samples/client/petstore/kotlin-nonpublic/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
+++ b/samples/client/petstore/kotlin-nonpublic/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
@@ -39,5 +39,8 @@ internal data class ModelApiResponse (
@Json(name = "message")
val message: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-nonpublic/src/main/kotlin/org/openapitools/client/models/Order.kt b/samples/client/petstore/kotlin-nonpublic/src/main/kotlin/org/openapitools/client/models/Order.kt
index 313094f5f79c..982adb551e38 100644
--- a/samples/client/petstore/kotlin-nonpublic/src/main/kotlin/org/openapitools/client/models/Order.kt
+++ b/samples/client/petstore/kotlin-nonpublic/src/main/kotlin/org/openapitools/client/models/Order.kt
@@ -65,5 +65,6 @@ internal data class Order (
@Json(name = "approved") approved("approved"),
@Json(name = "delivered") delivered("delivered");
}
+
}
diff --git a/samples/client/petstore/kotlin-nonpublic/src/main/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/petstore/kotlin-nonpublic/src/main/kotlin/org/openapitools/client/models/Pet.kt
index cede065e9b16..9d38f849e0ff 100644
--- a/samples/client/petstore/kotlin-nonpublic/src/main/kotlin/org/openapitools/client/models/Pet.kt
+++ b/samples/client/petstore/kotlin-nonpublic/src/main/kotlin/org/openapitools/client/models/Pet.kt
@@ -67,5 +67,6 @@ internal data class Pet (
@Json(name = "pending") pending("pending"),
@Json(name = "sold") sold("sold");
}
+
}
diff --git a/samples/client/petstore/kotlin-nonpublic/src/main/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/petstore/kotlin-nonpublic/src/main/kotlin/org/openapitools/client/models/Tag.kt
index b6d52e5b4b4c..7b8cc1436883 100644
--- a/samples/client/petstore/kotlin-nonpublic/src/main/kotlin/org/openapitools/client/models/Tag.kt
+++ b/samples/client/petstore/kotlin-nonpublic/src/main/kotlin/org/openapitools/client/models/Tag.kt
@@ -35,5 +35,8 @@ internal data class Tag (
@Json(name = "name")
val name: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-nonpublic/src/main/kotlin/org/openapitools/client/models/User.kt b/samples/client/petstore/kotlin-nonpublic/src/main/kotlin/org/openapitools/client/models/User.kt
index 09cebd033847..84f66428177b 100644
--- a/samples/client/petstore/kotlin-nonpublic/src/main/kotlin/org/openapitools/client/models/User.kt
+++ b/samples/client/petstore/kotlin-nonpublic/src/main/kotlin/org/openapitools/client/models/User.kt
@@ -60,5 +60,8 @@ internal data class User (
@Json(name = "userStatus")
val userStatus: kotlin.Int? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-nullable/README.md b/samples/client/petstore/kotlin-nullable/README.md
index e4e111438878..f1cf0031b0c9 100644
--- a/samples/client/petstore/kotlin-nullable/README.md
+++ b/samples/client/petstore/kotlin-nullable/README.md
@@ -43,28 +43,28 @@ This runs all tests and packages the library.
All URIs are relative to *http://petstore.swagger.io/v2*
-Class | Method | HTTP request | Description
------------- | ------------- | ------------- | -------------
-*PetApi* | [**addPet**](docs/PetApi.md#addpet) | **POST** /pet | Add a new pet to the store
-*PetApi* | [**deletePet**](docs/PetApi.md#deletepet) | **DELETE** /pet/{petId} | Deletes a pet
-*PetApi* | [**findPetsByStatus**](docs/PetApi.md#findpetsbystatus) | **GET** /pet/findByStatus | Finds Pets by status
-*PetApi* | [**findPetsByTags**](docs/PetApi.md#findpetsbytags) | **GET** /pet/findByTags | Finds Pets by tags
-*PetApi* | [**getPetById**](docs/PetApi.md#getpetbyid) | **GET** /pet/{petId} | Find pet by ID
-*PetApi* | [**updatePet**](docs/PetApi.md#updatepet) | **PUT** /pet | Update an existing pet
-*PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatepetwithform) | **POST** /pet/{petId} | Updates a pet in the store with form data
-*PetApi* | [**uploadFile**](docs/PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image
-*StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteorder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID
-*StoreApi* | [**getInventory**](docs/StoreApi.md#getinventory) | **GET** /store/inventory | Returns pet inventories by status
-*StoreApi* | [**getOrderById**](docs/StoreApi.md#getorderbyid) | **GET** /store/order/{orderId} | Find purchase order by ID
-*StoreApi* | [**placeOrder**](docs/StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet
-*UserApi* | [**createUser**](docs/UserApi.md#createuser) | **POST** /user | Create user
-*UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createuserswitharrayinput) | **POST** /user/createWithArray | Creates list of users with given input array
-*UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createuserswithlistinput) | **POST** /user/createWithList | Creates list of users with given input array
-*UserApi* | [**deleteUser**](docs/UserApi.md#deleteuser) | **DELETE** /user/{username} | Delete user
-*UserApi* | [**getUserByName**](docs/UserApi.md#getuserbyname) | **GET** /user/{username} | Get user by user name
-*UserApi* | [**loginUser**](docs/UserApi.md#loginuser) | **GET** /user/login | Logs user into the system
-*UserApi* | [**logoutUser**](docs/UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session
-*UserApi* | [**updateUser**](docs/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user
+| Class | Method | HTTP request | Description |
+| ------------ | ------------- | ------------- | ------------- |
+| *PetApi* | [**addPet**](docs/PetApi.md#addpet) | **POST** /pet | Add a new pet to the store |
+| *PetApi* | [**deletePet**](docs/PetApi.md#deletepet) | **DELETE** /pet/{petId} | Deletes a pet |
+| *PetApi* | [**findPetsByStatus**](docs/PetApi.md#findpetsbystatus) | **GET** /pet/findByStatus | Finds Pets by status |
+| *PetApi* | [**findPetsByTags**](docs/PetApi.md#findpetsbytags) | **GET** /pet/findByTags | Finds Pets by tags |
+| *PetApi* | [**getPetById**](docs/PetApi.md#getpetbyid) | **GET** /pet/{petId} | Find pet by ID |
+| *PetApi* | [**updatePet**](docs/PetApi.md#updatepet) | **PUT** /pet | Update an existing pet |
+| *PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatepetwithform) | **POST** /pet/{petId} | Updates a pet in the store with form data |
+| *PetApi* | [**uploadFile**](docs/PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image |
+| *StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteorder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID |
+| *StoreApi* | [**getInventory**](docs/StoreApi.md#getinventory) | **GET** /store/inventory | Returns pet inventories by status |
+| *StoreApi* | [**getOrderById**](docs/StoreApi.md#getorderbyid) | **GET** /store/order/{orderId} | Find purchase order by ID |
+| *StoreApi* | [**placeOrder**](docs/StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet |
+| *UserApi* | [**createUser**](docs/UserApi.md#createuser) | **POST** /user | Create user |
+| *UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createuserswitharrayinput) | **POST** /user/createWithArray | Creates list of users with given input array |
+| *UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createuserswithlistinput) | **POST** /user/createWithList | Creates list of users with given input array |
+| *UserApi* | [**deleteUser**](docs/UserApi.md#deleteuser) | **DELETE** /user/{username} | Delete user |
+| *UserApi* | [**getUserByName**](docs/UserApi.md#getuserbyname) | **GET** /user/{username} | Get user by user name |
+| *UserApi* | [**loginUser**](docs/UserApi.md#loginuser) | **GET** /user/login | Logs user into the system |
+| *UserApi* | [**logoutUser**](docs/UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session |
+| *UserApi* | [**updateUser**](docs/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user |
diff --git a/samples/client/petstore/kotlin-nullable/docs/ApiResponse.md b/samples/client/petstore/kotlin-nullable/docs/ApiResponse.md
index 12f08d5cdef0..059525a99512 100644
--- a/samples/client/petstore/kotlin-nullable/docs/ApiResponse.md
+++ b/samples/client/petstore/kotlin-nullable/docs/ApiResponse.md
@@ -2,11 +2,11 @@
# ModelApiResponse
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**code** | **kotlin.Int** | | [optional]
-**type** | **kotlin.String** | | [optional]
-**message** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **code** | **kotlin.Int** | | [optional] |
+| **type** | **kotlin.String** | | [optional] |
+| **message** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-nullable/docs/Category.md b/samples/client/petstore/kotlin-nullable/docs/Category.md
index 2c28a670fc79..baba5657eb21 100644
--- a/samples/client/petstore/kotlin-nullable/docs/Category.md
+++ b/samples/client/petstore/kotlin-nullable/docs/Category.md
@@ -2,10 +2,10 @@
# Category
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-nullable/docs/Order.md b/samples/client/petstore/kotlin-nullable/docs/Order.md
index c0c951b22d33..7b7a399f7f75 100644
--- a/samples/client/petstore/kotlin-nullable/docs/Order.md
+++ b/samples/client/petstore/kotlin-nullable/docs/Order.md
@@ -2,21 +2,21 @@
# Order
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**petId** | **kotlin.Long** | | [optional]
-**quantity** | **kotlin.Int** | | [optional]
-**shipDate** | [**java.time.OffsetDateTime**](java.time.OffsetDateTime.md) | | [optional]
-**status** | [**inline**](#Status) | Order Status | [optional]
-**complete** | **kotlin.Boolean** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **petId** | **kotlin.Long** | | [optional] |
+| **quantity** | **kotlin.Int** | | [optional] |
+| **shipDate** | [**java.time.OffsetDateTime**](java.time.OffsetDateTime.md) | | [optional] |
+| **status** | [**inline**](#Status) | Order Status | [optional] |
+| **complete** | **kotlin.Boolean** | | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | placed, approved, delivered
+| Name | Value |
+| ---- | ----- |
+| status | placed, approved, delivered |
diff --git a/samples/client/petstore/kotlin-nullable/docs/Pet.md b/samples/client/petstore/kotlin-nullable/docs/Pet.md
index da70fca06e65..287312efaf94 100644
--- a/samples/client/petstore/kotlin-nullable/docs/Pet.md
+++ b/samples/client/petstore/kotlin-nullable/docs/Pet.md
@@ -2,21 +2,21 @@
# Pet
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**name** | **kotlin.String** | |
-**photoUrls** | **kotlin.collections.List<kotlin.String>** | |
-**id** | **kotlin.Long** | | [optional]
-**category** | [**Category**](Category.md) | | [optional]
-**tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional]
-**status** | [**inline**](#Status) | pet status in the store | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **name** | **kotlin.String** | | |
+| **photoUrls** | **kotlin.collections.List<kotlin.String>** | | |
+| **id** | **kotlin.Long** | | [optional] |
+| **category** | [**Category**](Category.md) | | [optional] |
+| **tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional] |
+| **status** | [**inline**](#Status) | pet status in the store | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | available, pending, sold
+| Name | Value |
+| ---- | ----- |
+| status | available, pending, sold |
diff --git a/samples/client/petstore/kotlin-nullable/docs/PetApi.md b/samples/client/petstore/kotlin-nullable/docs/PetApi.md
index f0abe6d62822..02061114df28 100644
--- a/samples/client/petstore/kotlin-nullable/docs/PetApi.md
+++ b/samples/client/petstore/kotlin-nullable/docs/PetApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**addPet**](PetApi.md#addPet) | **POST** /pet | Add a new pet to the store
-[**deletePet**](PetApi.md#deletePet) | **DELETE** /pet/{petId} | Deletes a pet
-[**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** /pet/findByStatus | Finds Pets by status
-[**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** /pet/findByTags | Finds Pets by tags
-[**getPetById**](PetApi.md#getPetById) | **GET** /pet/{petId} | Find pet by ID
-[**updatePet**](PetApi.md#updatePet) | **PUT** /pet | Update an existing pet
-[**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** /pet/{petId} | Updates a pet in the store with form data
-[**uploadFile**](PetApi.md#uploadFile) | **POST** /pet/{petId}/uploadImage | uploads an image
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**addPet**](PetApi.md#addPet) | **POST** /pet | Add a new pet to the store |
+| [**deletePet**](PetApi.md#deletePet) | **DELETE** /pet/{petId} | Deletes a pet |
+| [**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** /pet/findByStatus | Finds Pets by status |
+| [**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** /pet/findByTags | Finds Pets by tags |
+| [**getPetById**](PetApi.md#getPetById) | **GET** /pet/{petId} | Find pet by ID |
+| [**updatePet**](PetApi.md#updatePet) | **PUT** /pet | Update an existing pet |
+| [**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** /pet/{petId} | Updates a pet in the store with form data |
+| [**uploadFile**](PetApi.md#uploadFile) | **POST** /pet/{petId}/uploadImage | uploads an image |
@@ -40,10 +40,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -87,11 +86,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| Pet id to delete |
- **apiKey** | **kotlin.String**| | [optional]
+| **petId** | **kotlin.Long**| Pet id to delete | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **apiKey** | **kotlin.String**| | [optional] |
### Return type
@@ -137,10 +135,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **status** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [enum: available, pending, sold]
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **status** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [enum: available, pending, sold] |
### Return type
@@ -186,10 +183,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **tags** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Tags to filter by |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **tags** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Tags to filter by | |
### Return type
@@ -235,10 +231,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet to return |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **petId** | **kotlin.Long**| ID of pet to return | |
### Return type
@@ -282,10 +277,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -330,12 +324,11 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet that needs to be updated |
- **name** | **kotlin.String**| Updated name of the pet | [optional]
- **status** | **kotlin.String**| Updated status of the pet | [optional]
+| **petId** | **kotlin.Long**| ID of pet that needs to be updated | |
+| **name** | **kotlin.String**| Updated name of the pet | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **status** | **kotlin.String**| Updated status of the pet | [optional] |
### Return type
@@ -381,12 +374,11 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet to update |
- **additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional]
- **file** | **java.io.File**| file to upload | [optional]
+| **petId** | **kotlin.Long**| ID of pet to update | |
+| **additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **file** | **java.io.File**| file to upload | [optional] |
### Return type
diff --git a/samples/client/petstore/kotlin-nullable/docs/StoreApi.md b/samples/client/petstore/kotlin-nullable/docs/StoreApi.md
index ddbe2dc5a1f7..3643359fd101 100644
--- a/samples/client/petstore/kotlin-nullable/docs/StoreApi.md
+++ b/samples/client/petstore/kotlin-nullable/docs/StoreApi.md
@@ -2,12 +2,12 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID
-[**getInventory**](StoreApi.md#getInventory) | **GET** /store/inventory | Returns pet inventories by status
-[**getOrderById**](StoreApi.md#getOrderById) | **GET** /store/order/{orderId} | Find purchase order by ID
-[**placeOrder**](StoreApi.md#placeOrder) | **POST** /store/order | Place an order for a pet
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID |
+| [**getInventory**](StoreApi.md#getInventory) | **GET** /store/inventory | Returns pet inventories by status |
+| [**getOrderById**](StoreApi.md#getOrderById) | **GET** /store/order/{orderId} | Find purchase order by ID |
+| [**placeOrder**](StoreApi.md#placeOrder) | **POST** /store/order | Place an order for a pet |
@@ -38,10 +38,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **kotlin.String**| ID of the order that needs to be deleted |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **orderId** | **kotlin.String**| ID of the order that needs to be deleted | |
### Return type
@@ -131,10 +130,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **kotlin.Long**| ID of pet that needs to be fetched |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **orderId** | **kotlin.Long**| ID of pet that needs to be fetched | |
### Return type
@@ -176,10 +174,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**Order**](Order.md)| order placed for purchasing the pet |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**Order**](Order.md)| order placed for purchasing the pet | |
### Return type
diff --git a/samples/client/petstore/kotlin-nullable/docs/Tag.md b/samples/client/petstore/kotlin-nullable/docs/Tag.md
index 60ce1bcdbad3..dc8fa3cb555d 100644
--- a/samples/client/petstore/kotlin-nullable/docs/Tag.md
+++ b/samples/client/petstore/kotlin-nullable/docs/Tag.md
@@ -2,10 +2,10 @@
# Tag
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-nullable/docs/User.md b/samples/client/petstore/kotlin-nullable/docs/User.md
index e801729b5ed1..a9f35788637e 100644
--- a/samples/client/petstore/kotlin-nullable/docs/User.md
+++ b/samples/client/petstore/kotlin-nullable/docs/User.md
@@ -2,16 +2,16 @@
# User
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**username** | **kotlin.String** | | [optional]
-**firstName** | **kotlin.String** | | [optional]
-**lastName** | **kotlin.String** | | [optional]
-**email** | **kotlin.String** | | [optional]
-**password** | **kotlin.String** | | [optional]
-**phone** | **kotlin.String** | | [optional]
-**userStatus** | **kotlin.Int** | User Status | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **username** | **kotlin.String** | | [optional] |
+| **firstName** | **kotlin.String** | | [optional] |
+| **lastName** | **kotlin.String** | | [optional] |
+| **email** | **kotlin.String** | | [optional] |
+| **password** | **kotlin.String** | | [optional] |
+| **phone** | **kotlin.String** | | [optional] |
+| **userStatus** | **kotlin.Int** | User Status | [optional] |
diff --git a/samples/client/petstore/kotlin-nullable/docs/UserApi.md b/samples/client/petstore/kotlin-nullable/docs/UserApi.md
index f3efec08f4dd..358b8a32ab0c 100644
--- a/samples/client/petstore/kotlin-nullable/docs/UserApi.md
+++ b/samples/client/petstore/kotlin-nullable/docs/UserApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**createUser**](UserApi.md#createUser) | **POST** /user | Create user
-[**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** /user/createWithArray | Creates list of users with given input array
-[**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** /user/createWithList | Creates list of users with given input array
-[**deleteUser**](UserApi.md#deleteUser) | **DELETE** /user/{username} | Delete user
-[**getUserByName**](UserApi.md#getUserByName) | **GET** /user/{username} | Get user by user name
-[**loginUser**](UserApi.md#loginUser) | **GET** /user/login | Logs user into the system
-[**logoutUser**](UserApi.md#logoutUser) | **GET** /user/logout | Logs out current logged in user session
-[**updateUser**](UserApi.md#updateUser) | **PUT** /user/{username} | Updated user
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**createUser**](UserApi.md#createUser) | **POST** /user | Create user |
+| [**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** /user/createWithArray | Creates list of users with given input array |
+| [**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** /user/createWithList | Creates list of users with given input array |
+| [**deleteUser**](UserApi.md#deleteUser) | **DELETE** /user/{username} | Delete user |
+| [**getUserByName**](UserApi.md#getUserByName) | **GET** /user/{username} | Get user by user name |
+| [**loginUser**](UserApi.md#loginUser) | **GET** /user/login | Logs user into the system |
+| [**logoutUser**](UserApi.md#logoutUser) | **GET** /user/logout | Logs out current logged in user session |
+| [**updateUser**](UserApi.md#updateUser) | **PUT** /user/{username} | Updated user |
@@ -42,10 +42,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**User**](User.md)| Created user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**User**](User.md)| Created user object | |
### Return type
@@ -86,10 +85,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**kotlin.collections.List<User>**](User.md)| List of user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**kotlin.collections.List<User>**](User.md)| List of user object | |
### Return type
@@ -130,10 +128,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**kotlin.collections.List<User>**](User.md)| List of user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**kotlin.collections.List<User>**](User.md)| List of user object | |
### Return type
@@ -176,10 +173,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The name that needs to be deleted |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String**| The name that needs to be deleted | |
### Return type
@@ -221,10 +217,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. | |
### Return type
@@ -267,11 +262,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The user name for login |
- **password** | **kotlin.String**| The password for login in clear text |
+| **username** | **kotlin.String**| The user name for login | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **password** | **kotlin.String**| The password for login in clear text | |
### Return type
@@ -355,11 +349,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| name that need to be deleted |
- **body** | [**User**](User.md)| Updated user object |
+| **username** | **kotlin.String**| name that need to be deleted | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**User**](User.md)| Updated user object | |
### Return type
diff --git a/samples/client/petstore/kotlin-nullable/src/main/kotlin/org/openapitools/client/models/Category.kt b/samples/client/petstore/kotlin-nullable/src/main/kotlin/org/openapitools/client/models/Category.kt
index 62bb71a96e95..cde43a83f0c1 100644
--- a/samples/client/petstore/kotlin-nullable/src/main/kotlin/org/openapitools/client/models/Category.kt
+++ b/samples/client/petstore/kotlin-nullable/src/main/kotlin/org/openapitools/client/models/Category.kt
@@ -41,5 +41,6 @@ data class Category (
private const val serialVersionUID: Long = 123
}
+
}
diff --git a/samples/client/petstore/kotlin-nullable/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt b/samples/client/petstore/kotlin-nullable/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
index 082e0974d88e..a4bef25364d7 100644
--- a/samples/client/petstore/kotlin-nullable/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
+++ b/samples/client/petstore/kotlin-nullable/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
@@ -45,5 +45,6 @@ data class ModelApiResponse (
private const val serialVersionUID: Long = 123
}
+
}
diff --git a/samples/client/petstore/kotlin-nullable/src/main/kotlin/org/openapitools/client/models/Order.kt b/samples/client/petstore/kotlin-nullable/src/main/kotlin/org/openapitools/client/models/Order.kt
index a0253b825c12..a51d95c17765 100644
--- a/samples/client/petstore/kotlin-nullable/src/main/kotlin/org/openapitools/client/models/Order.kt
+++ b/samples/client/petstore/kotlin-nullable/src/main/kotlin/org/openapitools/client/models/Order.kt
@@ -69,5 +69,6 @@ data class Order (
@Json(name = "approved") approved("approved"),
@Json(name = "delivered") delivered("delivered");
}
+
}
diff --git a/samples/client/petstore/kotlin-nullable/src/main/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/petstore/kotlin-nullable/src/main/kotlin/org/openapitools/client/models/Pet.kt
index d4c37fe3b112..b231b7819f22 100644
--- a/samples/client/petstore/kotlin-nullable/src/main/kotlin/org/openapitools/client/models/Pet.kt
+++ b/samples/client/petstore/kotlin-nullable/src/main/kotlin/org/openapitools/client/models/Pet.kt
@@ -71,5 +71,6 @@ data class Pet (
@Json(name = "pending") pending("pending"),
@Json(name = "sold") sold("sold");
}
+
}
diff --git a/samples/client/petstore/kotlin-nullable/src/main/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/petstore/kotlin-nullable/src/main/kotlin/org/openapitools/client/models/Tag.kt
index 65564b265516..3618e8680eb6 100644
--- a/samples/client/petstore/kotlin-nullable/src/main/kotlin/org/openapitools/client/models/Tag.kt
+++ b/samples/client/petstore/kotlin-nullable/src/main/kotlin/org/openapitools/client/models/Tag.kt
@@ -41,5 +41,6 @@ data class Tag (
private const val serialVersionUID: Long = 123
}
+
}
diff --git a/samples/client/petstore/kotlin-nullable/src/main/kotlin/org/openapitools/client/models/User.kt b/samples/client/petstore/kotlin-nullable/src/main/kotlin/org/openapitools/client/models/User.kt
index b307a939ddaf..cabb3df832c2 100644
--- a/samples/client/petstore/kotlin-nullable/src/main/kotlin/org/openapitools/client/models/User.kt
+++ b/samples/client/petstore/kotlin-nullable/src/main/kotlin/org/openapitools/client/models/User.kt
@@ -66,5 +66,6 @@ data class User (
private const val serialVersionUID: Long = 123
}
+
}
diff --git a/samples/client/petstore/kotlin-retrofit2-jackson/README.md b/samples/client/petstore/kotlin-retrofit2-jackson/README.md
index 7a33a54b760e..eea90cd4dc4c 100644
--- a/samples/client/petstore/kotlin-retrofit2-jackson/README.md
+++ b/samples/client/petstore/kotlin-retrofit2-jackson/README.md
@@ -43,28 +43,28 @@ This runs all tests and packages the library.
All URIs are relative to *http://petstore.swagger.io/v2*
-Class | Method | HTTP request | Description
------------- | ------------- | ------------- | -------------
-*PetApi* | [**addPet**](docs/PetApi.md#addpet) | **POST** pet | Add a new pet to the store
-*PetApi* | [**deletePet**](docs/PetApi.md#deletepet) | **DELETE** pet/{petId} | Deletes a pet
-*PetApi* | [**findPetsByStatus**](docs/PetApi.md#findpetsbystatus) | **GET** pet/findByStatus | Finds Pets by status
-*PetApi* | [**findPetsByTags**](docs/PetApi.md#findpetsbytags) | **GET** pet/findByTags | Finds Pets by tags
-*PetApi* | [**getPetById**](docs/PetApi.md#getpetbyid) | **GET** pet/{petId} | Find pet by ID
-*PetApi* | [**updatePet**](docs/PetApi.md#updatepet) | **PUT** pet | Update an existing pet
-*PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatepetwithform) | **POST** pet/{petId} | Updates a pet in the store with form data
-*PetApi* | [**uploadFile**](docs/PetApi.md#uploadfile) | **POST** pet/{petId}/uploadImage | uploads an image
-*StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteorder) | **DELETE** store/order/{orderId} | Delete purchase order by ID
-*StoreApi* | [**getInventory**](docs/StoreApi.md#getinventory) | **GET** store/inventory | Returns pet inventories by status
-*StoreApi* | [**getOrderById**](docs/StoreApi.md#getorderbyid) | **GET** store/order/{orderId} | Find purchase order by ID
-*StoreApi* | [**placeOrder**](docs/StoreApi.md#placeorder) | **POST** store/order | Place an order for a pet
-*UserApi* | [**createUser**](docs/UserApi.md#createuser) | **POST** user | Create user
-*UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createuserswitharrayinput) | **POST** user/createWithArray | Creates list of users with given input array
-*UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createuserswithlistinput) | **POST** user/createWithList | Creates list of users with given input array
-*UserApi* | [**deleteUser**](docs/UserApi.md#deleteuser) | **DELETE** user/{username} | Delete user
-*UserApi* | [**getUserByName**](docs/UserApi.md#getuserbyname) | **GET** user/{username} | Get user by user name
-*UserApi* | [**loginUser**](docs/UserApi.md#loginuser) | **GET** user/login | Logs user into the system
-*UserApi* | [**logoutUser**](docs/UserApi.md#logoutuser) | **GET** user/logout | Logs out current logged in user session
-*UserApi* | [**updateUser**](docs/UserApi.md#updateuser) | **PUT** user/{username} | Updated user
+| Class | Method | HTTP request | Description |
+| ------------ | ------------- | ------------- | ------------- |
+| *PetApi* | [**addPet**](docs/PetApi.md#addpet) | **POST** pet | Add a new pet to the store |
+| *PetApi* | [**deletePet**](docs/PetApi.md#deletepet) | **DELETE** pet/{petId} | Deletes a pet |
+| *PetApi* | [**findPetsByStatus**](docs/PetApi.md#findpetsbystatus) | **GET** pet/findByStatus | Finds Pets by status |
+| *PetApi* | [**findPetsByTags**](docs/PetApi.md#findpetsbytags) | **GET** pet/findByTags | Finds Pets by tags |
+| *PetApi* | [**getPetById**](docs/PetApi.md#getpetbyid) | **GET** pet/{petId} | Find pet by ID |
+| *PetApi* | [**updatePet**](docs/PetApi.md#updatepet) | **PUT** pet | Update an existing pet |
+| *PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatepetwithform) | **POST** pet/{petId} | Updates a pet in the store with form data |
+| *PetApi* | [**uploadFile**](docs/PetApi.md#uploadfile) | **POST** pet/{petId}/uploadImage | uploads an image |
+| *StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteorder) | **DELETE** store/order/{orderId} | Delete purchase order by ID |
+| *StoreApi* | [**getInventory**](docs/StoreApi.md#getinventory) | **GET** store/inventory | Returns pet inventories by status |
+| *StoreApi* | [**getOrderById**](docs/StoreApi.md#getorderbyid) | **GET** store/order/{orderId} | Find purchase order by ID |
+| *StoreApi* | [**placeOrder**](docs/StoreApi.md#placeorder) | **POST** store/order | Place an order for a pet |
+| *UserApi* | [**createUser**](docs/UserApi.md#createuser) | **POST** user | Create user |
+| *UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createuserswitharrayinput) | **POST** user/createWithArray | Creates list of users with given input array |
+| *UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createuserswithlistinput) | **POST** user/createWithList | Creates list of users with given input array |
+| *UserApi* | [**deleteUser**](docs/UserApi.md#deleteuser) | **DELETE** user/{username} | Delete user |
+| *UserApi* | [**getUserByName**](docs/UserApi.md#getuserbyname) | **GET** user/{username} | Get user by user name |
+| *UserApi* | [**loginUser**](docs/UserApi.md#loginuser) | **GET** user/login | Logs user into the system |
+| *UserApi* | [**logoutUser**](docs/UserApi.md#logoutuser) | **GET** user/logout | Logs out current logged in user session |
+| *UserApi* | [**updateUser**](docs/UserApi.md#updateuser) | **PUT** user/{username} | Updated user |
diff --git a/samples/client/petstore/kotlin-retrofit2-jackson/docs/ApiResponse.md b/samples/client/petstore/kotlin-retrofit2-jackson/docs/ApiResponse.md
index 12f08d5cdef0..059525a99512 100644
--- a/samples/client/petstore/kotlin-retrofit2-jackson/docs/ApiResponse.md
+++ b/samples/client/petstore/kotlin-retrofit2-jackson/docs/ApiResponse.md
@@ -2,11 +2,11 @@
# ModelApiResponse
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**code** | **kotlin.Int** | | [optional]
-**type** | **kotlin.String** | | [optional]
-**message** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **code** | **kotlin.Int** | | [optional] |
+| **type** | **kotlin.String** | | [optional] |
+| **message** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-retrofit2-jackson/docs/Category.md b/samples/client/petstore/kotlin-retrofit2-jackson/docs/Category.md
index 2c28a670fc79..baba5657eb21 100644
--- a/samples/client/petstore/kotlin-retrofit2-jackson/docs/Category.md
+++ b/samples/client/petstore/kotlin-retrofit2-jackson/docs/Category.md
@@ -2,10 +2,10 @@
# Category
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-retrofit2-jackson/docs/Order.md b/samples/client/petstore/kotlin-retrofit2-jackson/docs/Order.md
index c0c951b22d33..7b7a399f7f75 100644
--- a/samples/client/petstore/kotlin-retrofit2-jackson/docs/Order.md
+++ b/samples/client/petstore/kotlin-retrofit2-jackson/docs/Order.md
@@ -2,21 +2,21 @@
# Order
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**petId** | **kotlin.Long** | | [optional]
-**quantity** | **kotlin.Int** | | [optional]
-**shipDate** | [**java.time.OffsetDateTime**](java.time.OffsetDateTime.md) | | [optional]
-**status** | [**inline**](#Status) | Order Status | [optional]
-**complete** | **kotlin.Boolean** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **petId** | **kotlin.Long** | | [optional] |
+| **quantity** | **kotlin.Int** | | [optional] |
+| **shipDate** | [**java.time.OffsetDateTime**](java.time.OffsetDateTime.md) | | [optional] |
+| **status** | [**inline**](#Status) | Order Status | [optional] |
+| **complete** | **kotlin.Boolean** | | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | placed, approved, delivered
+| Name | Value |
+| ---- | ----- |
+| status | placed, approved, delivered |
diff --git a/samples/client/petstore/kotlin-retrofit2-jackson/docs/Pet.md b/samples/client/petstore/kotlin-retrofit2-jackson/docs/Pet.md
index da70fca06e65..287312efaf94 100644
--- a/samples/client/petstore/kotlin-retrofit2-jackson/docs/Pet.md
+++ b/samples/client/petstore/kotlin-retrofit2-jackson/docs/Pet.md
@@ -2,21 +2,21 @@
# Pet
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**name** | **kotlin.String** | |
-**photoUrls** | **kotlin.collections.List<kotlin.String>** | |
-**id** | **kotlin.Long** | | [optional]
-**category** | [**Category**](Category.md) | | [optional]
-**tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional]
-**status** | [**inline**](#Status) | pet status in the store | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **name** | **kotlin.String** | | |
+| **photoUrls** | **kotlin.collections.List<kotlin.String>** | | |
+| **id** | **kotlin.Long** | | [optional] |
+| **category** | [**Category**](Category.md) | | [optional] |
+| **tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional] |
+| **status** | [**inline**](#Status) | pet status in the store | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | available, pending, sold
+| Name | Value |
+| ---- | ----- |
+| status | available, pending, sold |
diff --git a/samples/client/petstore/kotlin-retrofit2-jackson/docs/PetApi.md b/samples/client/petstore/kotlin-retrofit2-jackson/docs/PetApi.md
index 0d9d5f4a8cb3..01ad4cac6196 100644
--- a/samples/client/petstore/kotlin-retrofit2-jackson/docs/PetApi.md
+++ b/samples/client/petstore/kotlin-retrofit2-jackson/docs/PetApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**addPet**](PetApi.md#addPet) | **POST** pet | Add a new pet to the store
-[**deletePet**](PetApi.md#deletePet) | **DELETE** pet/{petId} | Deletes a pet
-[**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** pet/findByStatus | Finds Pets by status
-[**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** pet/findByTags | Finds Pets by tags
-[**getPetById**](PetApi.md#getPetById) | **GET** pet/{petId} | Find pet by ID
-[**updatePet**](PetApi.md#updatePet) | **PUT** pet | Update an existing pet
-[**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** pet/{petId} | Updates a pet in the store with form data
-[**uploadFile**](PetApi.md#uploadFile) | **POST** pet/{petId}/uploadImage | uploads an image
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**addPet**](PetApi.md#addPet) | **POST** pet | Add a new pet to the store |
+| [**deletePet**](PetApi.md#deletePet) | **DELETE** pet/{petId} | Deletes a pet |
+| [**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** pet/findByStatus | Finds Pets by status |
+| [**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** pet/findByTags | Finds Pets by tags |
+| [**getPetById**](PetApi.md#getPetById) | **GET** pet/{petId} | Find pet by ID |
+| [**updatePet**](PetApi.md#updatePet) | **PUT** pet | Update an existing pet |
+| [**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** pet/{petId} | Updates a pet in the store with form data |
+| [**uploadFile**](PetApi.md#uploadFile) | **POST** pet/{petId}/uploadImage | uploads an image |
@@ -34,10 +34,9 @@ val result : Pet = webService.addPet(pet)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **pet** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **pet** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -73,11 +72,10 @@ webService.deletePet(petId, apiKey)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| Pet id to delete |
- **apiKey** | **kotlin.String**| | [optional]
+| **petId** | **kotlin.Long**| Pet id to delete | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **apiKey** | **kotlin.String**| | [optional] |
### Return type
@@ -112,10 +110,9 @@ val result : kotlin.collections.List = webService.findPetsByStatus(status)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **status** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [enum: available, pending, sold]
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **status** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [enum: available, pending, sold] |
### Return type
@@ -150,10 +147,9 @@ val result : kotlin.collections.List = webService.findPetsByTags(tags)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **tags** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Tags to filter by |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **tags** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Tags to filter by | |
### Return type
@@ -188,10 +184,9 @@ val result : Pet = webService.getPetById(petId)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet to return |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **petId** | **kotlin.Long**| ID of pet to return | |
### Return type
@@ -226,10 +221,9 @@ val result : Pet = webService.updatePet(pet)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **pet** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **pet** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -266,12 +260,11 @@ webService.updatePetWithForm(petId, name, status)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet that needs to be updated |
- **name** | **kotlin.String**| Updated name of the pet | [optional]
- **status** | **kotlin.String**| Updated status of the pet | [optional]
+| **petId** | **kotlin.Long**| ID of pet that needs to be updated | |
+| **name** | **kotlin.String**| Updated name of the pet | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **status** | **kotlin.String**| Updated status of the pet | [optional] |
### Return type
@@ -308,12 +301,11 @@ val result : ModelApiResponse = webService.uploadFile(petId, additionalMetadata,
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet to update |
- **additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional]
- **file** | **java.io.File**| file to upload | [optional]
+| **petId** | **kotlin.Long**| ID of pet to update | |
+| **additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **file** | **java.io.File**| file to upload | [optional] |
### Return type
diff --git a/samples/client/petstore/kotlin-retrofit2-jackson/docs/StoreApi.md b/samples/client/petstore/kotlin-retrofit2-jackson/docs/StoreApi.md
index 591623f8993a..34b0e0700a72 100644
--- a/samples/client/petstore/kotlin-retrofit2-jackson/docs/StoreApi.md
+++ b/samples/client/petstore/kotlin-retrofit2-jackson/docs/StoreApi.md
@@ -2,12 +2,12 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** store/order/{orderId} | Delete purchase order by ID
-[**getInventory**](StoreApi.md#getInventory) | **GET** store/inventory | Returns pet inventories by status
-[**getOrderById**](StoreApi.md#getOrderById) | **GET** store/order/{orderId} | Find purchase order by ID
-[**placeOrder**](StoreApi.md#placeOrder) | **POST** store/order | Place an order for a pet
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** store/order/{orderId} | Delete purchase order by ID |
+| [**getInventory**](StoreApi.md#getInventory) | **GET** store/inventory | Returns pet inventories by status |
+| [**getOrderById**](StoreApi.md#getOrderById) | **GET** store/order/{orderId} | Find purchase order by ID |
+| [**placeOrder**](StoreApi.md#placeOrder) | **POST** store/order | Place an order for a pet |
@@ -30,10 +30,9 @@ webService.deleteOrder(orderId)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **kotlin.String**| ID of the order that needs to be deleted |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **orderId** | **kotlin.String**| ID of the order that needs to be deleted | |
### Return type
@@ -102,10 +101,9 @@ val result : Order = webService.getOrderById(orderId)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **kotlin.Long**| ID of pet that needs to be fetched |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **orderId** | **kotlin.Long**| ID of pet that needs to be fetched | |
### Return type
@@ -140,10 +138,9 @@ val result : Order = webService.placeOrder(order)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **order** | [**Order**](Order.md)| order placed for purchasing the pet |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **order** | [**Order**](Order.md)| order placed for purchasing the pet | |
### Return type
diff --git a/samples/client/petstore/kotlin-retrofit2-jackson/docs/Tag.md b/samples/client/petstore/kotlin-retrofit2-jackson/docs/Tag.md
index 60ce1bcdbad3..dc8fa3cb555d 100644
--- a/samples/client/petstore/kotlin-retrofit2-jackson/docs/Tag.md
+++ b/samples/client/petstore/kotlin-retrofit2-jackson/docs/Tag.md
@@ -2,10 +2,10 @@
# Tag
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-retrofit2-jackson/docs/User.md b/samples/client/petstore/kotlin-retrofit2-jackson/docs/User.md
index e801729b5ed1..a9f35788637e 100644
--- a/samples/client/petstore/kotlin-retrofit2-jackson/docs/User.md
+++ b/samples/client/petstore/kotlin-retrofit2-jackson/docs/User.md
@@ -2,16 +2,16 @@
# User
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**username** | **kotlin.String** | | [optional]
-**firstName** | **kotlin.String** | | [optional]
-**lastName** | **kotlin.String** | | [optional]
-**email** | **kotlin.String** | | [optional]
-**password** | **kotlin.String** | | [optional]
-**phone** | **kotlin.String** | | [optional]
-**userStatus** | **kotlin.Int** | User Status | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **username** | **kotlin.String** | | [optional] |
+| **firstName** | **kotlin.String** | | [optional] |
+| **lastName** | **kotlin.String** | | [optional] |
+| **email** | **kotlin.String** | | [optional] |
+| **password** | **kotlin.String** | | [optional] |
+| **phone** | **kotlin.String** | | [optional] |
+| **userStatus** | **kotlin.Int** | User Status | [optional] |
diff --git a/samples/client/petstore/kotlin-retrofit2-jackson/docs/UserApi.md b/samples/client/petstore/kotlin-retrofit2-jackson/docs/UserApi.md
index 0d238432fd61..20a1ac7703b4 100644
--- a/samples/client/petstore/kotlin-retrofit2-jackson/docs/UserApi.md
+++ b/samples/client/petstore/kotlin-retrofit2-jackson/docs/UserApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**createUser**](UserApi.md#createUser) | **POST** user | Create user
-[**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** user/createWithArray | Creates list of users with given input array
-[**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** user/createWithList | Creates list of users with given input array
-[**deleteUser**](UserApi.md#deleteUser) | **DELETE** user/{username} | Delete user
-[**getUserByName**](UserApi.md#getUserByName) | **GET** user/{username} | Get user by user name
-[**loginUser**](UserApi.md#loginUser) | **GET** user/login | Logs user into the system
-[**logoutUser**](UserApi.md#logoutUser) | **GET** user/logout | Logs out current logged in user session
-[**updateUser**](UserApi.md#updateUser) | **PUT** user/{username} | Updated user
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**createUser**](UserApi.md#createUser) | **POST** user | Create user |
+| [**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** user/createWithArray | Creates list of users with given input array |
+| [**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** user/createWithList | Creates list of users with given input array |
+| [**deleteUser**](UserApi.md#deleteUser) | **DELETE** user/{username} | Delete user |
+| [**getUserByName**](UserApi.md#getUserByName) | **GET** user/{username} | Get user by user name |
+| [**loginUser**](UserApi.md#loginUser) | **GET** user/login | Logs user into the system |
+| [**logoutUser**](UserApi.md#logoutUser) | **GET** user/logout | Logs out current logged in user session |
+| [**updateUser**](UserApi.md#updateUser) | **PUT** user/{username} | Updated user |
@@ -34,10 +34,9 @@ webService.createUser(user)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **user** | [**User**](User.md)| Created user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **user** | [**User**](User.md)| Created user object | |
### Return type
@@ -72,10 +71,9 @@ webService.createUsersWithArrayInput(user)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **user** | [**kotlin.collections.List<User>**](User.md)| List of user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **user** | [**kotlin.collections.List<User>**](User.md)| List of user object | |
### Return type
@@ -110,10 +108,9 @@ webService.createUsersWithListInput(user)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **user** | [**kotlin.collections.List<User>**](User.md)| List of user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **user** | [**kotlin.collections.List<User>**](User.md)| List of user object | |
### Return type
@@ -148,10 +145,9 @@ webService.deleteUser(username)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The name that needs to be deleted |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String**| The name that needs to be deleted | |
### Return type
@@ -186,10 +182,9 @@ val result : User = webService.getUserByName(username)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. | |
### Return type
@@ -225,11 +220,10 @@ val result : kotlin.String = webService.loginUser(username, password)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The user name for login |
- **password** | **kotlin.String**| The password for login in clear text |
+| **username** | **kotlin.String**| The user name for login | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **password** | **kotlin.String**| The password for login in clear text | |
### Return type
@@ -299,11 +293,10 @@ webService.updateUser(username, user)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| name that need to be deleted |
- **user** | [**User**](User.md)| Updated user object |
+| **username** | **kotlin.String**| name that need to be deleted | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **user** | [**User**](User.md)| Updated user object | |
### Return type
diff --git a/samples/client/petstore/kotlin-retrofit2-jackson/src/main/kotlin/org/openapitools/client/models/Category.kt b/samples/client/petstore/kotlin-retrofit2-jackson/src/main/kotlin/org/openapitools/client/models/Category.kt
index 2694931cfe77..28571edbcd8a 100644
--- a/samples/client/petstore/kotlin-retrofit2-jackson/src/main/kotlin/org/openapitools/client/models/Category.kt
+++ b/samples/client/petstore/kotlin-retrofit2-jackson/src/main/kotlin/org/openapitools/client/models/Category.kt
@@ -40,5 +40,6 @@ data class Category (
private const val serialVersionUID: Long = 123
}
+
}
diff --git a/samples/client/petstore/kotlin-retrofit2-jackson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt b/samples/client/petstore/kotlin-retrofit2-jackson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
index 1e466ac13e05..21de1ba349ce 100644
--- a/samples/client/petstore/kotlin-retrofit2-jackson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
+++ b/samples/client/petstore/kotlin-retrofit2-jackson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
@@ -44,5 +44,6 @@ data class ModelApiResponse (
private const val serialVersionUID: Long = 123
}
+
}
diff --git a/samples/client/petstore/kotlin-retrofit2-jackson/src/main/kotlin/org/openapitools/client/models/Order.kt b/samples/client/petstore/kotlin-retrofit2-jackson/src/main/kotlin/org/openapitools/client/models/Order.kt
index 5a0e580f52a0..513964005f67 100644
--- a/samples/client/petstore/kotlin-retrofit2-jackson/src/main/kotlin/org/openapitools/client/models/Order.kt
+++ b/samples/client/petstore/kotlin-retrofit2-jackson/src/main/kotlin/org/openapitools/client/models/Order.kt
@@ -67,5 +67,6 @@ data class Order (
@JsonProperty(value = "approved") APPROVED("approved"),
@JsonProperty(value = "delivered") DELIVERED("delivered");
}
+
}
diff --git a/samples/client/petstore/kotlin-retrofit2-jackson/src/main/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/petstore/kotlin-retrofit2-jackson/src/main/kotlin/org/openapitools/client/models/Pet.kt
index 9f765699f1a1..a6727ad1b9a1 100644
--- a/samples/client/petstore/kotlin-retrofit2-jackson/src/main/kotlin/org/openapitools/client/models/Pet.kt
+++ b/samples/client/petstore/kotlin-retrofit2-jackson/src/main/kotlin/org/openapitools/client/models/Pet.kt
@@ -70,5 +70,6 @@ data class Pet (
@JsonProperty(value = "pending") PENDING("pending"),
@JsonProperty(value = "sold") SOLD("sold");
}
+
}
diff --git a/samples/client/petstore/kotlin-retrofit2-jackson/src/main/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/petstore/kotlin-retrofit2-jackson/src/main/kotlin/org/openapitools/client/models/Tag.kt
index edc30f52ae60..acd4ef2b910c 100644
--- a/samples/client/petstore/kotlin-retrofit2-jackson/src/main/kotlin/org/openapitools/client/models/Tag.kt
+++ b/samples/client/petstore/kotlin-retrofit2-jackson/src/main/kotlin/org/openapitools/client/models/Tag.kt
@@ -40,5 +40,6 @@ data class Tag (
private const val serialVersionUID: Long = 123
}
+
}
diff --git a/samples/client/petstore/kotlin-retrofit2-jackson/src/main/kotlin/org/openapitools/client/models/User.kt b/samples/client/petstore/kotlin-retrofit2-jackson/src/main/kotlin/org/openapitools/client/models/User.kt
index c0f8ad5788ed..a40d077360d4 100644
--- a/samples/client/petstore/kotlin-retrofit2-jackson/src/main/kotlin/org/openapitools/client/models/User.kt
+++ b/samples/client/petstore/kotlin-retrofit2-jackson/src/main/kotlin/org/openapitools/client/models/User.kt
@@ -65,5 +65,6 @@ data class User (
private const val serialVersionUID: Long = 123
}
+
}
diff --git a/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/README.md b/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/README.md
index 7a33a54b760e..eea90cd4dc4c 100644
--- a/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/README.md
+++ b/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/README.md
@@ -43,28 +43,28 @@ This runs all tests and packages the library.
All URIs are relative to *http://petstore.swagger.io/v2*
-Class | Method | HTTP request | Description
------------- | ------------- | ------------- | -------------
-*PetApi* | [**addPet**](docs/PetApi.md#addpet) | **POST** pet | Add a new pet to the store
-*PetApi* | [**deletePet**](docs/PetApi.md#deletepet) | **DELETE** pet/{petId} | Deletes a pet
-*PetApi* | [**findPetsByStatus**](docs/PetApi.md#findpetsbystatus) | **GET** pet/findByStatus | Finds Pets by status
-*PetApi* | [**findPetsByTags**](docs/PetApi.md#findpetsbytags) | **GET** pet/findByTags | Finds Pets by tags
-*PetApi* | [**getPetById**](docs/PetApi.md#getpetbyid) | **GET** pet/{petId} | Find pet by ID
-*PetApi* | [**updatePet**](docs/PetApi.md#updatepet) | **PUT** pet | Update an existing pet
-*PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatepetwithform) | **POST** pet/{petId} | Updates a pet in the store with form data
-*PetApi* | [**uploadFile**](docs/PetApi.md#uploadfile) | **POST** pet/{petId}/uploadImage | uploads an image
-*StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteorder) | **DELETE** store/order/{orderId} | Delete purchase order by ID
-*StoreApi* | [**getInventory**](docs/StoreApi.md#getinventory) | **GET** store/inventory | Returns pet inventories by status
-*StoreApi* | [**getOrderById**](docs/StoreApi.md#getorderbyid) | **GET** store/order/{orderId} | Find purchase order by ID
-*StoreApi* | [**placeOrder**](docs/StoreApi.md#placeorder) | **POST** store/order | Place an order for a pet
-*UserApi* | [**createUser**](docs/UserApi.md#createuser) | **POST** user | Create user
-*UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createuserswitharrayinput) | **POST** user/createWithArray | Creates list of users with given input array
-*UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createuserswithlistinput) | **POST** user/createWithList | Creates list of users with given input array
-*UserApi* | [**deleteUser**](docs/UserApi.md#deleteuser) | **DELETE** user/{username} | Delete user
-*UserApi* | [**getUserByName**](docs/UserApi.md#getuserbyname) | **GET** user/{username} | Get user by user name
-*UserApi* | [**loginUser**](docs/UserApi.md#loginuser) | **GET** user/login | Logs user into the system
-*UserApi* | [**logoutUser**](docs/UserApi.md#logoutuser) | **GET** user/logout | Logs out current logged in user session
-*UserApi* | [**updateUser**](docs/UserApi.md#updateuser) | **PUT** user/{username} | Updated user
+| Class | Method | HTTP request | Description |
+| ------------ | ------------- | ------------- | ------------- |
+| *PetApi* | [**addPet**](docs/PetApi.md#addpet) | **POST** pet | Add a new pet to the store |
+| *PetApi* | [**deletePet**](docs/PetApi.md#deletepet) | **DELETE** pet/{petId} | Deletes a pet |
+| *PetApi* | [**findPetsByStatus**](docs/PetApi.md#findpetsbystatus) | **GET** pet/findByStatus | Finds Pets by status |
+| *PetApi* | [**findPetsByTags**](docs/PetApi.md#findpetsbytags) | **GET** pet/findByTags | Finds Pets by tags |
+| *PetApi* | [**getPetById**](docs/PetApi.md#getpetbyid) | **GET** pet/{petId} | Find pet by ID |
+| *PetApi* | [**updatePet**](docs/PetApi.md#updatepet) | **PUT** pet | Update an existing pet |
+| *PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatepetwithform) | **POST** pet/{petId} | Updates a pet in the store with form data |
+| *PetApi* | [**uploadFile**](docs/PetApi.md#uploadfile) | **POST** pet/{petId}/uploadImage | uploads an image |
+| *StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteorder) | **DELETE** store/order/{orderId} | Delete purchase order by ID |
+| *StoreApi* | [**getInventory**](docs/StoreApi.md#getinventory) | **GET** store/inventory | Returns pet inventories by status |
+| *StoreApi* | [**getOrderById**](docs/StoreApi.md#getorderbyid) | **GET** store/order/{orderId} | Find purchase order by ID |
+| *StoreApi* | [**placeOrder**](docs/StoreApi.md#placeorder) | **POST** store/order | Place an order for a pet |
+| *UserApi* | [**createUser**](docs/UserApi.md#createuser) | **POST** user | Create user |
+| *UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createuserswitharrayinput) | **POST** user/createWithArray | Creates list of users with given input array |
+| *UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createuserswithlistinput) | **POST** user/createWithList | Creates list of users with given input array |
+| *UserApi* | [**deleteUser**](docs/UserApi.md#deleteuser) | **DELETE** user/{username} | Delete user |
+| *UserApi* | [**getUserByName**](docs/UserApi.md#getuserbyname) | **GET** user/{username} | Get user by user name |
+| *UserApi* | [**loginUser**](docs/UserApi.md#loginuser) | **GET** user/login | Logs user into the system |
+| *UserApi* | [**logoutUser**](docs/UserApi.md#logoutuser) | **GET** user/logout | Logs out current logged in user session |
+| *UserApi* | [**updateUser**](docs/UserApi.md#updateuser) | **PUT** user/{username} | Updated user |
diff --git a/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/docs/ApiResponse.md b/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/docs/ApiResponse.md
index 12f08d5cdef0..059525a99512 100644
--- a/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/docs/ApiResponse.md
+++ b/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/docs/ApiResponse.md
@@ -2,11 +2,11 @@
# ModelApiResponse
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**code** | **kotlin.Int** | | [optional]
-**type** | **kotlin.String** | | [optional]
-**message** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **code** | **kotlin.Int** | | [optional] |
+| **type** | **kotlin.String** | | [optional] |
+| **message** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/docs/Category.md b/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/docs/Category.md
index 2c28a670fc79..baba5657eb21 100644
--- a/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/docs/Category.md
+++ b/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/docs/Category.md
@@ -2,10 +2,10 @@
# Category
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/docs/Order.md b/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/docs/Order.md
index c0c951b22d33..7b7a399f7f75 100644
--- a/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/docs/Order.md
+++ b/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/docs/Order.md
@@ -2,21 +2,21 @@
# Order
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**petId** | **kotlin.Long** | | [optional]
-**quantity** | **kotlin.Int** | | [optional]
-**shipDate** | [**java.time.OffsetDateTime**](java.time.OffsetDateTime.md) | | [optional]
-**status** | [**inline**](#Status) | Order Status | [optional]
-**complete** | **kotlin.Boolean** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **petId** | **kotlin.Long** | | [optional] |
+| **quantity** | **kotlin.Int** | | [optional] |
+| **shipDate** | [**java.time.OffsetDateTime**](java.time.OffsetDateTime.md) | | [optional] |
+| **status** | [**inline**](#Status) | Order Status | [optional] |
+| **complete** | **kotlin.Boolean** | | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | placed, approved, delivered
+| Name | Value |
+| ---- | ----- |
+| status | placed, approved, delivered |
diff --git a/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/docs/Pet.md b/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/docs/Pet.md
index da70fca06e65..287312efaf94 100644
--- a/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/docs/Pet.md
+++ b/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/docs/Pet.md
@@ -2,21 +2,21 @@
# Pet
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**name** | **kotlin.String** | |
-**photoUrls** | **kotlin.collections.List<kotlin.String>** | |
-**id** | **kotlin.Long** | | [optional]
-**category** | [**Category**](Category.md) | | [optional]
-**tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional]
-**status** | [**inline**](#Status) | pet status in the store | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **name** | **kotlin.String** | | |
+| **photoUrls** | **kotlin.collections.List<kotlin.String>** | | |
+| **id** | **kotlin.Long** | | [optional] |
+| **category** | [**Category**](Category.md) | | [optional] |
+| **tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional] |
+| **status** | [**inline**](#Status) | pet status in the store | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | available, pending, sold
+| Name | Value |
+| ---- | ----- |
+| status | available, pending, sold |
diff --git a/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/docs/PetApi.md b/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/docs/PetApi.md
index 3997c8cf3904..7325e9a54129 100644
--- a/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/docs/PetApi.md
+++ b/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/docs/PetApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**addPet**](PetApi.md#addPet) | **POST** pet | Add a new pet to the store
-[**deletePet**](PetApi.md#deletePet) | **DELETE** pet/{petId} | Deletes a pet
-[**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** pet/findByStatus | Finds Pets by status
-[**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** pet/findByTags | Finds Pets by tags
-[**getPetById**](PetApi.md#getPetById) | **GET** pet/{petId} | Find pet by ID
-[**updatePet**](PetApi.md#updatePet) | **PUT** pet | Update an existing pet
-[**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** pet/{petId} | Updates a pet in the store with form data
-[**uploadFile**](PetApi.md#uploadFile) | **POST** pet/{petId}/uploadImage | uploads an image
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**addPet**](PetApi.md#addPet) | **POST** pet | Add a new pet to the store |
+| [**deletePet**](PetApi.md#deletePet) | **DELETE** pet/{petId} | Deletes a pet |
+| [**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** pet/findByStatus | Finds Pets by status |
+| [**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** pet/findByTags | Finds Pets by tags |
+| [**getPetById**](PetApi.md#getPetById) | **GET** pet/{petId} | Find pet by ID |
+| [**updatePet**](PetApi.md#updatePet) | **PUT** pet | Update an existing pet |
+| [**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** pet/{petId} | Updates a pet in the store with form data |
+| [**uploadFile**](PetApi.md#uploadFile) | **POST** pet/{petId}/uploadImage | uploads an image |
@@ -32,10 +32,9 @@ webService.addPet(body)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -69,11 +68,10 @@ webService.deletePet(petId, apiKey)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| Pet id to delete |
- **apiKey** | **kotlin.String**| | [optional]
+| **petId** | **kotlin.Long**| Pet id to delete | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **apiKey** | **kotlin.String**| | [optional] |
### Return type
@@ -108,10 +106,9 @@ val result : kotlin.collections.List = webService.findPetsByStatus(status)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **status** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [enum: available, pending, sold]
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **status** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [enum: available, pending, sold] |
### Return type
@@ -146,10 +143,9 @@ val result : kotlin.collections.List = webService.findPetsByTags(tags)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **tags** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Tags to filter by |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **tags** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Tags to filter by | |
### Return type
@@ -184,10 +180,9 @@ val result : Pet = webService.getPetById(petId)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet to return |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **petId** | **kotlin.Long**| ID of pet to return | |
### Return type
@@ -220,10 +215,9 @@ webService.updatePet(body)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -258,12 +252,11 @@ webService.updatePetWithForm(petId, name, status)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet that needs to be updated |
- **name** | **kotlin.String**| Updated name of the pet | [optional]
- **status** | **kotlin.String**| Updated status of the pet | [optional]
+| **petId** | **kotlin.Long**| ID of pet that needs to be updated | |
+| **name** | **kotlin.String**| Updated name of the pet | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **status** | **kotlin.String**| Updated status of the pet | [optional] |
### Return type
@@ -298,12 +291,11 @@ val result : ModelApiResponse = webService.uploadFile(petId, additionalMetadata,
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet to update |
- **additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional]
- **file** | **java.io.File**| file to upload | [optional]
+| **petId** | **kotlin.Long**| ID of pet to update | |
+| **additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **file** | **java.io.File**| file to upload | [optional] |
### Return type
diff --git a/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/docs/StoreApi.md b/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/docs/StoreApi.md
index 78688cd5f19a..18640563db31 100644
--- a/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/docs/StoreApi.md
+++ b/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/docs/StoreApi.md
@@ -2,12 +2,12 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** store/order/{orderId} | Delete purchase order by ID
-[**getInventory**](StoreApi.md#getInventory) | **GET** store/inventory | Returns pet inventories by status
-[**getOrderById**](StoreApi.md#getOrderById) | **GET** store/order/{orderId} | Find purchase order by ID
-[**placeOrder**](StoreApi.md#placeOrder) | **POST** store/order | Place an order for a pet
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** store/order/{orderId} | Delete purchase order by ID |
+| [**getInventory**](StoreApi.md#getInventory) | **GET** store/inventory | Returns pet inventories by status |
+| [**getOrderById**](StoreApi.md#getOrderById) | **GET** store/order/{orderId} | Find purchase order by ID |
+| [**placeOrder**](StoreApi.md#placeOrder) | **POST** store/order | Place an order for a pet |
@@ -30,10 +30,9 @@ webService.deleteOrder(orderId)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **kotlin.String**| ID of the order that needs to be deleted |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **orderId** | **kotlin.String**| ID of the order that needs to be deleted | |
### Return type
@@ -102,10 +101,9 @@ val result : Order = webService.getOrderById(orderId)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **kotlin.Long**| ID of pet that needs to be fetched |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **orderId** | **kotlin.Long**| ID of pet that needs to be fetched | |
### Return type
@@ -138,10 +136,9 @@ val result : Order = webService.placeOrder(body)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**Order**](Order.md)| order placed for purchasing the pet |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**Order**](Order.md)| order placed for purchasing the pet | |
### Return type
diff --git a/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/docs/Tag.md b/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/docs/Tag.md
index 60ce1bcdbad3..dc8fa3cb555d 100644
--- a/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/docs/Tag.md
+++ b/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/docs/Tag.md
@@ -2,10 +2,10 @@
# Tag
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/docs/User.md b/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/docs/User.md
index e801729b5ed1..a9f35788637e 100644
--- a/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/docs/User.md
+++ b/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/docs/User.md
@@ -2,16 +2,16 @@
# User
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**username** | **kotlin.String** | | [optional]
-**firstName** | **kotlin.String** | | [optional]
-**lastName** | **kotlin.String** | | [optional]
-**email** | **kotlin.String** | | [optional]
-**password** | **kotlin.String** | | [optional]
-**phone** | **kotlin.String** | | [optional]
-**userStatus** | **kotlin.Int** | User Status | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **username** | **kotlin.String** | | [optional] |
+| **firstName** | **kotlin.String** | | [optional] |
+| **lastName** | **kotlin.String** | | [optional] |
+| **email** | **kotlin.String** | | [optional] |
+| **password** | **kotlin.String** | | [optional] |
+| **phone** | **kotlin.String** | | [optional] |
+| **userStatus** | **kotlin.Int** | User Status | [optional] |
diff --git a/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/docs/UserApi.md b/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/docs/UserApi.md
index 6d27b5096f64..ccd41ae2a462 100644
--- a/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/docs/UserApi.md
+++ b/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/docs/UserApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**createUser**](UserApi.md#createUser) | **POST** user | Create user
-[**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** user/createWithArray | Creates list of users with given input array
-[**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** user/createWithList | Creates list of users with given input array
-[**deleteUser**](UserApi.md#deleteUser) | **DELETE** user/{username} | Delete user
-[**getUserByName**](UserApi.md#getUserByName) | **GET** user/{username} | Get user by user name
-[**loginUser**](UserApi.md#loginUser) | **GET** user/login | Logs user into the system
-[**logoutUser**](UserApi.md#logoutUser) | **GET** user/logout | Logs out current logged in user session
-[**updateUser**](UserApi.md#updateUser) | **PUT** user/{username} | Updated user
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**createUser**](UserApi.md#createUser) | **POST** user | Create user |
+| [**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** user/createWithArray | Creates list of users with given input array |
+| [**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** user/createWithList | Creates list of users with given input array |
+| [**deleteUser**](UserApi.md#deleteUser) | **DELETE** user/{username} | Delete user |
+| [**getUserByName**](UserApi.md#getUserByName) | **GET** user/{username} | Get user by user name |
+| [**loginUser**](UserApi.md#loginUser) | **GET** user/login | Logs user into the system |
+| [**logoutUser**](UserApi.md#logoutUser) | **GET** user/logout | Logs out current logged in user session |
+| [**updateUser**](UserApi.md#updateUser) | **PUT** user/{username} | Updated user |
@@ -34,10 +34,9 @@ webService.createUser(body)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**User**](User.md)| Created user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**User**](User.md)| Created user object | |
### Return type
@@ -70,10 +69,9 @@ webService.createUsersWithArrayInput(body)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**kotlin.collections.List<User>**](User.md)| List of user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**kotlin.collections.List<User>**](User.md)| List of user object | |
### Return type
@@ -106,10 +104,9 @@ webService.createUsersWithListInput(body)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**kotlin.collections.List<User>**](User.md)| List of user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**kotlin.collections.List<User>**](User.md)| List of user object | |
### Return type
@@ -144,10 +141,9 @@ webService.deleteUser(username)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The name that needs to be deleted |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String**| The name that needs to be deleted | |
### Return type
@@ -180,10 +176,9 @@ val result : User = webService.getUserByName(username)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. | |
### Return type
@@ -217,11 +212,10 @@ val result : kotlin.String = webService.loginUser(username, password)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The user name for login |
- **password** | **kotlin.String**| The password for login in clear text |
+| **username** | **kotlin.String**| The user name for login | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **password** | **kotlin.String**| The password for login in clear text | |
### Return type
@@ -289,11 +283,10 @@ webService.updateUser(username, body)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| name that need to be deleted |
- **body** | [**User**](User.md)| Updated user object |
+| **username** | **kotlin.String**| name that need to be deleted | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**User**](User.md)| Updated user object | |
### Return type
diff --git a/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Category.kt b/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Category.kt
index 8679742a9c00..ff6bdfb61ad5 100644
--- a/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Category.kt
+++ b/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Category.kt
@@ -42,5 +42,6 @@ data class Category (
private const val serialVersionUID: Long = 123
}
+
}
diff --git a/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt b/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
index e2eb431d0055..f262e9a7e03c 100644
--- a/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
+++ b/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
@@ -46,5 +46,6 @@ data class ModelApiResponse (
private const val serialVersionUID: Long = 123
}
+
}
diff --git a/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Order.kt b/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Order.kt
index fe9a56759340..774a303b3dd0 100644
--- a/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Order.kt
+++ b/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Order.kt
@@ -70,5 +70,6 @@ data class Order (
@SerialName(value = "approved") APPROVED("approved"),
@SerialName(value = "delivered") DELIVERED("delivered");
}
+
}
diff --git a/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Pet.kt
index 5a6276ac25f4..bb4c31e2c963 100644
--- a/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Pet.kt
+++ b/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Pet.kt
@@ -72,5 +72,6 @@ data class Pet (
@SerialName(value = "pending") PENDING("pending"),
@SerialName(value = "sold") SOLD("sold");
}
+
}
diff --git a/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Tag.kt
index c88920f6fd6b..1f533975b2b9 100644
--- a/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Tag.kt
+++ b/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Tag.kt
@@ -42,5 +42,6 @@ data class Tag (
private const val serialVersionUID: Long = 123
}
+
}
diff --git a/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/User.kt b/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/User.kt
index e9798c88637f..f803bc7ff69d 100644
--- a/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/User.kt
+++ b/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/User.kt
@@ -67,5 +67,6 @@ data class User (
private const val serialVersionUID: Long = 123
}
+
}
diff --git a/samples/client/petstore/kotlin-retrofit2-rx3/README.md b/samples/client/petstore/kotlin-retrofit2-rx3/README.md
index 7a33a54b760e..eea90cd4dc4c 100644
--- a/samples/client/petstore/kotlin-retrofit2-rx3/README.md
+++ b/samples/client/petstore/kotlin-retrofit2-rx3/README.md
@@ -43,28 +43,28 @@ This runs all tests and packages the library.
All URIs are relative to *http://petstore.swagger.io/v2*
-Class | Method | HTTP request | Description
------------- | ------------- | ------------- | -------------
-*PetApi* | [**addPet**](docs/PetApi.md#addpet) | **POST** pet | Add a new pet to the store
-*PetApi* | [**deletePet**](docs/PetApi.md#deletepet) | **DELETE** pet/{petId} | Deletes a pet
-*PetApi* | [**findPetsByStatus**](docs/PetApi.md#findpetsbystatus) | **GET** pet/findByStatus | Finds Pets by status
-*PetApi* | [**findPetsByTags**](docs/PetApi.md#findpetsbytags) | **GET** pet/findByTags | Finds Pets by tags
-*PetApi* | [**getPetById**](docs/PetApi.md#getpetbyid) | **GET** pet/{petId} | Find pet by ID
-*PetApi* | [**updatePet**](docs/PetApi.md#updatepet) | **PUT** pet | Update an existing pet
-*PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatepetwithform) | **POST** pet/{petId} | Updates a pet in the store with form data
-*PetApi* | [**uploadFile**](docs/PetApi.md#uploadfile) | **POST** pet/{petId}/uploadImage | uploads an image
-*StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteorder) | **DELETE** store/order/{orderId} | Delete purchase order by ID
-*StoreApi* | [**getInventory**](docs/StoreApi.md#getinventory) | **GET** store/inventory | Returns pet inventories by status
-*StoreApi* | [**getOrderById**](docs/StoreApi.md#getorderbyid) | **GET** store/order/{orderId} | Find purchase order by ID
-*StoreApi* | [**placeOrder**](docs/StoreApi.md#placeorder) | **POST** store/order | Place an order for a pet
-*UserApi* | [**createUser**](docs/UserApi.md#createuser) | **POST** user | Create user
-*UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createuserswitharrayinput) | **POST** user/createWithArray | Creates list of users with given input array
-*UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createuserswithlistinput) | **POST** user/createWithList | Creates list of users with given input array
-*UserApi* | [**deleteUser**](docs/UserApi.md#deleteuser) | **DELETE** user/{username} | Delete user
-*UserApi* | [**getUserByName**](docs/UserApi.md#getuserbyname) | **GET** user/{username} | Get user by user name
-*UserApi* | [**loginUser**](docs/UserApi.md#loginuser) | **GET** user/login | Logs user into the system
-*UserApi* | [**logoutUser**](docs/UserApi.md#logoutuser) | **GET** user/logout | Logs out current logged in user session
-*UserApi* | [**updateUser**](docs/UserApi.md#updateuser) | **PUT** user/{username} | Updated user
+| Class | Method | HTTP request | Description |
+| ------------ | ------------- | ------------- | ------------- |
+| *PetApi* | [**addPet**](docs/PetApi.md#addpet) | **POST** pet | Add a new pet to the store |
+| *PetApi* | [**deletePet**](docs/PetApi.md#deletepet) | **DELETE** pet/{petId} | Deletes a pet |
+| *PetApi* | [**findPetsByStatus**](docs/PetApi.md#findpetsbystatus) | **GET** pet/findByStatus | Finds Pets by status |
+| *PetApi* | [**findPetsByTags**](docs/PetApi.md#findpetsbytags) | **GET** pet/findByTags | Finds Pets by tags |
+| *PetApi* | [**getPetById**](docs/PetApi.md#getpetbyid) | **GET** pet/{petId} | Find pet by ID |
+| *PetApi* | [**updatePet**](docs/PetApi.md#updatepet) | **PUT** pet | Update an existing pet |
+| *PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatepetwithform) | **POST** pet/{petId} | Updates a pet in the store with form data |
+| *PetApi* | [**uploadFile**](docs/PetApi.md#uploadfile) | **POST** pet/{petId}/uploadImage | uploads an image |
+| *StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteorder) | **DELETE** store/order/{orderId} | Delete purchase order by ID |
+| *StoreApi* | [**getInventory**](docs/StoreApi.md#getinventory) | **GET** store/inventory | Returns pet inventories by status |
+| *StoreApi* | [**getOrderById**](docs/StoreApi.md#getorderbyid) | **GET** store/order/{orderId} | Find purchase order by ID |
+| *StoreApi* | [**placeOrder**](docs/StoreApi.md#placeorder) | **POST** store/order | Place an order for a pet |
+| *UserApi* | [**createUser**](docs/UserApi.md#createuser) | **POST** user | Create user |
+| *UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createuserswitharrayinput) | **POST** user/createWithArray | Creates list of users with given input array |
+| *UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createuserswithlistinput) | **POST** user/createWithList | Creates list of users with given input array |
+| *UserApi* | [**deleteUser**](docs/UserApi.md#deleteuser) | **DELETE** user/{username} | Delete user |
+| *UserApi* | [**getUserByName**](docs/UserApi.md#getuserbyname) | **GET** user/{username} | Get user by user name |
+| *UserApi* | [**loginUser**](docs/UserApi.md#loginuser) | **GET** user/login | Logs user into the system |
+| *UserApi* | [**logoutUser**](docs/UserApi.md#logoutuser) | **GET** user/logout | Logs out current logged in user session |
+| *UserApi* | [**updateUser**](docs/UserApi.md#updateuser) | **PUT** user/{username} | Updated user |
diff --git a/samples/client/petstore/kotlin-retrofit2-rx3/docs/ApiResponse.md b/samples/client/petstore/kotlin-retrofit2-rx3/docs/ApiResponse.md
index 12f08d5cdef0..059525a99512 100644
--- a/samples/client/petstore/kotlin-retrofit2-rx3/docs/ApiResponse.md
+++ b/samples/client/petstore/kotlin-retrofit2-rx3/docs/ApiResponse.md
@@ -2,11 +2,11 @@
# ModelApiResponse
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**code** | **kotlin.Int** | | [optional]
-**type** | **kotlin.String** | | [optional]
-**message** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **code** | **kotlin.Int** | | [optional] |
+| **type** | **kotlin.String** | | [optional] |
+| **message** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-retrofit2-rx3/docs/Category.md b/samples/client/petstore/kotlin-retrofit2-rx3/docs/Category.md
index 2c28a670fc79..baba5657eb21 100644
--- a/samples/client/petstore/kotlin-retrofit2-rx3/docs/Category.md
+++ b/samples/client/petstore/kotlin-retrofit2-rx3/docs/Category.md
@@ -2,10 +2,10 @@
# Category
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-retrofit2-rx3/docs/Order.md b/samples/client/petstore/kotlin-retrofit2-rx3/docs/Order.md
index c0c951b22d33..7b7a399f7f75 100644
--- a/samples/client/petstore/kotlin-retrofit2-rx3/docs/Order.md
+++ b/samples/client/petstore/kotlin-retrofit2-rx3/docs/Order.md
@@ -2,21 +2,21 @@
# Order
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**petId** | **kotlin.Long** | | [optional]
-**quantity** | **kotlin.Int** | | [optional]
-**shipDate** | [**java.time.OffsetDateTime**](java.time.OffsetDateTime.md) | | [optional]
-**status** | [**inline**](#Status) | Order Status | [optional]
-**complete** | **kotlin.Boolean** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **petId** | **kotlin.Long** | | [optional] |
+| **quantity** | **kotlin.Int** | | [optional] |
+| **shipDate** | [**java.time.OffsetDateTime**](java.time.OffsetDateTime.md) | | [optional] |
+| **status** | [**inline**](#Status) | Order Status | [optional] |
+| **complete** | **kotlin.Boolean** | | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | placed, approved, delivered
+| Name | Value |
+| ---- | ----- |
+| status | placed, approved, delivered |
diff --git a/samples/client/petstore/kotlin-retrofit2-rx3/docs/Pet.md b/samples/client/petstore/kotlin-retrofit2-rx3/docs/Pet.md
index da70fca06e65..287312efaf94 100644
--- a/samples/client/petstore/kotlin-retrofit2-rx3/docs/Pet.md
+++ b/samples/client/petstore/kotlin-retrofit2-rx3/docs/Pet.md
@@ -2,21 +2,21 @@
# Pet
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**name** | **kotlin.String** | |
-**photoUrls** | **kotlin.collections.List<kotlin.String>** | |
-**id** | **kotlin.Long** | | [optional]
-**category** | [**Category**](Category.md) | | [optional]
-**tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional]
-**status** | [**inline**](#Status) | pet status in the store | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **name** | **kotlin.String** | | |
+| **photoUrls** | **kotlin.collections.List<kotlin.String>** | | |
+| **id** | **kotlin.Long** | | [optional] |
+| **category** | [**Category**](Category.md) | | [optional] |
+| **tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional] |
+| **status** | [**inline**](#Status) | pet status in the store | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | available, pending, sold
+| Name | Value |
+| ---- | ----- |
+| status | available, pending, sold |
diff --git a/samples/client/petstore/kotlin-retrofit2-rx3/docs/PetApi.md b/samples/client/petstore/kotlin-retrofit2-rx3/docs/PetApi.md
index 3997c8cf3904..7325e9a54129 100644
--- a/samples/client/petstore/kotlin-retrofit2-rx3/docs/PetApi.md
+++ b/samples/client/petstore/kotlin-retrofit2-rx3/docs/PetApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**addPet**](PetApi.md#addPet) | **POST** pet | Add a new pet to the store
-[**deletePet**](PetApi.md#deletePet) | **DELETE** pet/{petId} | Deletes a pet
-[**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** pet/findByStatus | Finds Pets by status
-[**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** pet/findByTags | Finds Pets by tags
-[**getPetById**](PetApi.md#getPetById) | **GET** pet/{petId} | Find pet by ID
-[**updatePet**](PetApi.md#updatePet) | **PUT** pet | Update an existing pet
-[**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** pet/{petId} | Updates a pet in the store with form data
-[**uploadFile**](PetApi.md#uploadFile) | **POST** pet/{petId}/uploadImage | uploads an image
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**addPet**](PetApi.md#addPet) | **POST** pet | Add a new pet to the store |
+| [**deletePet**](PetApi.md#deletePet) | **DELETE** pet/{petId} | Deletes a pet |
+| [**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** pet/findByStatus | Finds Pets by status |
+| [**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** pet/findByTags | Finds Pets by tags |
+| [**getPetById**](PetApi.md#getPetById) | **GET** pet/{petId} | Find pet by ID |
+| [**updatePet**](PetApi.md#updatePet) | **PUT** pet | Update an existing pet |
+| [**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** pet/{petId} | Updates a pet in the store with form data |
+| [**uploadFile**](PetApi.md#uploadFile) | **POST** pet/{petId}/uploadImage | uploads an image |
@@ -32,10 +32,9 @@ webService.addPet(body)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -69,11 +68,10 @@ webService.deletePet(petId, apiKey)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| Pet id to delete |
- **apiKey** | **kotlin.String**| | [optional]
+| **petId** | **kotlin.Long**| Pet id to delete | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **apiKey** | **kotlin.String**| | [optional] |
### Return type
@@ -108,10 +106,9 @@ val result : kotlin.collections.List = webService.findPetsByStatus(status)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **status** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [enum: available, pending, sold]
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **status** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [enum: available, pending, sold] |
### Return type
@@ -146,10 +143,9 @@ val result : kotlin.collections.List = webService.findPetsByTags(tags)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **tags** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Tags to filter by |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **tags** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Tags to filter by | |
### Return type
@@ -184,10 +180,9 @@ val result : Pet = webService.getPetById(petId)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet to return |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **petId** | **kotlin.Long**| ID of pet to return | |
### Return type
@@ -220,10 +215,9 @@ webService.updatePet(body)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -258,12 +252,11 @@ webService.updatePetWithForm(petId, name, status)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet that needs to be updated |
- **name** | **kotlin.String**| Updated name of the pet | [optional]
- **status** | **kotlin.String**| Updated status of the pet | [optional]
+| **petId** | **kotlin.Long**| ID of pet that needs to be updated | |
+| **name** | **kotlin.String**| Updated name of the pet | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **status** | **kotlin.String**| Updated status of the pet | [optional] |
### Return type
@@ -298,12 +291,11 @@ val result : ModelApiResponse = webService.uploadFile(petId, additionalMetadata,
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet to update |
- **additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional]
- **file** | **java.io.File**| file to upload | [optional]
+| **petId** | **kotlin.Long**| ID of pet to update | |
+| **additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **file** | **java.io.File**| file to upload | [optional] |
### Return type
diff --git a/samples/client/petstore/kotlin-retrofit2-rx3/docs/StoreApi.md b/samples/client/petstore/kotlin-retrofit2-rx3/docs/StoreApi.md
index 78688cd5f19a..18640563db31 100644
--- a/samples/client/petstore/kotlin-retrofit2-rx3/docs/StoreApi.md
+++ b/samples/client/petstore/kotlin-retrofit2-rx3/docs/StoreApi.md
@@ -2,12 +2,12 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** store/order/{orderId} | Delete purchase order by ID
-[**getInventory**](StoreApi.md#getInventory) | **GET** store/inventory | Returns pet inventories by status
-[**getOrderById**](StoreApi.md#getOrderById) | **GET** store/order/{orderId} | Find purchase order by ID
-[**placeOrder**](StoreApi.md#placeOrder) | **POST** store/order | Place an order for a pet
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** store/order/{orderId} | Delete purchase order by ID |
+| [**getInventory**](StoreApi.md#getInventory) | **GET** store/inventory | Returns pet inventories by status |
+| [**getOrderById**](StoreApi.md#getOrderById) | **GET** store/order/{orderId} | Find purchase order by ID |
+| [**placeOrder**](StoreApi.md#placeOrder) | **POST** store/order | Place an order for a pet |
@@ -30,10 +30,9 @@ webService.deleteOrder(orderId)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **kotlin.String**| ID of the order that needs to be deleted |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **orderId** | **kotlin.String**| ID of the order that needs to be deleted | |
### Return type
@@ -102,10 +101,9 @@ val result : Order = webService.getOrderById(orderId)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **kotlin.Long**| ID of pet that needs to be fetched |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **orderId** | **kotlin.Long**| ID of pet that needs to be fetched | |
### Return type
@@ -138,10 +136,9 @@ val result : Order = webService.placeOrder(body)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**Order**](Order.md)| order placed for purchasing the pet |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**Order**](Order.md)| order placed for purchasing the pet | |
### Return type
diff --git a/samples/client/petstore/kotlin-retrofit2-rx3/docs/Tag.md b/samples/client/petstore/kotlin-retrofit2-rx3/docs/Tag.md
index 60ce1bcdbad3..dc8fa3cb555d 100644
--- a/samples/client/petstore/kotlin-retrofit2-rx3/docs/Tag.md
+++ b/samples/client/petstore/kotlin-retrofit2-rx3/docs/Tag.md
@@ -2,10 +2,10 @@
# Tag
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-retrofit2-rx3/docs/User.md b/samples/client/petstore/kotlin-retrofit2-rx3/docs/User.md
index e801729b5ed1..a9f35788637e 100644
--- a/samples/client/petstore/kotlin-retrofit2-rx3/docs/User.md
+++ b/samples/client/petstore/kotlin-retrofit2-rx3/docs/User.md
@@ -2,16 +2,16 @@
# User
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**username** | **kotlin.String** | | [optional]
-**firstName** | **kotlin.String** | | [optional]
-**lastName** | **kotlin.String** | | [optional]
-**email** | **kotlin.String** | | [optional]
-**password** | **kotlin.String** | | [optional]
-**phone** | **kotlin.String** | | [optional]
-**userStatus** | **kotlin.Int** | User Status | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **username** | **kotlin.String** | | [optional] |
+| **firstName** | **kotlin.String** | | [optional] |
+| **lastName** | **kotlin.String** | | [optional] |
+| **email** | **kotlin.String** | | [optional] |
+| **password** | **kotlin.String** | | [optional] |
+| **phone** | **kotlin.String** | | [optional] |
+| **userStatus** | **kotlin.Int** | User Status | [optional] |
diff --git a/samples/client/petstore/kotlin-retrofit2-rx3/docs/UserApi.md b/samples/client/petstore/kotlin-retrofit2-rx3/docs/UserApi.md
index 6d27b5096f64..ccd41ae2a462 100644
--- a/samples/client/petstore/kotlin-retrofit2-rx3/docs/UserApi.md
+++ b/samples/client/petstore/kotlin-retrofit2-rx3/docs/UserApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**createUser**](UserApi.md#createUser) | **POST** user | Create user
-[**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** user/createWithArray | Creates list of users with given input array
-[**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** user/createWithList | Creates list of users with given input array
-[**deleteUser**](UserApi.md#deleteUser) | **DELETE** user/{username} | Delete user
-[**getUserByName**](UserApi.md#getUserByName) | **GET** user/{username} | Get user by user name
-[**loginUser**](UserApi.md#loginUser) | **GET** user/login | Logs user into the system
-[**logoutUser**](UserApi.md#logoutUser) | **GET** user/logout | Logs out current logged in user session
-[**updateUser**](UserApi.md#updateUser) | **PUT** user/{username} | Updated user
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**createUser**](UserApi.md#createUser) | **POST** user | Create user |
+| [**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** user/createWithArray | Creates list of users with given input array |
+| [**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** user/createWithList | Creates list of users with given input array |
+| [**deleteUser**](UserApi.md#deleteUser) | **DELETE** user/{username} | Delete user |
+| [**getUserByName**](UserApi.md#getUserByName) | **GET** user/{username} | Get user by user name |
+| [**loginUser**](UserApi.md#loginUser) | **GET** user/login | Logs user into the system |
+| [**logoutUser**](UserApi.md#logoutUser) | **GET** user/logout | Logs out current logged in user session |
+| [**updateUser**](UserApi.md#updateUser) | **PUT** user/{username} | Updated user |
@@ -34,10 +34,9 @@ webService.createUser(body)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**User**](User.md)| Created user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**User**](User.md)| Created user object | |
### Return type
@@ -70,10 +69,9 @@ webService.createUsersWithArrayInput(body)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**kotlin.collections.List<User>**](User.md)| List of user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**kotlin.collections.List<User>**](User.md)| List of user object | |
### Return type
@@ -106,10 +104,9 @@ webService.createUsersWithListInput(body)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**kotlin.collections.List<User>**](User.md)| List of user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**kotlin.collections.List<User>**](User.md)| List of user object | |
### Return type
@@ -144,10 +141,9 @@ webService.deleteUser(username)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The name that needs to be deleted |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String**| The name that needs to be deleted | |
### Return type
@@ -180,10 +176,9 @@ val result : User = webService.getUserByName(username)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. | |
### Return type
@@ -217,11 +212,10 @@ val result : kotlin.String = webService.loginUser(username, password)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The user name for login |
- **password** | **kotlin.String**| The password for login in clear text |
+| **username** | **kotlin.String**| The user name for login | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **password** | **kotlin.String**| The password for login in clear text | |
### Return type
@@ -289,11 +283,10 @@ webService.updateUser(username, body)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| name that need to be deleted |
- **body** | [**User**](User.md)| Updated user object |
+| **username** | **kotlin.String**| name that need to be deleted | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**User**](User.md)| Updated user object | |
### Return type
diff --git a/samples/client/petstore/kotlin-retrofit2-rx3/src/main/kotlin/org/openapitools/client/models/Category.kt b/samples/client/petstore/kotlin-retrofit2-rx3/src/main/kotlin/org/openapitools/client/models/Category.kt
index 4d74348ecd01..bca19d5c6901 100644
--- a/samples/client/petstore/kotlin-retrofit2-rx3/src/main/kotlin/org/openapitools/client/models/Category.kt
+++ b/samples/client/petstore/kotlin-retrofit2-rx3/src/main/kotlin/org/openapitools/client/models/Category.kt
@@ -35,5 +35,8 @@ data class Category (
@Json(name = "name")
val name: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-retrofit2-rx3/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt b/samples/client/petstore/kotlin-retrofit2-rx3/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
index e9e9fe4870d1..ea6bc0a04f89 100644
--- a/samples/client/petstore/kotlin-retrofit2-rx3/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
+++ b/samples/client/petstore/kotlin-retrofit2-rx3/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
@@ -39,5 +39,8 @@ data class ModelApiResponse (
@Json(name = "message")
val message: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-retrofit2-rx3/src/main/kotlin/org/openapitools/client/models/Order.kt b/samples/client/petstore/kotlin-retrofit2-rx3/src/main/kotlin/org/openapitools/client/models/Order.kt
index 508dad11426d..ecd257a433a8 100644
--- a/samples/client/petstore/kotlin-retrofit2-rx3/src/main/kotlin/org/openapitools/client/models/Order.kt
+++ b/samples/client/petstore/kotlin-retrofit2-rx3/src/main/kotlin/org/openapitools/client/models/Order.kt
@@ -65,5 +65,6 @@ data class Order (
@Json(name = "approved") approved("approved"),
@Json(name = "delivered") delivered("delivered");
}
+
}
diff --git a/samples/client/petstore/kotlin-retrofit2-rx3/src/main/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/petstore/kotlin-retrofit2-rx3/src/main/kotlin/org/openapitools/client/models/Pet.kt
index cc35b5164c51..502297c92b0e 100644
--- a/samples/client/petstore/kotlin-retrofit2-rx3/src/main/kotlin/org/openapitools/client/models/Pet.kt
+++ b/samples/client/petstore/kotlin-retrofit2-rx3/src/main/kotlin/org/openapitools/client/models/Pet.kt
@@ -67,5 +67,6 @@ data class Pet (
@Json(name = "pending") pending("pending"),
@Json(name = "sold") sold("sold");
}
+
}
diff --git a/samples/client/petstore/kotlin-retrofit2-rx3/src/main/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/petstore/kotlin-retrofit2-rx3/src/main/kotlin/org/openapitools/client/models/Tag.kt
index b21fbab6580d..54bbd138c488 100644
--- a/samples/client/petstore/kotlin-retrofit2-rx3/src/main/kotlin/org/openapitools/client/models/Tag.kt
+++ b/samples/client/petstore/kotlin-retrofit2-rx3/src/main/kotlin/org/openapitools/client/models/Tag.kt
@@ -35,5 +35,8 @@ data class Tag (
@Json(name = "name")
val name: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-retrofit2-rx3/src/main/kotlin/org/openapitools/client/models/User.kt b/samples/client/petstore/kotlin-retrofit2-rx3/src/main/kotlin/org/openapitools/client/models/User.kt
index e5269f5d5d3d..5115585d1a4f 100644
--- a/samples/client/petstore/kotlin-retrofit2-rx3/src/main/kotlin/org/openapitools/client/models/User.kt
+++ b/samples/client/petstore/kotlin-retrofit2-rx3/src/main/kotlin/org/openapitools/client/models/User.kt
@@ -60,5 +60,8 @@ data class User (
@Json(name = "userStatus")
val userStatus: kotlin.Int? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-retrofit2/README.md b/samples/client/petstore/kotlin-retrofit2/README.md
index 7a33a54b760e..eea90cd4dc4c 100644
--- a/samples/client/petstore/kotlin-retrofit2/README.md
+++ b/samples/client/petstore/kotlin-retrofit2/README.md
@@ -43,28 +43,28 @@ This runs all tests and packages the library.
All URIs are relative to *http://petstore.swagger.io/v2*
-Class | Method | HTTP request | Description
------------- | ------------- | ------------- | -------------
-*PetApi* | [**addPet**](docs/PetApi.md#addpet) | **POST** pet | Add a new pet to the store
-*PetApi* | [**deletePet**](docs/PetApi.md#deletepet) | **DELETE** pet/{petId} | Deletes a pet
-*PetApi* | [**findPetsByStatus**](docs/PetApi.md#findpetsbystatus) | **GET** pet/findByStatus | Finds Pets by status
-*PetApi* | [**findPetsByTags**](docs/PetApi.md#findpetsbytags) | **GET** pet/findByTags | Finds Pets by tags
-*PetApi* | [**getPetById**](docs/PetApi.md#getpetbyid) | **GET** pet/{petId} | Find pet by ID
-*PetApi* | [**updatePet**](docs/PetApi.md#updatepet) | **PUT** pet | Update an existing pet
-*PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatepetwithform) | **POST** pet/{petId} | Updates a pet in the store with form data
-*PetApi* | [**uploadFile**](docs/PetApi.md#uploadfile) | **POST** pet/{petId}/uploadImage | uploads an image
-*StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteorder) | **DELETE** store/order/{orderId} | Delete purchase order by ID
-*StoreApi* | [**getInventory**](docs/StoreApi.md#getinventory) | **GET** store/inventory | Returns pet inventories by status
-*StoreApi* | [**getOrderById**](docs/StoreApi.md#getorderbyid) | **GET** store/order/{orderId} | Find purchase order by ID
-*StoreApi* | [**placeOrder**](docs/StoreApi.md#placeorder) | **POST** store/order | Place an order for a pet
-*UserApi* | [**createUser**](docs/UserApi.md#createuser) | **POST** user | Create user
-*UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createuserswitharrayinput) | **POST** user/createWithArray | Creates list of users with given input array
-*UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createuserswithlistinput) | **POST** user/createWithList | Creates list of users with given input array
-*UserApi* | [**deleteUser**](docs/UserApi.md#deleteuser) | **DELETE** user/{username} | Delete user
-*UserApi* | [**getUserByName**](docs/UserApi.md#getuserbyname) | **GET** user/{username} | Get user by user name
-*UserApi* | [**loginUser**](docs/UserApi.md#loginuser) | **GET** user/login | Logs user into the system
-*UserApi* | [**logoutUser**](docs/UserApi.md#logoutuser) | **GET** user/logout | Logs out current logged in user session
-*UserApi* | [**updateUser**](docs/UserApi.md#updateuser) | **PUT** user/{username} | Updated user
+| Class | Method | HTTP request | Description |
+| ------------ | ------------- | ------------- | ------------- |
+| *PetApi* | [**addPet**](docs/PetApi.md#addpet) | **POST** pet | Add a new pet to the store |
+| *PetApi* | [**deletePet**](docs/PetApi.md#deletepet) | **DELETE** pet/{petId} | Deletes a pet |
+| *PetApi* | [**findPetsByStatus**](docs/PetApi.md#findpetsbystatus) | **GET** pet/findByStatus | Finds Pets by status |
+| *PetApi* | [**findPetsByTags**](docs/PetApi.md#findpetsbytags) | **GET** pet/findByTags | Finds Pets by tags |
+| *PetApi* | [**getPetById**](docs/PetApi.md#getpetbyid) | **GET** pet/{petId} | Find pet by ID |
+| *PetApi* | [**updatePet**](docs/PetApi.md#updatepet) | **PUT** pet | Update an existing pet |
+| *PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatepetwithform) | **POST** pet/{petId} | Updates a pet in the store with form data |
+| *PetApi* | [**uploadFile**](docs/PetApi.md#uploadfile) | **POST** pet/{petId}/uploadImage | uploads an image |
+| *StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteorder) | **DELETE** store/order/{orderId} | Delete purchase order by ID |
+| *StoreApi* | [**getInventory**](docs/StoreApi.md#getinventory) | **GET** store/inventory | Returns pet inventories by status |
+| *StoreApi* | [**getOrderById**](docs/StoreApi.md#getorderbyid) | **GET** store/order/{orderId} | Find purchase order by ID |
+| *StoreApi* | [**placeOrder**](docs/StoreApi.md#placeorder) | **POST** store/order | Place an order for a pet |
+| *UserApi* | [**createUser**](docs/UserApi.md#createuser) | **POST** user | Create user |
+| *UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createuserswitharrayinput) | **POST** user/createWithArray | Creates list of users with given input array |
+| *UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createuserswithlistinput) | **POST** user/createWithList | Creates list of users with given input array |
+| *UserApi* | [**deleteUser**](docs/UserApi.md#deleteuser) | **DELETE** user/{username} | Delete user |
+| *UserApi* | [**getUserByName**](docs/UserApi.md#getuserbyname) | **GET** user/{username} | Get user by user name |
+| *UserApi* | [**loginUser**](docs/UserApi.md#loginuser) | **GET** user/login | Logs user into the system |
+| *UserApi* | [**logoutUser**](docs/UserApi.md#logoutuser) | **GET** user/logout | Logs out current logged in user session |
+| *UserApi* | [**updateUser**](docs/UserApi.md#updateuser) | **PUT** user/{username} | Updated user |
diff --git a/samples/client/petstore/kotlin-retrofit2/docs/ApiResponse.md b/samples/client/petstore/kotlin-retrofit2/docs/ApiResponse.md
index 12f08d5cdef0..059525a99512 100644
--- a/samples/client/petstore/kotlin-retrofit2/docs/ApiResponse.md
+++ b/samples/client/petstore/kotlin-retrofit2/docs/ApiResponse.md
@@ -2,11 +2,11 @@
# ModelApiResponse
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**code** | **kotlin.Int** | | [optional]
-**type** | **kotlin.String** | | [optional]
-**message** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **code** | **kotlin.Int** | | [optional] |
+| **type** | **kotlin.String** | | [optional] |
+| **message** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-retrofit2/docs/Category.md b/samples/client/petstore/kotlin-retrofit2/docs/Category.md
index 2c28a670fc79..baba5657eb21 100644
--- a/samples/client/petstore/kotlin-retrofit2/docs/Category.md
+++ b/samples/client/petstore/kotlin-retrofit2/docs/Category.md
@@ -2,10 +2,10 @@
# Category
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-retrofit2/docs/Order.md b/samples/client/petstore/kotlin-retrofit2/docs/Order.md
index c0c951b22d33..7b7a399f7f75 100644
--- a/samples/client/petstore/kotlin-retrofit2/docs/Order.md
+++ b/samples/client/petstore/kotlin-retrofit2/docs/Order.md
@@ -2,21 +2,21 @@
# Order
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**petId** | **kotlin.Long** | | [optional]
-**quantity** | **kotlin.Int** | | [optional]
-**shipDate** | [**java.time.OffsetDateTime**](java.time.OffsetDateTime.md) | | [optional]
-**status** | [**inline**](#Status) | Order Status | [optional]
-**complete** | **kotlin.Boolean** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **petId** | **kotlin.Long** | | [optional] |
+| **quantity** | **kotlin.Int** | | [optional] |
+| **shipDate** | [**java.time.OffsetDateTime**](java.time.OffsetDateTime.md) | | [optional] |
+| **status** | [**inline**](#Status) | Order Status | [optional] |
+| **complete** | **kotlin.Boolean** | | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | placed, approved, delivered
+| Name | Value |
+| ---- | ----- |
+| status | placed, approved, delivered |
diff --git a/samples/client/petstore/kotlin-retrofit2/docs/Pet.md b/samples/client/petstore/kotlin-retrofit2/docs/Pet.md
index da70fca06e65..287312efaf94 100644
--- a/samples/client/petstore/kotlin-retrofit2/docs/Pet.md
+++ b/samples/client/petstore/kotlin-retrofit2/docs/Pet.md
@@ -2,21 +2,21 @@
# Pet
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**name** | **kotlin.String** | |
-**photoUrls** | **kotlin.collections.List<kotlin.String>** | |
-**id** | **kotlin.Long** | | [optional]
-**category** | [**Category**](Category.md) | | [optional]
-**tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional]
-**status** | [**inline**](#Status) | pet status in the store | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **name** | **kotlin.String** | | |
+| **photoUrls** | **kotlin.collections.List<kotlin.String>** | | |
+| **id** | **kotlin.Long** | | [optional] |
+| **category** | [**Category**](Category.md) | | [optional] |
+| **tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional] |
+| **status** | [**inline**](#Status) | pet status in the store | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | available, pending, sold
+| Name | Value |
+| ---- | ----- |
+| status | available, pending, sold |
diff --git a/samples/client/petstore/kotlin-retrofit2/docs/PetApi.md b/samples/client/petstore/kotlin-retrofit2/docs/PetApi.md
index 3997c8cf3904..7325e9a54129 100644
--- a/samples/client/petstore/kotlin-retrofit2/docs/PetApi.md
+++ b/samples/client/petstore/kotlin-retrofit2/docs/PetApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**addPet**](PetApi.md#addPet) | **POST** pet | Add a new pet to the store
-[**deletePet**](PetApi.md#deletePet) | **DELETE** pet/{petId} | Deletes a pet
-[**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** pet/findByStatus | Finds Pets by status
-[**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** pet/findByTags | Finds Pets by tags
-[**getPetById**](PetApi.md#getPetById) | **GET** pet/{petId} | Find pet by ID
-[**updatePet**](PetApi.md#updatePet) | **PUT** pet | Update an existing pet
-[**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** pet/{petId} | Updates a pet in the store with form data
-[**uploadFile**](PetApi.md#uploadFile) | **POST** pet/{petId}/uploadImage | uploads an image
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**addPet**](PetApi.md#addPet) | **POST** pet | Add a new pet to the store |
+| [**deletePet**](PetApi.md#deletePet) | **DELETE** pet/{petId} | Deletes a pet |
+| [**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** pet/findByStatus | Finds Pets by status |
+| [**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** pet/findByTags | Finds Pets by tags |
+| [**getPetById**](PetApi.md#getPetById) | **GET** pet/{petId} | Find pet by ID |
+| [**updatePet**](PetApi.md#updatePet) | **PUT** pet | Update an existing pet |
+| [**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** pet/{petId} | Updates a pet in the store with form data |
+| [**uploadFile**](PetApi.md#uploadFile) | **POST** pet/{petId}/uploadImage | uploads an image |
@@ -32,10 +32,9 @@ webService.addPet(body)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -69,11 +68,10 @@ webService.deletePet(petId, apiKey)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| Pet id to delete |
- **apiKey** | **kotlin.String**| | [optional]
+| **petId** | **kotlin.Long**| Pet id to delete | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **apiKey** | **kotlin.String**| | [optional] |
### Return type
@@ -108,10 +106,9 @@ val result : kotlin.collections.List = webService.findPetsByStatus(status)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **status** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [enum: available, pending, sold]
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **status** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [enum: available, pending, sold] |
### Return type
@@ -146,10 +143,9 @@ val result : kotlin.collections.List = webService.findPetsByTags(tags)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **tags** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Tags to filter by |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **tags** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Tags to filter by | |
### Return type
@@ -184,10 +180,9 @@ val result : Pet = webService.getPetById(petId)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet to return |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **petId** | **kotlin.Long**| ID of pet to return | |
### Return type
@@ -220,10 +215,9 @@ webService.updatePet(body)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -258,12 +252,11 @@ webService.updatePetWithForm(petId, name, status)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet that needs to be updated |
- **name** | **kotlin.String**| Updated name of the pet | [optional]
- **status** | **kotlin.String**| Updated status of the pet | [optional]
+| **petId** | **kotlin.Long**| ID of pet that needs to be updated | |
+| **name** | **kotlin.String**| Updated name of the pet | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **status** | **kotlin.String**| Updated status of the pet | [optional] |
### Return type
@@ -298,12 +291,11 @@ val result : ModelApiResponse = webService.uploadFile(petId, additionalMetadata,
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet to update |
- **additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional]
- **file** | **java.io.File**| file to upload | [optional]
+| **petId** | **kotlin.Long**| ID of pet to update | |
+| **additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **file** | **java.io.File**| file to upload | [optional] |
### Return type
diff --git a/samples/client/petstore/kotlin-retrofit2/docs/StoreApi.md b/samples/client/petstore/kotlin-retrofit2/docs/StoreApi.md
index 78688cd5f19a..18640563db31 100644
--- a/samples/client/petstore/kotlin-retrofit2/docs/StoreApi.md
+++ b/samples/client/petstore/kotlin-retrofit2/docs/StoreApi.md
@@ -2,12 +2,12 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** store/order/{orderId} | Delete purchase order by ID
-[**getInventory**](StoreApi.md#getInventory) | **GET** store/inventory | Returns pet inventories by status
-[**getOrderById**](StoreApi.md#getOrderById) | **GET** store/order/{orderId} | Find purchase order by ID
-[**placeOrder**](StoreApi.md#placeOrder) | **POST** store/order | Place an order for a pet
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** store/order/{orderId} | Delete purchase order by ID |
+| [**getInventory**](StoreApi.md#getInventory) | **GET** store/inventory | Returns pet inventories by status |
+| [**getOrderById**](StoreApi.md#getOrderById) | **GET** store/order/{orderId} | Find purchase order by ID |
+| [**placeOrder**](StoreApi.md#placeOrder) | **POST** store/order | Place an order for a pet |
@@ -30,10 +30,9 @@ webService.deleteOrder(orderId)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **kotlin.String**| ID of the order that needs to be deleted |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **orderId** | **kotlin.String**| ID of the order that needs to be deleted | |
### Return type
@@ -102,10 +101,9 @@ val result : Order = webService.getOrderById(orderId)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **kotlin.Long**| ID of pet that needs to be fetched |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **orderId** | **kotlin.Long**| ID of pet that needs to be fetched | |
### Return type
@@ -138,10 +136,9 @@ val result : Order = webService.placeOrder(body)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**Order**](Order.md)| order placed for purchasing the pet |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**Order**](Order.md)| order placed for purchasing the pet | |
### Return type
diff --git a/samples/client/petstore/kotlin-retrofit2/docs/Tag.md b/samples/client/petstore/kotlin-retrofit2/docs/Tag.md
index 60ce1bcdbad3..dc8fa3cb555d 100644
--- a/samples/client/petstore/kotlin-retrofit2/docs/Tag.md
+++ b/samples/client/petstore/kotlin-retrofit2/docs/Tag.md
@@ -2,10 +2,10 @@
# Tag
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-retrofit2/docs/User.md b/samples/client/petstore/kotlin-retrofit2/docs/User.md
index e801729b5ed1..a9f35788637e 100644
--- a/samples/client/petstore/kotlin-retrofit2/docs/User.md
+++ b/samples/client/petstore/kotlin-retrofit2/docs/User.md
@@ -2,16 +2,16 @@
# User
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**username** | **kotlin.String** | | [optional]
-**firstName** | **kotlin.String** | | [optional]
-**lastName** | **kotlin.String** | | [optional]
-**email** | **kotlin.String** | | [optional]
-**password** | **kotlin.String** | | [optional]
-**phone** | **kotlin.String** | | [optional]
-**userStatus** | **kotlin.Int** | User Status | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **username** | **kotlin.String** | | [optional] |
+| **firstName** | **kotlin.String** | | [optional] |
+| **lastName** | **kotlin.String** | | [optional] |
+| **email** | **kotlin.String** | | [optional] |
+| **password** | **kotlin.String** | | [optional] |
+| **phone** | **kotlin.String** | | [optional] |
+| **userStatus** | **kotlin.Int** | User Status | [optional] |
diff --git a/samples/client/petstore/kotlin-retrofit2/docs/UserApi.md b/samples/client/petstore/kotlin-retrofit2/docs/UserApi.md
index 6d27b5096f64..ccd41ae2a462 100644
--- a/samples/client/petstore/kotlin-retrofit2/docs/UserApi.md
+++ b/samples/client/petstore/kotlin-retrofit2/docs/UserApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**createUser**](UserApi.md#createUser) | **POST** user | Create user
-[**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** user/createWithArray | Creates list of users with given input array
-[**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** user/createWithList | Creates list of users with given input array
-[**deleteUser**](UserApi.md#deleteUser) | **DELETE** user/{username} | Delete user
-[**getUserByName**](UserApi.md#getUserByName) | **GET** user/{username} | Get user by user name
-[**loginUser**](UserApi.md#loginUser) | **GET** user/login | Logs user into the system
-[**logoutUser**](UserApi.md#logoutUser) | **GET** user/logout | Logs out current logged in user session
-[**updateUser**](UserApi.md#updateUser) | **PUT** user/{username} | Updated user
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**createUser**](UserApi.md#createUser) | **POST** user | Create user |
+| [**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** user/createWithArray | Creates list of users with given input array |
+| [**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** user/createWithList | Creates list of users with given input array |
+| [**deleteUser**](UserApi.md#deleteUser) | **DELETE** user/{username} | Delete user |
+| [**getUserByName**](UserApi.md#getUserByName) | **GET** user/{username} | Get user by user name |
+| [**loginUser**](UserApi.md#loginUser) | **GET** user/login | Logs user into the system |
+| [**logoutUser**](UserApi.md#logoutUser) | **GET** user/logout | Logs out current logged in user session |
+| [**updateUser**](UserApi.md#updateUser) | **PUT** user/{username} | Updated user |
@@ -34,10 +34,9 @@ webService.createUser(body)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**User**](User.md)| Created user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**User**](User.md)| Created user object | |
### Return type
@@ -70,10 +69,9 @@ webService.createUsersWithArrayInput(body)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**kotlin.collections.List<User>**](User.md)| List of user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**kotlin.collections.List<User>**](User.md)| List of user object | |
### Return type
@@ -106,10 +104,9 @@ webService.createUsersWithListInput(body)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**kotlin.collections.List<User>**](User.md)| List of user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**kotlin.collections.List<User>**](User.md)| List of user object | |
### Return type
@@ -144,10 +141,9 @@ webService.deleteUser(username)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The name that needs to be deleted |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String**| The name that needs to be deleted | |
### Return type
@@ -180,10 +176,9 @@ val result : User = webService.getUserByName(username)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. | |
### Return type
@@ -217,11 +212,10 @@ val result : kotlin.String = webService.loginUser(username, password)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The user name for login |
- **password** | **kotlin.String**| The password for login in clear text |
+| **username** | **kotlin.String**| The user name for login | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **password** | **kotlin.String**| The password for login in clear text | |
### Return type
@@ -289,11 +283,10 @@ webService.updateUser(username, body)
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| name that need to be deleted |
- **body** | [**User**](User.md)| Updated user object |
+| **username** | **kotlin.String**| name that need to be deleted | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**User**](User.md)| Updated user object | |
### Return type
diff --git a/samples/client/petstore/kotlin-retrofit2/src/main/kotlin/org/openapitools/client/models/Category.kt b/samples/client/petstore/kotlin-retrofit2/src/main/kotlin/org/openapitools/client/models/Category.kt
index 4d74348ecd01..bca19d5c6901 100644
--- a/samples/client/petstore/kotlin-retrofit2/src/main/kotlin/org/openapitools/client/models/Category.kt
+++ b/samples/client/petstore/kotlin-retrofit2/src/main/kotlin/org/openapitools/client/models/Category.kt
@@ -35,5 +35,8 @@ data class Category (
@Json(name = "name")
val name: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-retrofit2/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt b/samples/client/petstore/kotlin-retrofit2/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
index e9e9fe4870d1..ea6bc0a04f89 100644
--- a/samples/client/petstore/kotlin-retrofit2/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
+++ b/samples/client/petstore/kotlin-retrofit2/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
@@ -39,5 +39,8 @@ data class ModelApiResponse (
@Json(name = "message")
val message: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-retrofit2/src/main/kotlin/org/openapitools/client/models/Order.kt b/samples/client/petstore/kotlin-retrofit2/src/main/kotlin/org/openapitools/client/models/Order.kt
index 508dad11426d..ecd257a433a8 100644
--- a/samples/client/petstore/kotlin-retrofit2/src/main/kotlin/org/openapitools/client/models/Order.kt
+++ b/samples/client/petstore/kotlin-retrofit2/src/main/kotlin/org/openapitools/client/models/Order.kt
@@ -65,5 +65,6 @@ data class Order (
@Json(name = "approved") approved("approved"),
@Json(name = "delivered") delivered("delivered");
}
+
}
diff --git a/samples/client/petstore/kotlin-retrofit2/src/main/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/petstore/kotlin-retrofit2/src/main/kotlin/org/openapitools/client/models/Pet.kt
index cc35b5164c51..502297c92b0e 100644
--- a/samples/client/petstore/kotlin-retrofit2/src/main/kotlin/org/openapitools/client/models/Pet.kt
+++ b/samples/client/petstore/kotlin-retrofit2/src/main/kotlin/org/openapitools/client/models/Pet.kt
@@ -67,5 +67,6 @@ data class Pet (
@Json(name = "pending") pending("pending"),
@Json(name = "sold") sold("sold");
}
+
}
diff --git a/samples/client/petstore/kotlin-retrofit2/src/main/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/petstore/kotlin-retrofit2/src/main/kotlin/org/openapitools/client/models/Tag.kt
index b21fbab6580d..54bbd138c488 100644
--- a/samples/client/petstore/kotlin-retrofit2/src/main/kotlin/org/openapitools/client/models/Tag.kt
+++ b/samples/client/petstore/kotlin-retrofit2/src/main/kotlin/org/openapitools/client/models/Tag.kt
@@ -35,5 +35,8 @@ data class Tag (
@Json(name = "name")
val name: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-retrofit2/src/main/kotlin/org/openapitools/client/models/User.kt b/samples/client/petstore/kotlin-retrofit2/src/main/kotlin/org/openapitools/client/models/User.kt
index e5269f5d5d3d..5115585d1a4f 100644
--- a/samples/client/petstore/kotlin-retrofit2/src/main/kotlin/org/openapitools/client/models/User.kt
+++ b/samples/client/petstore/kotlin-retrofit2/src/main/kotlin/org/openapitools/client/models/User.kt
@@ -60,5 +60,8 @@ data class User (
@Json(name = "userStatus")
val userStatus: kotlin.Int? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-string/README.md b/samples/client/petstore/kotlin-string/README.md
index e4e111438878..f1cf0031b0c9 100644
--- a/samples/client/petstore/kotlin-string/README.md
+++ b/samples/client/petstore/kotlin-string/README.md
@@ -43,28 +43,28 @@ This runs all tests and packages the library.
All URIs are relative to *http://petstore.swagger.io/v2*
-Class | Method | HTTP request | Description
------------- | ------------- | ------------- | -------------
-*PetApi* | [**addPet**](docs/PetApi.md#addpet) | **POST** /pet | Add a new pet to the store
-*PetApi* | [**deletePet**](docs/PetApi.md#deletepet) | **DELETE** /pet/{petId} | Deletes a pet
-*PetApi* | [**findPetsByStatus**](docs/PetApi.md#findpetsbystatus) | **GET** /pet/findByStatus | Finds Pets by status
-*PetApi* | [**findPetsByTags**](docs/PetApi.md#findpetsbytags) | **GET** /pet/findByTags | Finds Pets by tags
-*PetApi* | [**getPetById**](docs/PetApi.md#getpetbyid) | **GET** /pet/{petId} | Find pet by ID
-*PetApi* | [**updatePet**](docs/PetApi.md#updatepet) | **PUT** /pet | Update an existing pet
-*PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatepetwithform) | **POST** /pet/{petId} | Updates a pet in the store with form data
-*PetApi* | [**uploadFile**](docs/PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image
-*StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteorder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID
-*StoreApi* | [**getInventory**](docs/StoreApi.md#getinventory) | **GET** /store/inventory | Returns pet inventories by status
-*StoreApi* | [**getOrderById**](docs/StoreApi.md#getorderbyid) | **GET** /store/order/{orderId} | Find purchase order by ID
-*StoreApi* | [**placeOrder**](docs/StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet
-*UserApi* | [**createUser**](docs/UserApi.md#createuser) | **POST** /user | Create user
-*UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createuserswitharrayinput) | **POST** /user/createWithArray | Creates list of users with given input array
-*UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createuserswithlistinput) | **POST** /user/createWithList | Creates list of users with given input array
-*UserApi* | [**deleteUser**](docs/UserApi.md#deleteuser) | **DELETE** /user/{username} | Delete user
-*UserApi* | [**getUserByName**](docs/UserApi.md#getuserbyname) | **GET** /user/{username} | Get user by user name
-*UserApi* | [**loginUser**](docs/UserApi.md#loginuser) | **GET** /user/login | Logs user into the system
-*UserApi* | [**logoutUser**](docs/UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session
-*UserApi* | [**updateUser**](docs/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user
+| Class | Method | HTTP request | Description |
+| ------------ | ------------- | ------------- | ------------- |
+| *PetApi* | [**addPet**](docs/PetApi.md#addpet) | **POST** /pet | Add a new pet to the store |
+| *PetApi* | [**deletePet**](docs/PetApi.md#deletepet) | **DELETE** /pet/{petId} | Deletes a pet |
+| *PetApi* | [**findPetsByStatus**](docs/PetApi.md#findpetsbystatus) | **GET** /pet/findByStatus | Finds Pets by status |
+| *PetApi* | [**findPetsByTags**](docs/PetApi.md#findpetsbytags) | **GET** /pet/findByTags | Finds Pets by tags |
+| *PetApi* | [**getPetById**](docs/PetApi.md#getpetbyid) | **GET** /pet/{petId} | Find pet by ID |
+| *PetApi* | [**updatePet**](docs/PetApi.md#updatepet) | **PUT** /pet | Update an existing pet |
+| *PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatepetwithform) | **POST** /pet/{petId} | Updates a pet in the store with form data |
+| *PetApi* | [**uploadFile**](docs/PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image |
+| *StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteorder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID |
+| *StoreApi* | [**getInventory**](docs/StoreApi.md#getinventory) | **GET** /store/inventory | Returns pet inventories by status |
+| *StoreApi* | [**getOrderById**](docs/StoreApi.md#getorderbyid) | **GET** /store/order/{orderId} | Find purchase order by ID |
+| *StoreApi* | [**placeOrder**](docs/StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet |
+| *UserApi* | [**createUser**](docs/UserApi.md#createuser) | **POST** /user | Create user |
+| *UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createuserswitharrayinput) | **POST** /user/createWithArray | Creates list of users with given input array |
+| *UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createuserswithlistinput) | **POST** /user/createWithList | Creates list of users with given input array |
+| *UserApi* | [**deleteUser**](docs/UserApi.md#deleteuser) | **DELETE** /user/{username} | Delete user |
+| *UserApi* | [**getUserByName**](docs/UserApi.md#getuserbyname) | **GET** /user/{username} | Get user by user name |
+| *UserApi* | [**loginUser**](docs/UserApi.md#loginuser) | **GET** /user/login | Logs user into the system |
+| *UserApi* | [**logoutUser**](docs/UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session |
+| *UserApi* | [**updateUser**](docs/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user |
diff --git a/samples/client/petstore/kotlin-string/docs/ApiResponse.md b/samples/client/petstore/kotlin-string/docs/ApiResponse.md
index 12f08d5cdef0..059525a99512 100644
--- a/samples/client/petstore/kotlin-string/docs/ApiResponse.md
+++ b/samples/client/petstore/kotlin-string/docs/ApiResponse.md
@@ -2,11 +2,11 @@
# ModelApiResponse
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**code** | **kotlin.Int** | | [optional]
-**type** | **kotlin.String** | | [optional]
-**message** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **code** | **kotlin.Int** | | [optional] |
+| **type** | **kotlin.String** | | [optional] |
+| **message** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-string/docs/Category.md b/samples/client/petstore/kotlin-string/docs/Category.md
index 2c28a670fc79..baba5657eb21 100644
--- a/samples/client/petstore/kotlin-string/docs/Category.md
+++ b/samples/client/petstore/kotlin-string/docs/Category.md
@@ -2,10 +2,10 @@
# Category
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-string/docs/Order.md b/samples/client/petstore/kotlin-string/docs/Order.md
index f4dcee6911b4..536547f457f5 100644
--- a/samples/client/petstore/kotlin-string/docs/Order.md
+++ b/samples/client/petstore/kotlin-string/docs/Order.md
@@ -2,21 +2,21 @@
# Order
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**petId** | **kotlin.Long** | | [optional]
-**quantity** | **kotlin.Int** | | [optional]
-**shipDate** | **kotlin.String** | | [optional]
-**status** | [**inline**](#Status) | Order Status | [optional]
-**complete** | **kotlin.Boolean** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **petId** | **kotlin.Long** | | [optional] |
+| **quantity** | **kotlin.Int** | | [optional] |
+| **shipDate** | **kotlin.String** | | [optional] |
+| **status** | [**inline**](#Status) | Order Status | [optional] |
+| **complete** | **kotlin.Boolean** | | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | placed, approved, delivered
+| Name | Value |
+| ---- | ----- |
+| status | placed, approved, delivered |
diff --git a/samples/client/petstore/kotlin-string/docs/Pet.md b/samples/client/petstore/kotlin-string/docs/Pet.md
index fd228b90c946..43e4f11394bf 100644
--- a/samples/client/petstore/kotlin-string/docs/Pet.md
+++ b/samples/client/petstore/kotlin-string/docs/Pet.md
@@ -2,21 +2,21 @@
# Pet
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**category** | [**Category**](Category.md) | | [optional]
-**name** | **kotlin.String** | |
-**photoUrls** | **kotlin.collections.List<kotlin.String>** | |
-**tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional]
-**status** | [**inline**](#Status) | pet status in the store | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **category** | [**Category**](Category.md) | | [optional] |
+| **name** | **kotlin.String** | | |
+| **photoUrls** | **kotlin.collections.List<kotlin.String>** | | |
+| **tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional] |
+| **status** | [**inline**](#Status) | pet status in the store | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | available, pending, sold
+| Name | Value |
+| ---- | ----- |
+| status | available, pending, sold |
diff --git a/samples/client/petstore/kotlin-string/docs/PetApi.md b/samples/client/petstore/kotlin-string/docs/PetApi.md
index 6c4987ca054e..81f97cef914a 100644
--- a/samples/client/petstore/kotlin-string/docs/PetApi.md
+++ b/samples/client/petstore/kotlin-string/docs/PetApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**addPet**](PetApi.md#addPet) | **POST** /pet | Add a new pet to the store
-[**deletePet**](PetApi.md#deletePet) | **DELETE** /pet/{petId} | Deletes a pet
-[**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** /pet/findByStatus | Finds Pets by status
-[**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** /pet/findByTags | Finds Pets by tags
-[**getPetById**](PetApi.md#getPetById) | **GET** /pet/{petId} | Find pet by ID
-[**updatePet**](PetApi.md#updatePet) | **PUT** /pet | Update an existing pet
-[**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** /pet/{petId} | Updates a pet in the store with form data
-[**uploadFile**](PetApi.md#uploadFile) | **POST** /pet/{petId}/uploadImage | uploads an image
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**addPet**](PetApi.md#addPet) | **POST** /pet | Add a new pet to the store |
+| [**deletePet**](PetApi.md#deletePet) | **DELETE** /pet/{petId} | Deletes a pet |
+| [**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** /pet/findByStatus | Finds Pets by status |
+| [**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** /pet/findByTags | Finds Pets by tags |
+| [**getPetById**](PetApi.md#getPetById) | **GET** /pet/{petId} | Find pet by ID |
+| [**updatePet**](PetApi.md#updatePet) | **PUT** /pet | Update an existing pet |
+| [**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** /pet/{petId} | Updates a pet in the store with form data |
+| [**uploadFile**](PetApi.md#uploadFile) | **POST** /pet/{petId}/uploadImage | uploads an image |
@@ -40,10 +40,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -87,11 +86,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **apiKey** | **kotlin.String**| | [optional]
- **petId** | **kotlin.Long**| Pet id to delete |
+| **apiKey** | **kotlin.String**| | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **petId** | **kotlin.Long**| Pet id to delete | |
### Return type
@@ -137,10 +135,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **status** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [enum: available, pending, sold]
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **status** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [enum: available, pending, sold] |
### Return type
@@ -186,10 +183,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **tags** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Tags to filter by |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **tags** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Tags to filter by | |
### Return type
@@ -235,10 +231,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet to return |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **petId** | **kotlin.Long**| ID of pet to return | |
### Return type
@@ -282,10 +277,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -330,12 +324,11 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet that needs to be updated |
- **name** | **kotlin.String**| Updated name of the pet | [optional]
- **status** | **kotlin.String**| Updated status of the pet | [optional]
+| **petId** | **kotlin.Long**| ID of pet that needs to be updated | |
+| **name** | **kotlin.String**| Updated name of the pet | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **status** | **kotlin.String**| Updated status of the pet | [optional] |
### Return type
@@ -381,12 +374,11 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet to update |
- **additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional]
- **file** | **java.io.File**| file to upload | [optional]
+| **petId** | **kotlin.Long**| ID of pet to update | |
+| **additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **file** | **java.io.File**| file to upload | [optional] |
### Return type
diff --git a/samples/client/petstore/kotlin-string/docs/StoreApi.md b/samples/client/petstore/kotlin-string/docs/StoreApi.md
index 9515ccd6d0cb..53ff17b16676 100644
--- a/samples/client/petstore/kotlin-string/docs/StoreApi.md
+++ b/samples/client/petstore/kotlin-string/docs/StoreApi.md
@@ -2,12 +2,12 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID
-[**getInventory**](StoreApi.md#getInventory) | **GET** /store/inventory | Returns pet inventories by status
-[**getOrderById**](StoreApi.md#getOrderById) | **GET** /store/order/{orderId} | Find purchase order by ID
-[**placeOrder**](StoreApi.md#placeOrder) | **POST** /store/order | Place an order for a pet
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID |
+| [**getInventory**](StoreApi.md#getInventory) | **GET** /store/inventory | Returns pet inventories by status |
+| [**getOrderById**](StoreApi.md#getOrderById) | **GET** /store/order/{orderId} | Find purchase order by ID |
+| [**placeOrder**](StoreApi.md#placeOrder) | **POST** /store/order | Place an order for a pet |
@@ -38,10 +38,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **kotlin.String**| ID of the order that needs to be deleted |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **orderId** | **kotlin.String**| ID of the order that needs to be deleted | |
### Return type
@@ -131,10 +130,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **kotlin.Long**| ID of pet that needs to be fetched |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **orderId** | **kotlin.Long**| ID of pet that needs to be fetched | |
### Return type
@@ -176,10 +174,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**Order**](Order.md)| order placed for purchasing the pet |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**Order**](Order.md)| order placed for purchasing the pet | |
### Return type
diff --git a/samples/client/petstore/kotlin-string/docs/Tag.md b/samples/client/petstore/kotlin-string/docs/Tag.md
index 60ce1bcdbad3..dc8fa3cb555d 100644
--- a/samples/client/petstore/kotlin-string/docs/Tag.md
+++ b/samples/client/petstore/kotlin-string/docs/Tag.md
@@ -2,10 +2,10 @@
# Tag
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-string/docs/User.md b/samples/client/petstore/kotlin-string/docs/User.md
index e801729b5ed1..a9f35788637e 100644
--- a/samples/client/petstore/kotlin-string/docs/User.md
+++ b/samples/client/petstore/kotlin-string/docs/User.md
@@ -2,16 +2,16 @@
# User
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**username** | **kotlin.String** | | [optional]
-**firstName** | **kotlin.String** | | [optional]
-**lastName** | **kotlin.String** | | [optional]
-**email** | **kotlin.String** | | [optional]
-**password** | **kotlin.String** | | [optional]
-**phone** | **kotlin.String** | | [optional]
-**userStatus** | **kotlin.Int** | User Status | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **username** | **kotlin.String** | | [optional] |
+| **firstName** | **kotlin.String** | | [optional] |
+| **lastName** | **kotlin.String** | | [optional] |
+| **email** | **kotlin.String** | | [optional] |
+| **password** | **kotlin.String** | | [optional] |
+| **phone** | **kotlin.String** | | [optional] |
+| **userStatus** | **kotlin.Int** | User Status | [optional] |
diff --git a/samples/client/petstore/kotlin-string/docs/UserApi.md b/samples/client/petstore/kotlin-string/docs/UserApi.md
index fdf75275cb97..82c8d6060276 100644
--- a/samples/client/petstore/kotlin-string/docs/UserApi.md
+++ b/samples/client/petstore/kotlin-string/docs/UserApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**createUser**](UserApi.md#createUser) | **POST** /user | Create user
-[**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** /user/createWithArray | Creates list of users with given input array
-[**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** /user/createWithList | Creates list of users with given input array
-[**deleteUser**](UserApi.md#deleteUser) | **DELETE** /user/{username} | Delete user
-[**getUserByName**](UserApi.md#getUserByName) | **GET** /user/{username} | Get user by user name
-[**loginUser**](UserApi.md#loginUser) | **GET** /user/login | Logs user into the system
-[**logoutUser**](UserApi.md#logoutUser) | **GET** /user/logout | Logs out current logged in user session
-[**updateUser**](UserApi.md#updateUser) | **PUT** /user/{username} | Updated user
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**createUser**](UserApi.md#createUser) | **POST** /user | Create user |
+| [**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** /user/createWithArray | Creates list of users with given input array |
+| [**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** /user/createWithList | Creates list of users with given input array |
+| [**deleteUser**](UserApi.md#deleteUser) | **DELETE** /user/{username} | Delete user |
+| [**getUserByName**](UserApi.md#getUserByName) | **GET** /user/{username} | Get user by user name |
+| [**loginUser**](UserApi.md#loginUser) | **GET** /user/login | Logs user into the system |
+| [**logoutUser**](UserApi.md#logoutUser) | **GET** /user/logout | Logs out current logged in user session |
+| [**updateUser**](UserApi.md#updateUser) | **PUT** /user/{username} | Updated user |
@@ -42,10 +42,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**User**](User.md)| Created user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**User**](User.md)| Created user object | |
### Return type
@@ -86,10 +85,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**kotlin.collections.List<User>**](User.md)| List of user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**kotlin.collections.List<User>**](User.md)| List of user object | |
### Return type
@@ -130,10 +128,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**kotlin.collections.List<User>**](User.md)| List of user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**kotlin.collections.List<User>**](User.md)| List of user object | |
### Return type
@@ -176,10 +173,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The name that needs to be deleted |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String**| The name that needs to be deleted | |
### Return type
@@ -221,10 +217,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. | |
### Return type
@@ -267,11 +262,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The user name for login |
- **password** | **kotlin.String**| The password for login in clear text |
+| **username** | **kotlin.String**| The user name for login | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **password** | **kotlin.String**| The password for login in clear text | |
### Return type
@@ -355,11 +349,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| name that need to be deleted |
- **body** | [**User**](User.md)| Updated user object |
+| **username** | **kotlin.String**| name that need to be deleted | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**User**](User.md)| Updated user object | |
### Return type
diff --git a/samples/client/petstore/kotlin-string/src/main/kotlin/org/openapitools/client/models/Category.kt b/samples/client/petstore/kotlin-string/src/main/kotlin/org/openapitools/client/models/Category.kt
index 62bb71a96e95..cde43a83f0c1 100644
--- a/samples/client/petstore/kotlin-string/src/main/kotlin/org/openapitools/client/models/Category.kt
+++ b/samples/client/petstore/kotlin-string/src/main/kotlin/org/openapitools/client/models/Category.kt
@@ -41,5 +41,6 @@ data class Category (
private const val serialVersionUID: Long = 123
}
+
}
diff --git a/samples/client/petstore/kotlin-string/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt b/samples/client/petstore/kotlin-string/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
index 082e0974d88e..a4bef25364d7 100644
--- a/samples/client/petstore/kotlin-string/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
+++ b/samples/client/petstore/kotlin-string/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
@@ -45,5 +45,6 @@ data class ModelApiResponse (
private const val serialVersionUID: Long = 123
}
+
}
diff --git a/samples/client/petstore/kotlin-string/src/main/kotlin/org/openapitools/client/models/Order.kt b/samples/client/petstore/kotlin-string/src/main/kotlin/org/openapitools/client/models/Order.kt
index 55ffc1570ece..3d17352dbcc7 100644
--- a/samples/client/petstore/kotlin-string/src/main/kotlin/org/openapitools/client/models/Order.kt
+++ b/samples/client/petstore/kotlin-string/src/main/kotlin/org/openapitools/client/models/Order.kt
@@ -69,5 +69,6 @@ data class Order (
@Json(name = "approved") approved("approved"),
@Json(name = "delivered") delivered("delivered");
}
+
}
diff --git a/samples/client/petstore/kotlin-string/src/main/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/petstore/kotlin-string/src/main/kotlin/org/openapitools/client/models/Pet.kt
index 26edc91dc77d..9679a58490ba 100644
--- a/samples/client/petstore/kotlin-string/src/main/kotlin/org/openapitools/client/models/Pet.kt
+++ b/samples/client/petstore/kotlin-string/src/main/kotlin/org/openapitools/client/models/Pet.kt
@@ -71,5 +71,6 @@ data class Pet (
@Json(name = "pending") pending("pending"),
@Json(name = "sold") sold("sold");
}
+
}
diff --git a/samples/client/petstore/kotlin-string/src/main/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/petstore/kotlin-string/src/main/kotlin/org/openapitools/client/models/Tag.kt
index 65564b265516..3618e8680eb6 100644
--- a/samples/client/petstore/kotlin-string/src/main/kotlin/org/openapitools/client/models/Tag.kt
+++ b/samples/client/petstore/kotlin-string/src/main/kotlin/org/openapitools/client/models/Tag.kt
@@ -41,5 +41,6 @@ data class Tag (
private const val serialVersionUID: Long = 123
}
+
}
diff --git a/samples/client/petstore/kotlin-string/src/main/kotlin/org/openapitools/client/models/User.kt b/samples/client/petstore/kotlin-string/src/main/kotlin/org/openapitools/client/models/User.kt
index b307a939ddaf..cabb3df832c2 100644
--- a/samples/client/petstore/kotlin-string/src/main/kotlin/org/openapitools/client/models/User.kt
+++ b/samples/client/petstore/kotlin-string/src/main/kotlin/org/openapitools/client/models/User.kt
@@ -66,5 +66,6 @@ data class User (
private const val serialVersionUID: Long = 123
}
+
}
diff --git a/samples/client/petstore/kotlin-threetenbp/README.md b/samples/client/petstore/kotlin-threetenbp/README.md
index e4e111438878..f1cf0031b0c9 100644
--- a/samples/client/petstore/kotlin-threetenbp/README.md
+++ b/samples/client/petstore/kotlin-threetenbp/README.md
@@ -43,28 +43,28 @@ This runs all tests and packages the library.
All URIs are relative to *http://petstore.swagger.io/v2*
-Class | Method | HTTP request | Description
------------- | ------------- | ------------- | -------------
-*PetApi* | [**addPet**](docs/PetApi.md#addpet) | **POST** /pet | Add a new pet to the store
-*PetApi* | [**deletePet**](docs/PetApi.md#deletepet) | **DELETE** /pet/{petId} | Deletes a pet
-*PetApi* | [**findPetsByStatus**](docs/PetApi.md#findpetsbystatus) | **GET** /pet/findByStatus | Finds Pets by status
-*PetApi* | [**findPetsByTags**](docs/PetApi.md#findpetsbytags) | **GET** /pet/findByTags | Finds Pets by tags
-*PetApi* | [**getPetById**](docs/PetApi.md#getpetbyid) | **GET** /pet/{petId} | Find pet by ID
-*PetApi* | [**updatePet**](docs/PetApi.md#updatepet) | **PUT** /pet | Update an existing pet
-*PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatepetwithform) | **POST** /pet/{petId} | Updates a pet in the store with form data
-*PetApi* | [**uploadFile**](docs/PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image
-*StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteorder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID
-*StoreApi* | [**getInventory**](docs/StoreApi.md#getinventory) | **GET** /store/inventory | Returns pet inventories by status
-*StoreApi* | [**getOrderById**](docs/StoreApi.md#getorderbyid) | **GET** /store/order/{orderId} | Find purchase order by ID
-*StoreApi* | [**placeOrder**](docs/StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet
-*UserApi* | [**createUser**](docs/UserApi.md#createuser) | **POST** /user | Create user
-*UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createuserswitharrayinput) | **POST** /user/createWithArray | Creates list of users with given input array
-*UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createuserswithlistinput) | **POST** /user/createWithList | Creates list of users with given input array
-*UserApi* | [**deleteUser**](docs/UserApi.md#deleteuser) | **DELETE** /user/{username} | Delete user
-*UserApi* | [**getUserByName**](docs/UserApi.md#getuserbyname) | **GET** /user/{username} | Get user by user name
-*UserApi* | [**loginUser**](docs/UserApi.md#loginuser) | **GET** /user/login | Logs user into the system
-*UserApi* | [**logoutUser**](docs/UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session
-*UserApi* | [**updateUser**](docs/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user
+| Class | Method | HTTP request | Description |
+| ------------ | ------------- | ------------- | ------------- |
+| *PetApi* | [**addPet**](docs/PetApi.md#addpet) | **POST** /pet | Add a new pet to the store |
+| *PetApi* | [**deletePet**](docs/PetApi.md#deletepet) | **DELETE** /pet/{petId} | Deletes a pet |
+| *PetApi* | [**findPetsByStatus**](docs/PetApi.md#findpetsbystatus) | **GET** /pet/findByStatus | Finds Pets by status |
+| *PetApi* | [**findPetsByTags**](docs/PetApi.md#findpetsbytags) | **GET** /pet/findByTags | Finds Pets by tags |
+| *PetApi* | [**getPetById**](docs/PetApi.md#getpetbyid) | **GET** /pet/{petId} | Find pet by ID |
+| *PetApi* | [**updatePet**](docs/PetApi.md#updatepet) | **PUT** /pet | Update an existing pet |
+| *PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatepetwithform) | **POST** /pet/{petId} | Updates a pet in the store with form data |
+| *PetApi* | [**uploadFile**](docs/PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image |
+| *StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteorder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID |
+| *StoreApi* | [**getInventory**](docs/StoreApi.md#getinventory) | **GET** /store/inventory | Returns pet inventories by status |
+| *StoreApi* | [**getOrderById**](docs/StoreApi.md#getorderbyid) | **GET** /store/order/{orderId} | Find purchase order by ID |
+| *StoreApi* | [**placeOrder**](docs/StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet |
+| *UserApi* | [**createUser**](docs/UserApi.md#createuser) | **POST** /user | Create user |
+| *UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createuserswitharrayinput) | **POST** /user/createWithArray | Creates list of users with given input array |
+| *UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createuserswithlistinput) | **POST** /user/createWithList | Creates list of users with given input array |
+| *UserApi* | [**deleteUser**](docs/UserApi.md#deleteuser) | **DELETE** /user/{username} | Delete user |
+| *UserApi* | [**getUserByName**](docs/UserApi.md#getuserbyname) | **GET** /user/{username} | Get user by user name |
+| *UserApi* | [**loginUser**](docs/UserApi.md#loginuser) | **GET** /user/login | Logs user into the system |
+| *UserApi* | [**logoutUser**](docs/UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session |
+| *UserApi* | [**updateUser**](docs/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user |
diff --git a/samples/client/petstore/kotlin-threetenbp/docs/ApiResponse.md b/samples/client/petstore/kotlin-threetenbp/docs/ApiResponse.md
index 12f08d5cdef0..059525a99512 100644
--- a/samples/client/petstore/kotlin-threetenbp/docs/ApiResponse.md
+++ b/samples/client/petstore/kotlin-threetenbp/docs/ApiResponse.md
@@ -2,11 +2,11 @@
# ModelApiResponse
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**code** | **kotlin.Int** | | [optional]
-**type** | **kotlin.String** | | [optional]
-**message** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **code** | **kotlin.Int** | | [optional] |
+| **type** | **kotlin.String** | | [optional] |
+| **message** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-threetenbp/docs/Category.md b/samples/client/petstore/kotlin-threetenbp/docs/Category.md
index 2c28a670fc79..baba5657eb21 100644
--- a/samples/client/petstore/kotlin-threetenbp/docs/Category.md
+++ b/samples/client/petstore/kotlin-threetenbp/docs/Category.md
@@ -2,10 +2,10 @@
# Category
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-threetenbp/docs/Order.md b/samples/client/petstore/kotlin-threetenbp/docs/Order.md
index f340d1f55915..72a418dabd44 100644
--- a/samples/client/petstore/kotlin-threetenbp/docs/Order.md
+++ b/samples/client/petstore/kotlin-threetenbp/docs/Order.md
@@ -2,21 +2,21 @@
# Order
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**petId** | **kotlin.Long** | | [optional]
-**quantity** | **kotlin.Int** | | [optional]
-**shipDate** | [**org.threeten.bp.OffsetDateTime**](org.threeten.bp.OffsetDateTime.md) | | [optional]
-**status** | [**inline**](#Status) | Order Status | [optional]
-**complete** | **kotlin.Boolean** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **petId** | **kotlin.Long** | | [optional] |
+| **quantity** | **kotlin.Int** | | [optional] |
+| **shipDate** | [**org.threeten.bp.OffsetDateTime**](org.threeten.bp.OffsetDateTime.md) | | [optional] |
+| **status** | [**inline**](#Status) | Order Status | [optional] |
+| **complete** | **kotlin.Boolean** | | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | placed, approved, delivered
+| Name | Value |
+| ---- | ----- |
+| status | placed, approved, delivered |
diff --git a/samples/client/petstore/kotlin-threetenbp/docs/Pet.md b/samples/client/petstore/kotlin-threetenbp/docs/Pet.md
index da70fca06e65..287312efaf94 100644
--- a/samples/client/petstore/kotlin-threetenbp/docs/Pet.md
+++ b/samples/client/petstore/kotlin-threetenbp/docs/Pet.md
@@ -2,21 +2,21 @@
# Pet
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**name** | **kotlin.String** | |
-**photoUrls** | **kotlin.collections.List<kotlin.String>** | |
-**id** | **kotlin.Long** | | [optional]
-**category** | [**Category**](Category.md) | | [optional]
-**tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional]
-**status** | [**inline**](#Status) | pet status in the store | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **name** | **kotlin.String** | | |
+| **photoUrls** | **kotlin.collections.List<kotlin.String>** | | |
+| **id** | **kotlin.Long** | | [optional] |
+| **category** | [**Category**](Category.md) | | [optional] |
+| **tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional] |
+| **status** | [**inline**](#Status) | pet status in the store | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | available, pending, sold
+| Name | Value |
+| ---- | ----- |
+| status | available, pending, sold |
diff --git a/samples/client/petstore/kotlin-threetenbp/docs/PetApi.md b/samples/client/petstore/kotlin-threetenbp/docs/PetApi.md
index bb8451def0df..6856ea516dab 100644
--- a/samples/client/petstore/kotlin-threetenbp/docs/PetApi.md
+++ b/samples/client/petstore/kotlin-threetenbp/docs/PetApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**addPet**](PetApi.md#addPet) | **POST** /pet | Add a new pet to the store
-[**deletePet**](PetApi.md#deletePet) | **DELETE** /pet/{petId} | Deletes a pet
-[**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** /pet/findByStatus | Finds Pets by status
-[**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** /pet/findByTags | Finds Pets by tags
-[**getPetById**](PetApi.md#getPetById) | **GET** /pet/{petId} | Find pet by ID
-[**updatePet**](PetApi.md#updatePet) | **PUT** /pet | Update an existing pet
-[**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** /pet/{petId} | Updates a pet in the store with form data
-[**uploadFile**](PetApi.md#uploadFile) | **POST** /pet/{petId}/uploadImage | uploads an image
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**addPet**](PetApi.md#addPet) | **POST** /pet | Add a new pet to the store |
+| [**deletePet**](PetApi.md#deletePet) | **DELETE** /pet/{petId} | Deletes a pet |
+| [**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** /pet/findByStatus | Finds Pets by status |
+| [**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** /pet/findByTags | Finds Pets by tags |
+| [**getPetById**](PetApi.md#getPetById) | **GET** /pet/{petId} | Find pet by ID |
+| [**updatePet**](PetApi.md#updatePet) | **PUT** /pet | Update an existing pet |
+| [**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** /pet/{petId} | Updates a pet in the store with form data |
+| [**uploadFile**](PetApi.md#uploadFile) | **POST** /pet/{petId}/uploadImage | uploads an image |
@@ -40,10 +40,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -87,11 +86,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| Pet id to delete |
- **apiKey** | **kotlin.String**| | [optional]
+| **petId** | **kotlin.Long**| Pet id to delete | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **apiKey** | **kotlin.String**| | [optional] |
### Return type
@@ -137,10 +135,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **status** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [enum: available, pending, sold]
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **status** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [enum: available, pending, sold] |
### Return type
@@ -186,10 +183,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **tags** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Tags to filter by |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **tags** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Tags to filter by | |
### Return type
@@ -235,10 +231,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet to return |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **petId** | **kotlin.Long**| ID of pet to return | |
### Return type
@@ -282,10 +277,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -330,12 +324,11 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet that needs to be updated |
- **name** | **kotlin.String**| Updated name of the pet | [optional]
- **status** | **kotlin.String**| Updated status of the pet | [optional]
+| **petId** | **kotlin.Long**| ID of pet that needs to be updated | |
+| **name** | **kotlin.String**| Updated name of the pet | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **status** | **kotlin.String**| Updated status of the pet | [optional] |
### Return type
@@ -381,12 +374,11 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet to update |
- **additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional]
- **file** | **java.io.File**| file to upload | [optional]
+| **petId** | **kotlin.Long**| ID of pet to update | |
+| **additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **file** | **java.io.File**| file to upload | [optional] |
### Return type
diff --git a/samples/client/petstore/kotlin-threetenbp/docs/StoreApi.md b/samples/client/petstore/kotlin-threetenbp/docs/StoreApi.md
index 9515ccd6d0cb..53ff17b16676 100644
--- a/samples/client/petstore/kotlin-threetenbp/docs/StoreApi.md
+++ b/samples/client/petstore/kotlin-threetenbp/docs/StoreApi.md
@@ -2,12 +2,12 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID
-[**getInventory**](StoreApi.md#getInventory) | **GET** /store/inventory | Returns pet inventories by status
-[**getOrderById**](StoreApi.md#getOrderById) | **GET** /store/order/{orderId} | Find purchase order by ID
-[**placeOrder**](StoreApi.md#placeOrder) | **POST** /store/order | Place an order for a pet
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID |
+| [**getInventory**](StoreApi.md#getInventory) | **GET** /store/inventory | Returns pet inventories by status |
+| [**getOrderById**](StoreApi.md#getOrderById) | **GET** /store/order/{orderId} | Find purchase order by ID |
+| [**placeOrder**](StoreApi.md#placeOrder) | **POST** /store/order | Place an order for a pet |
@@ -38,10 +38,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **kotlin.String**| ID of the order that needs to be deleted |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **orderId** | **kotlin.String**| ID of the order that needs to be deleted | |
### Return type
@@ -131,10 +130,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **kotlin.Long**| ID of pet that needs to be fetched |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **orderId** | **kotlin.Long**| ID of pet that needs to be fetched | |
### Return type
@@ -176,10 +174,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**Order**](Order.md)| order placed for purchasing the pet |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**Order**](Order.md)| order placed for purchasing the pet | |
### Return type
diff --git a/samples/client/petstore/kotlin-threetenbp/docs/Tag.md b/samples/client/petstore/kotlin-threetenbp/docs/Tag.md
index 60ce1bcdbad3..dc8fa3cb555d 100644
--- a/samples/client/petstore/kotlin-threetenbp/docs/Tag.md
+++ b/samples/client/petstore/kotlin-threetenbp/docs/Tag.md
@@ -2,10 +2,10 @@
# Tag
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin-threetenbp/docs/User.md b/samples/client/petstore/kotlin-threetenbp/docs/User.md
index e801729b5ed1..a9f35788637e 100644
--- a/samples/client/petstore/kotlin-threetenbp/docs/User.md
+++ b/samples/client/petstore/kotlin-threetenbp/docs/User.md
@@ -2,16 +2,16 @@
# User
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**username** | **kotlin.String** | | [optional]
-**firstName** | **kotlin.String** | | [optional]
-**lastName** | **kotlin.String** | | [optional]
-**email** | **kotlin.String** | | [optional]
-**password** | **kotlin.String** | | [optional]
-**phone** | **kotlin.String** | | [optional]
-**userStatus** | **kotlin.Int** | User Status | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **username** | **kotlin.String** | | [optional] |
+| **firstName** | **kotlin.String** | | [optional] |
+| **lastName** | **kotlin.String** | | [optional] |
+| **email** | **kotlin.String** | | [optional] |
+| **password** | **kotlin.String** | | [optional] |
+| **phone** | **kotlin.String** | | [optional] |
+| **userStatus** | **kotlin.Int** | User Status | [optional] |
diff --git a/samples/client/petstore/kotlin-threetenbp/docs/UserApi.md b/samples/client/petstore/kotlin-threetenbp/docs/UserApi.md
index fdf75275cb97..82c8d6060276 100644
--- a/samples/client/petstore/kotlin-threetenbp/docs/UserApi.md
+++ b/samples/client/petstore/kotlin-threetenbp/docs/UserApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**createUser**](UserApi.md#createUser) | **POST** /user | Create user
-[**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** /user/createWithArray | Creates list of users with given input array
-[**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** /user/createWithList | Creates list of users with given input array
-[**deleteUser**](UserApi.md#deleteUser) | **DELETE** /user/{username} | Delete user
-[**getUserByName**](UserApi.md#getUserByName) | **GET** /user/{username} | Get user by user name
-[**loginUser**](UserApi.md#loginUser) | **GET** /user/login | Logs user into the system
-[**logoutUser**](UserApi.md#logoutUser) | **GET** /user/logout | Logs out current logged in user session
-[**updateUser**](UserApi.md#updateUser) | **PUT** /user/{username} | Updated user
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**createUser**](UserApi.md#createUser) | **POST** /user | Create user |
+| [**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** /user/createWithArray | Creates list of users with given input array |
+| [**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** /user/createWithList | Creates list of users with given input array |
+| [**deleteUser**](UserApi.md#deleteUser) | **DELETE** /user/{username} | Delete user |
+| [**getUserByName**](UserApi.md#getUserByName) | **GET** /user/{username} | Get user by user name |
+| [**loginUser**](UserApi.md#loginUser) | **GET** /user/login | Logs user into the system |
+| [**logoutUser**](UserApi.md#logoutUser) | **GET** /user/logout | Logs out current logged in user session |
+| [**updateUser**](UserApi.md#updateUser) | **PUT** /user/{username} | Updated user |
@@ -42,10 +42,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**User**](User.md)| Created user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**User**](User.md)| Created user object | |
### Return type
@@ -86,10 +85,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**kotlin.collections.List<User>**](User.md)| List of user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**kotlin.collections.List<User>**](User.md)| List of user object | |
### Return type
@@ -130,10 +128,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**kotlin.collections.List<User>**](User.md)| List of user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**kotlin.collections.List<User>**](User.md)| List of user object | |
### Return type
@@ -176,10 +173,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The name that needs to be deleted |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String**| The name that needs to be deleted | |
### Return type
@@ -221,10 +217,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. | |
### Return type
@@ -267,11 +262,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The user name for login |
- **password** | **kotlin.String**| The password for login in clear text |
+| **username** | **kotlin.String**| The user name for login | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **password** | **kotlin.String**| The password for login in clear text | |
### Return type
@@ -355,11 +349,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| name that need to be deleted |
- **body** | [**User**](User.md)| Updated user object |
+| **username** | **kotlin.String**| name that need to be deleted | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**User**](User.md)| Updated user object | |
### Return type
diff --git a/samples/client/petstore/kotlin-threetenbp/src/main/kotlin/org/openapitools/client/models/Category.kt b/samples/client/petstore/kotlin-threetenbp/src/main/kotlin/org/openapitools/client/models/Category.kt
index 4d74348ecd01..bca19d5c6901 100644
--- a/samples/client/petstore/kotlin-threetenbp/src/main/kotlin/org/openapitools/client/models/Category.kt
+++ b/samples/client/petstore/kotlin-threetenbp/src/main/kotlin/org/openapitools/client/models/Category.kt
@@ -35,5 +35,8 @@ data class Category (
@Json(name = "name")
val name: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-threetenbp/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt b/samples/client/petstore/kotlin-threetenbp/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
index e9e9fe4870d1..ea6bc0a04f89 100644
--- a/samples/client/petstore/kotlin-threetenbp/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
+++ b/samples/client/petstore/kotlin-threetenbp/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
@@ -39,5 +39,8 @@ data class ModelApiResponse (
@Json(name = "message")
val message: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-threetenbp/src/main/kotlin/org/openapitools/client/models/Order.kt b/samples/client/petstore/kotlin-threetenbp/src/main/kotlin/org/openapitools/client/models/Order.kt
index edbff70d9709..2612191cb21f 100644
--- a/samples/client/petstore/kotlin-threetenbp/src/main/kotlin/org/openapitools/client/models/Order.kt
+++ b/samples/client/petstore/kotlin-threetenbp/src/main/kotlin/org/openapitools/client/models/Order.kt
@@ -65,5 +65,6 @@ data class Order (
@Json(name = "approved") approved("approved"),
@Json(name = "delivered") delivered("delivered");
}
+
}
diff --git a/samples/client/petstore/kotlin-threetenbp/src/main/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/petstore/kotlin-threetenbp/src/main/kotlin/org/openapitools/client/models/Pet.kt
index cc35b5164c51..502297c92b0e 100644
--- a/samples/client/petstore/kotlin-threetenbp/src/main/kotlin/org/openapitools/client/models/Pet.kt
+++ b/samples/client/petstore/kotlin-threetenbp/src/main/kotlin/org/openapitools/client/models/Pet.kt
@@ -67,5 +67,6 @@ data class Pet (
@Json(name = "pending") pending("pending"),
@Json(name = "sold") sold("sold");
}
+
}
diff --git a/samples/client/petstore/kotlin-threetenbp/src/main/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/petstore/kotlin-threetenbp/src/main/kotlin/org/openapitools/client/models/Tag.kt
index b21fbab6580d..54bbd138c488 100644
--- a/samples/client/petstore/kotlin-threetenbp/src/main/kotlin/org/openapitools/client/models/Tag.kt
+++ b/samples/client/petstore/kotlin-threetenbp/src/main/kotlin/org/openapitools/client/models/Tag.kt
@@ -35,5 +35,8 @@ data class Tag (
@Json(name = "name")
val name: kotlin.String? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-threetenbp/src/main/kotlin/org/openapitools/client/models/User.kt b/samples/client/petstore/kotlin-threetenbp/src/main/kotlin/org/openapitools/client/models/User.kt
index e5269f5d5d3d..5115585d1a4f 100644
--- a/samples/client/petstore/kotlin-threetenbp/src/main/kotlin/org/openapitools/client/models/User.kt
+++ b/samples/client/petstore/kotlin-threetenbp/src/main/kotlin/org/openapitools/client/models/User.kt
@@ -60,5 +60,8 @@ data class User (
@Json(name = "userStatus")
val userStatus: kotlin.Int? = null
-)
+) {
+
+
+}
diff --git a/samples/client/petstore/kotlin-uppercase-enum/README.md b/samples/client/petstore/kotlin-uppercase-enum/README.md
index a305f642286e..d5c10ce62d3c 100644
--- a/samples/client/petstore/kotlin-uppercase-enum/README.md
+++ b/samples/client/petstore/kotlin-uppercase-enum/README.md
@@ -43,9 +43,9 @@ This runs all tests and packages the library.
All URIs are relative to *http://petstore.swagger.io/v2*
-Class | Method | HTTP request | Description
------------- | ------------- | ------------- | -------------
-*EnumApi* | [**getEnum**](docs/EnumApi.md#getenum) | **GET** /enum | Get enums
+| Class | Method | HTTP request | Description |
+| ------------ | ------------- | ------------- | ------------- |
+| *EnumApi* | [**getEnum**](docs/EnumApi.md#getenum) | **GET** /enum | Get enums |
diff --git a/samples/client/petstore/kotlin-uppercase-enum/docs/EnumApi.md b/samples/client/petstore/kotlin-uppercase-enum/docs/EnumApi.md
index 94dcfcdaa839..1d4005488dac 100644
--- a/samples/client/petstore/kotlin-uppercase-enum/docs/EnumApi.md
+++ b/samples/client/petstore/kotlin-uppercase-enum/docs/EnumApi.md
@@ -2,9 +2,9 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**getEnum**](EnumApi.md#getEnum) | **GET** /enum | Get enums
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**getEnum**](EnumApi.md#getEnum) | **GET** /enum | Get enums |
diff --git a/samples/client/petstore/kotlin/README.md b/samples/client/petstore/kotlin/README.md
index e4e111438878..f1cf0031b0c9 100644
--- a/samples/client/petstore/kotlin/README.md
+++ b/samples/client/petstore/kotlin/README.md
@@ -43,28 +43,28 @@ This runs all tests and packages the library.
All URIs are relative to *http://petstore.swagger.io/v2*
-Class | Method | HTTP request | Description
------------- | ------------- | ------------- | -------------
-*PetApi* | [**addPet**](docs/PetApi.md#addpet) | **POST** /pet | Add a new pet to the store
-*PetApi* | [**deletePet**](docs/PetApi.md#deletepet) | **DELETE** /pet/{petId} | Deletes a pet
-*PetApi* | [**findPetsByStatus**](docs/PetApi.md#findpetsbystatus) | **GET** /pet/findByStatus | Finds Pets by status
-*PetApi* | [**findPetsByTags**](docs/PetApi.md#findpetsbytags) | **GET** /pet/findByTags | Finds Pets by tags
-*PetApi* | [**getPetById**](docs/PetApi.md#getpetbyid) | **GET** /pet/{petId} | Find pet by ID
-*PetApi* | [**updatePet**](docs/PetApi.md#updatepet) | **PUT** /pet | Update an existing pet
-*PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatepetwithform) | **POST** /pet/{petId} | Updates a pet in the store with form data
-*PetApi* | [**uploadFile**](docs/PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image
-*StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteorder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID
-*StoreApi* | [**getInventory**](docs/StoreApi.md#getinventory) | **GET** /store/inventory | Returns pet inventories by status
-*StoreApi* | [**getOrderById**](docs/StoreApi.md#getorderbyid) | **GET** /store/order/{orderId} | Find purchase order by ID
-*StoreApi* | [**placeOrder**](docs/StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet
-*UserApi* | [**createUser**](docs/UserApi.md#createuser) | **POST** /user | Create user
-*UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createuserswitharrayinput) | **POST** /user/createWithArray | Creates list of users with given input array
-*UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createuserswithlistinput) | **POST** /user/createWithList | Creates list of users with given input array
-*UserApi* | [**deleteUser**](docs/UserApi.md#deleteuser) | **DELETE** /user/{username} | Delete user
-*UserApi* | [**getUserByName**](docs/UserApi.md#getuserbyname) | **GET** /user/{username} | Get user by user name
-*UserApi* | [**loginUser**](docs/UserApi.md#loginuser) | **GET** /user/login | Logs user into the system
-*UserApi* | [**logoutUser**](docs/UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session
-*UserApi* | [**updateUser**](docs/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user
+| Class | Method | HTTP request | Description |
+| ------------ | ------------- | ------------- | ------------- |
+| *PetApi* | [**addPet**](docs/PetApi.md#addpet) | **POST** /pet | Add a new pet to the store |
+| *PetApi* | [**deletePet**](docs/PetApi.md#deletepet) | **DELETE** /pet/{petId} | Deletes a pet |
+| *PetApi* | [**findPetsByStatus**](docs/PetApi.md#findpetsbystatus) | **GET** /pet/findByStatus | Finds Pets by status |
+| *PetApi* | [**findPetsByTags**](docs/PetApi.md#findpetsbytags) | **GET** /pet/findByTags | Finds Pets by tags |
+| *PetApi* | [**getPetById**](docs/PetApi.md#getpetbyid) | **GET** /pet/{petId} | Find pet by ID |
+| *PetApi* | [**updatePet**](docs/PetApi.md#updatepet) | **PUT** /pet | Update an existing pet |
+| *PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatepetwithform) | **POST** /pet/{petId} | Updates a pet in the store with form data |
+| *PetApi* | [**uploadFile**](docs/PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image |
+| *StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteorder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID |
+| *StoreApi* | [**getInventory**](docs/StoreApi.md#getinventory) | **GET** /store/inventory | Returns pet inventories by status |
+| *StoreApi* | [**getOrderById**](docs/StoreApi.md#getorderbyid) | **GET** /store/order/{orderId} | Find purchase order by ID |
+| *StoreApi* | [**placeOrder**](docs/StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet |
+| *UserApi* | [**createUser**](docs/UserApi.md#createuser) | **POST** /user | Create user |
+| *UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createuserswitharrayinput) | **POST** /user/createWithArray | Creates list of users with given input array |
+| *UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createuserswithlistinput) | **POST** /user/createWithList | Creates list of users with given input array |
+| *UserApi* | [**deleteUser**](docs/UserApi.md#deleteuser) | **DELETE** /user/{username} | Delete user |
+| *UserApi* | [**getUserByName**](docs/UserApi.md#getuserbyname) | **GET** /user/{username} | Get user by user name |
+| *UserApi* | [**loginUser**](docs/UserApi.md#loginuser) | **GET** /user/login | Logs user into the system |
+| *UserApi* | [**logoutUser**](docs/UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session |
+| *UserApi* | [**updateUser**](docs/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user |
diff --git a/samples/client/petstore/kotlin/docs/ApiResponse.md b/samples/client/petstore/kotlin/docs/ApiResponse.md
index 12f08d5cdef0..059525a99512 100644
--- a/samples/client/petstore/kotlin/docs/ApiResponse.md
+++ b/samples/client/petstore/kotlin/docs/ApiResponse.md
@@ -2,11 +2,11 @@
# ModelApiResponse
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**code** | **kotlin.Int** | | [optional]
-**type** | **kotlin.String** | | [optional]
-**message** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **code** | **kotlin.Int** | | [optional] |
+| **type** | **kotlin.String** | | [optional] |
+| **message** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin/docs/Category.md b/samples/client/petstore/kotlin/docs/Category.md
index 2c28a670fc79..baba5657eb21 100644
--- a/samples/client/petstore/kotlin/docs/Category.md
+++ b/samples/client/petstore/kotlin/docs/Category.md
@@ -2,10 +2,10 @@
# Category
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin/docs/Order.md b/samples/client/petstore/kotlin/docs/Order.md
index c0c951b22d33..7b7a399f7f75 100644
--- a/samples/client/petstore/kotlin/docs/Order.md
+++ b/samples/client/petstore/kotlin/docs/Order.md
@@ -2,21 +2,21 @@
# Order
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**petId** | **kotlin.Long** | | [optional]
-**quantity** | **kotlin.Int** | | [optional]
-**shipDate** | [**java.time.OffsetDateTime**](java.time.OffsetDateTime.md) | | [optional]
-**status** | [**inline**](#Status) | Order Status | [optional]
-**complete** | **kotlin.Boolean** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **petId** | **kotlin.Long** | | [optional] |
+| **quantity** | **kotlin.Int** | | [optional] |
+| **shipDate** | [**java.time.OffsetDateTime**](java.time.OffsetDateTime.md) | | [optional] |
+| **status** | [**inline**](#Status) | Order Status | [optional] |
+| **complete** | **kotlin.Boolean** | | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | placed, approved, delivered
+| Name | Value |
+| ---- | ----- |
+| status | placed, approved, delivered |
diff --git a/samples/client/petstore/kotlin/docs/Pet.md b/samples/client/petstore/kotlin/docs/Pet.md
index da70fca06e65..287312efaf94 100644
--- a/samples/client/petstore/kotlin/docs/Pet.md
+++ b/samples/client/petstore/kotlin/docs/Pet.md
@@ -2,21 +2,21 @@
# Pet
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**name** | **kotlin.String** | |
-**photoUrls** | **kotlin.collections.List<kotlin.String>** | |
-**id** | **kotlin.Long** | | [optional]
-**category** | [**Category**](Category.md) | | [optional]
-**tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional]
-**status** | [**inline**](#Status) | pet status in the store | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **name** | **kotlin.String** | | |
+| **photoUrls** | **kotlin.collections.List<kotlin.String>** | | |
+| **id** | **kotlin.Long** | | [optional] |
+| **category** | [**Category**](Category.md) | | [optional] |
+| **tags** | [**kotlin.collections.List<Tag>**](Tag.md) | | [optional] |
+| **status** | [**inline**](#Status) | pet status in the store | [optional] |
## Enum: status
-Name | Value
----- | -----
-status | available, pending, sold
+| Name | Value |
+| ---- | ----- |
+| status | available, pending, sold |
diff --git a/samples/client/petstore/kotlin/docs/PetApi.md b/samples/client/petstore/kotlin/docs/PetApi.md
index bb8451def0df..6856ea516dab 100644
--- a/samples/client/petstore/kotlin/docs/PetApi.md
+++ b/samples/client/petstore/kotlin/docs/PetApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**addPet**](PetApi.md#addPet) | **POST** /pet | Add a new pet to the store
-[**deletePet**](PetApi.md#deletePet) | **DELETE** /pet/{petId} | Deletes a pet
-[**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** /pet/findByStatus | Finds Pets by status
-[**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** /pet/findByTags | Finds Pets by tags
-[**getPetById**](PetApi.md#getPetById) | **GET** /pet/{petId} | Find pet by ID
-[**updatePet**](PetApi.md#updatePet) | **PUT** /pet | Update an existing pet
-[**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** /pet/{petId} | Updates a pet in the store with form data
-[**uploadFile**](PetApi.md#uploadFile) | **POST** /pet/{petId}/uploadImage | uploads an image
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**addPet**](PetApi.md#addPet) | **POST** /pet | Add a new pet to the store |
+| [**deletePet**](PetApi.md#deletePet) | **DELETE** /pet/{petId} | Deletes a pet |
+| [**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** /pet/findByStatus | Finds Pets by status |
+| [**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** /pet/findByTags | Finds Pets by tags |
+| [**getPetById**](PetApi.md#getPetById) | **GET** /pet/{petId} | Find pet by ID |
+| [**updatePet**](PetApi.md#updatePet) | **PUT** /pet | Update an existing pet |
+| [**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** /pet/{petId} | Updates a pet in the store with form data |
+| [**uploadFile**](PetApi.md#uploadFile) | **POST** /pet/{petId}/uploadImage | uploads an image |
@@ -40,10 +40,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -87,11 +86,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| Pet id to delete |
- **apiKey** | **kotlin.String**| | [optional]
+| **petId** | **kotlin.Long**| Pet id to delete | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **apiKey** | **kotlin.String**| | [optional] |
### Return type
@@ -137,10 +135,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **status** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [enum: available, pending, sold]
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **status** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [enum: available, pending, sold] |
### Return type
@@ -186,10 +183,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **tags** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Tags to filter by |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **tags** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Tags to filter by | |
### Return type
@@ -235,10 +231,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet to return |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **petId** | **kotlin.Long**| ID of pet to return | |
### Return type
@@ -282,10 +277,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -330,12 +324,11 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet that needs to be updated |
- **name** | **kotlin.String**| Updated name of the pet | [optional]
- **status** | **kotlin.String**| Updated status of the pet | [optional]
+| **petId** | **kotlin.Long**| ID of pet that needs to be updated | |
+| **name** | **kotlin.String**| Updated name of the pet | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **status** | **kotlin.String**| Updated status of the pet | [optional] |
### Return type
@@ -381,12 +374,11 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **kotlin.Long**| ID of pet to update |
- **additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional]
- **file** | **java.io.File**| file to upload | [optional]
+| **petId** | **kotlin.Long**| ID of pet to update | |
+| **additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional] |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **file** | **java.io.File**| file to upload | [optional] |
### Return type
diff --git a/samples/client/petstore/kotlin/docs/StoreApi.md b/samples/client/petstore/kotlin/docs/StoreApi.md
index 9515ccd6d0cb..53ff17b16676 100644
--- a/samples/client/petstore/kotlin/docs/StoreApi.md
+++ b/samples/client/petstore/kotlin/docs/StoreApi.md
@@ -2,12 +2,12 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID
-[**getInventory**](StoreApi.md#getInventory) | **GET** /store/inventory | Returns pet inventories by status
-[**getOrderById**](StoreApi.md#getOrderById) | **GET** /store/order/{orderId} | Find purchase order by ID
-[**placeOrder**](StoreApi.md#placeOrder) | **POST** /store/order | Place an order for a pet
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID |
+| [**getInventory**](StoreApi.md#getInventory) | **GET** /store/inventory | Returns pet inventories by status |
+| [**getOrderById**](StoreApi.md#getOrderById) | **GET** /store/order/{orderId} | Find purchase order by ID |
+| [**placeOrder**](StoreApi.md#placeOrder) | **POST** /store/order | Place an order for a pet |
@@ -38,10 +38,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **kotlin.String**| ID of the order that needs to be deleted |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **orderId** | **kotlin.String**| ID of the order that needs to be deleted | |
### Return type
@@ -131,10 +130,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **kotlin.Long**| ID of pet that needs to be fetched |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **orderId** | **kotlin.Long**| ID of pet that needs to be fetched | |
### Return type
@@ -176,10 +174,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**Order**](Order.md)| order placed for purchasing the pet |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**Order**](Order.md)| order placed for purchasing the pet | |
### Return type
diff --git a/samples/client/petstore/kotlin/docs/Tag.md b/samples/client/petstore/kotlin/docs/Tag.md
index 60ce1bcdbad3..dc8fa3cb555d 100644
--- a/samples/client/petstore/kotlin/docs/Tag.md
+++ b/samples/client/petstore/kotlin/docs/Tag.md
@@ -2,10 +2,10 @@
# Tag
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**name** | **kotlin.String** | | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **name** | **kotlin.String** | | [optional] |
diff --git a/samples/client/petstore/kotlin/docs/User.md b/samples/client/petstore/kotlin/docs/User.md
index e801729b5ed1..a9f35788637e 100644
--- a/samples/client/petstore/kotlin/docs/User.md
+++ b/samples/client/petstore/kotlin/docs/User.md
@@ -2,16 +2,16 @@
# User
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **kotlin.Long** | | [optional]
-**username** | **kotlin.String** | | [optional]
-**firstName** | **kotlin.String** | | [optional]
-**lastName** | **kotlin.String** | | [optional]
-**email** | **kotlin.String** | | [optional]
-**password** | **kotlin.String** | | [optional]
-**phone** | **kotlin.String** | | [optional]
-**userStatus** | **kotlin.Int** | User Status | [optional]
+| Name | Type | Description | Notes |
+| ------------ | ------------- | ------------- | ------------- |
+| **id** | **kotlin.Long** | | [optional] |
+| **username** | **kotlin.String** | | [optional] |
+| **firstName** | **kotlin.String** | | [optional] |
+| **lastName** | **kotlin.String** | | [optional] |
+| **email** | **kotlin.String** | | [optional] |
+| **password** | **kotlin.String** | | [optional] |
+| **phone** | **kotlin.String** | | [optional] |
+| **userStatus** | **kotlin.Int** | User Status | [optional] |
diff --git a/samples/client/petstore/kotlin/docs/UserApi.md b/samples/client/petstore/kotlin/docs/UserApi.md
index fdf75275cb97..82c8d6060276 100644
--- a/samples/client/petstore/kotlin/docs/UserApi.md
+++ b/samples/client/petstore/kotlin/docs/UserApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**createUser**](UserApi.md#createUser) | **POST** /user | Create user
-[**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** /user/createWithArray | Creates list of users with given input array
-[**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** /user/createWithList | Creates list of users with given input array
-[**deleteUser**](UserApi.md#deleteUser) | **DELETE** /user/{username} | Delete user
-[**getUserByName**](UserApi.md#getUserByName) | **GET** /user/{username} | Get user by user name
-[**loginUser**](UserApi.md#loginUser) | **GET** /user/login | Logs user into the system
-[**logoutUser**](UserApi.md#logoutUser) | **GET** /user/logout | Logs out current logged in user session
-[**updateUser**](UserApi.md#updateUser) | **PUT** /user/{username} | Updated user
+| Method | HTTP request | Description |
+| ------------- | ------------- | ------------- |
+| [**createUser**](UserApi.md#createUser) | **POST** /user | Create user |
+| [**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** /user/createWithArray | Creates list of users with given input array |
+| [**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** /user/createWithList | Creates list of users with given input array |
+| [**deleteUser**](UserApi.md#deleteUser) | **DELETE** /user/{username} | Delete user |
+| [**getUserByName**](UserApi.md#getUserByName) | **GET** /user/{username} | Get user by user name |
+| [**loginUser**](UserApi.md#loginUser) | **GET** /user/login | Logs user into the system |
+| [**logoutUser**](UserApi.md#logoutUser) | **GET** /user/logout | Logs out current logged in user session |
+| [**updateUser**](UserApi.md#updateUser) | **PUT** /user/{username} | Updated user |
@@ -42,10 +42,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**User**](User.md)| Created user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**User**](User.md)| Created user object | |
### Return type
@@ -86,10 +85,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**kotlin.collections.List<User>**](User.md)| List of user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**kotlin.collections.List<User>**](User.md)| List of user object | |
### Return type
@@ -130,10 +128,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**kotlin.collections.List<User>**](User.md)| List of user object |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**kotlin.collections.List<User>**](User.md)| List of user object | |
### Return type
@@ -176,10 +173,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The name that needs to be deleted |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String**| The name that needs to be deleted | |
### Return type
@@ -221,10 +217,9 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. | |
### Return type
@@ -267,11 +262,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| The user name for login |
- **password** | **kotlin.String**| The password for login in clear text |
+| **username** | **kotlin.String**| The user name for login | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **password** | **kotlin.String**| The password for login in clear text | |
### Return type
@@ -355,11 +349,10 @@ try {
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **kotlin.String**| name that need to be deleted |
- **body** | [**User**](User.md)| Updated user object |
+| **username** | **kotlin.String**| name that need to be deleted | |
+| Name | Type | Description | Notes |
+| ------------- | ------------- | ------------- | ------------- |
+| **body** | [**User**](User.md)| Updated user object | |
### Return type
diff --git a/samples/client/petstore/kotlin/src/main/kotlin/org/openapitools/client/models/Category.kt b/samples/client/petstore/kotlin/src/main/kotlin/org/openapitools/client/models/Category.kt
index 62bb71a96e95..cde43a83f0c1 100644
--- a/samples/client/petstore/kotlin/src/main/kotlin/org/openapitools/client/models/Category.kt
+++ b/samples/client/petstore/kotlin/src/main/kotlin/org/openapitools/client/models/Category.kt
@@ -41,5 +41,6 @@ data class Category (
private const val serialVersionUID: Long = 123
}
+
}
diff --git a/samples/client/petstore/kotlin/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt b/samples/client/petstore/kotlin/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
index 082e0974d88e..a4bef25364d7 100644
--- a/samples/client/petstore/kotlin/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
+++ b/samples/client/petstore/kotlin/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt
@@ -45,5 +45,6 @@ data class ModelApiResponse (
private const val serialVersionUID: Long = 123
}
+
}
diff --git a/samples/client/petstore/kotlin/src/main/kotlin/org/openapitools/client/models/Order.kt b/samples/client/petstore/kotlin/src/main/kotlin/org/openapitools/client/models/Order.kt
index a0253b825c12..a51d95c17765 100644
--- a/samples/client/petstore/kotlin/src/main/kotlin/org/openapitools/client/models/Order.kt
+++ b/samples/client/petstore/kotlin/src/main/kotlin/org/openapitools/client/models/Order.kt
@@ -69,5 +69,6 @@ data class Order (
@Json(name = "approved") approved("approved"),
@Json(name = "delivered") delivered("delivered");
}
+
}
diff --git a/samples/client/petstore/kotlin/src/main/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/petstore/kotlin/src/main/kotlin/org/openapitools/client/models/Pet.kt
index d4c37fe3b112..b231b7819f22 100644
--- a/samples/client/petstore/kotlin/src/main/kotlin/org/openapitools/client/models/Pet.kt
+++ b/samples/client/petstore/kotlin/src/main/kotlin/org/openapitools/client/models/Pet.kt
@@ -71,5 +71,6 @@ data class Pet (
@Json(name = "pending") pending("pending"),
@Json(name = "sold") sold("sold");
}
+
}
diff --git a/samples/client/petstore/kotlin/src/main/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/petstore/kotlin/src/main/kotlin/org/openapitools/client/models/Tag.kt
index 65564b265516..3618e8680eb6 100644
--- a/samples/client/petstore/kotlin/src/main/kotlin/org/openapitools/client/models/Tag.kt
+++ b/samples/client/petstore/kotlin/src/main/kotlin/org/openapitools/client/models/Tag.kt
@@ -41,5 +41,6 @@ data class Tag (
private const val serialVersionUID: Long = 123
}
+
}
diff --git a/samples/client/petstore/kotlin/src/main/kotlin/org/openapitools/client/models/User.kt b/samples/client/petstore/kotlin/src/main/kotlin/org/openapitools/client/models/User.kt
index b307a939ddaf..cabb3df832c2 100644
--- a/samples/client/petstore/kotlin/src/main/kotlin/org/openapitools/client/models/User.kt
+++ b/samples/client/petstore/kotlin/src/main/kotlin/org/openapitools/client/models/User.kt
@@ -66,5 +66,6 @@ data class User (
private const val serialVersionUID: Long = 123
}
+
}
diff --git a/samples/server/petstore/kotlin-spring-default/.openapi-generator/FILES b/samples/server/petstore/kotlin-spring-default/.openapi-generator/FILES
index c2417d947092..71096b46e211 100644
--- a/samples/server/petstore/kotlin-spring-default/.openapi-generator/FILES
+++ b/samples/server/petstore/kotlin-spring-default/.openapi-generator/FILES
@@ -12,11 +12,15 @@ src/main/kotlin/org/openapitools/api/PetApiController.kt
src/main/kotlin/org/openapitools/api/StoreApiController.kt
src/main/kotlin/org/openapitools/api/UserApiController.kt
src/main/kotlin/org/openapitools/model/Annotation.kt
+src/main/kotlin/org/openapitools/model/AnyOfUserOrPet.kt
+src/main/kotlin/org/openapitools/model/AnyOfUserOrPetOrArrayString.kt
src/main/kotlin/org/openapitools/model/Category.kt
src/main/kotlin/org/openapitools/model/ModelApiResponse.kt
src/main/kotlin/org/openapitools/model/Order.kt
src/main/kotlin/org/openapitools/model/Pet.kt
src/main/kotlin/org/openapitools/model/Tag.kt
src/main/kotlin/org/openapitools/model/User.kt
+src/main/kotlin/org/openapitools/model/UserOrPet.kt
+src/main/kotlin/org/openapitools/model/UserOrPetOrArrayString.kt
src/main/resources/application.yaml
src/main/resources/openapi.yaml
diff --git a/samples/server/petstore/kotlin-spring-default/src/main/kotlin/org/openapitools/model/AnyOfUserOrPet.kt b/samples/server/petstore/kotlin-spring-default/src/main/kotlin/org/openapitools/model/AnyOfUserOrPet.kt
new file mode 100644
index 000000000000..58c2718005f2
--- /dev/null
+++ b/samples/server/petstore/kotlin-spring-default/src/main/kotlin/org/openapitools/model/AnyOfUserOrPet.kt
@@ -0,0 +1,94 @@
+package org.openapitools.model
+
+import java.util.Objects
+import com.fasterxml.jackson.annotation.JsonProperty
+import com.fasterxml.jackson.annotation.JsonValue
+import org.openapitools.model.Category
+import org.openapitools.model.Pet
+import org.openapitools.model.Tag
+import org.openapitools.model.User
+import javax.validation.constraints.DecimalMax
+import javax.validation.constraints.DecimalMin
+import javax.validation.constraints.Email
+import javax.validation.constraints.Max
+import javax.validation.constraints.Min
+import javax.validation.constraints.NotNull
+import javax.validation.constraints.Pattern
+import javax.validation.constraints.Size
+import javax.validation.Valid
+import io.swagger.v3.oas.annotations.media.Schema
+
+/**
+ *
+ * @param username
+ * @param name
+ * @param photoUrls
+ * @param id
+ * @param firstName
+ * @param lastName
+ * @param email
+ * @param password
+ * @param phone
+ * @param userStatus User Status
+ * @param category
+ * @param tags
+ * @param status pet status in the store
+ */
+data class AnyOfUserOrPet(
+
+ @Schema(example = "null", required = true, description = "")
+ @get:JsonProperty("username", required = true) val username: kotlin.String,
+
+ @Schema(example = "doggie", required = true, description = "")
+ @get:JsonProperty("name", required = true) val name: kotlin.String,
+
+ @Schema(example = "null", required = true, description = "")
+ @get:JsonProperty("photoUrls", required = true) val photoUrls: kotlin.collections.List,
+
+ @Schema(example = "null", description = "")
+ @get:JsonProperty("id") val id: kotlin.Long? = null,
+
+ @Schema(example = "null", description = "")
+ @get:JsonProperty("firstName") val firstName: kotlin.String? = null,
+
+ @Schema(example = "null", description = "")
+ @get:JsonProperty("lastName") val lastName: kotlin.String? = null,
+
+ @Schema(example = "null", description = "")
+ @get:JsonProperty("email") val email: kotlin.String? = null,
+
+ @Schema(example = "null", description = "")
+ @get:JsonProperty("password") val password: kotlin.String? = null,
+
+ @Schema(example = "null", description = "")
+ @get:JsonProperty("phone") val phone: kotlin.String? = null,
+
+ @Schema(example = "null", description = "User Status")
+ @get:JsonProperty("userStatus") val userStatus: kotlin.Int? = null,
+
+ @field:Valid
+ @Schema(example = "null", description = "")
+ @get:JsonProperty("category") val category: Category? = null,
+
+ @field:Valid
+ @Schema(example = "null", description = "")
+ @get:JsonProperty("tags") val tags: kotlin.collections.List? = null,
+
+ @Schema(example = "null", description = "pet status in the store")
+ @Deprecated(message = "")
+ @get:JsonProperty("status") val status: AnyOfUserOrPet.Status? = null
+) {
+
+ /**
+ * pet status in the store
+ * Values: available,pending,sold
+ */
+ enum class Status(val value: kotlin.String) {
+
+ @JsonProperty("available") available("available"),
+ @JsonProperty("pending") pending("pending"),
+ @JsonProperty("sold") sold("sold")
+ }
+
+}
+
diff --git a/samples/server/petstore/kotlin-spring-default/src/main/kotlin/org/openapitools/model/AnyOfUserOrPetOrArrayString.kt b/samples/server/petstore/kotlin-spring-default/src/main/kotlin/org/openapitools/model/AnyOfUserOrPetOrArrayString.kt
new file mode 100644
index 000000000000..89350ba09207
--- /dev/null
+++ b/samples/server/petstore/kotlin-spring-default/src/main/kotlin/org/openapitools/model/AnyOfUserOrPetOrArrayString.kt
@@ -0,0 +1,94 @@
+package org.openapitools.model
+
+import java.util.Objects
+import com.fasterxml.jackson.annotation.JsonProperty
+import com.fasterxml.jackson.annotation.JsonValue
+import org.openapitools.model.Category
+import org.openapitools.model.Pet
+import org.openapitools.model.Tag
+import org.openapitools.model.User
+import javax.validation.constraints.DecimalMax
+import javax.validation.constraints.DecimalMin
+import javax.validation.constraints.Email
+import javax.validation.constraints.Max
+import javax.validation.constraints.Min
+import javax.validation.constraints.NotNull
+import javax.validation.constraints.Pattern
+import javax.validation.constraints.Size
+import javax.validation.Valid
+import io.swagger.v3.oas.annotations.media.Schema
+
+/**
+ *
+ * @param username
+ * @param name
+ * @param photoUrls
+ * @param id
+ * @param firstName
+ * @param lastName
+ * @param email
+ * @param password
+ * @param phone
+ * @param userStatus User Status
+ * @param category
+ * @param tags
+ * @param status pet status in the store
+ */
+data class AnyOfUserOrPetOrArrayString(
+
+ @Schema(example = "null", required = true, description = "")
+ @get:JsonProperty("username", required = true) val username: kotlin.String,
+
+ @Schema(example = "doggie", required = true, description = "")
+ @get:JsonProperty("name", required = true) val name: kotlin.String,
+
+ @Schema(example = "null", required = true, description = "")
+ @get:JsonProperty("photoUrls", required = true) val photoUrls: kotlin.collections.List,
+
+ @Schema(example = "null", description = "")
+ @get:JsonProperty("id") val id: kotlin.Long? = null,
+
+ @Schema(example = "null", description = "")
+ @get:JsonProperty("firstName") val firstName: kotlin.String? = null,
+
+ @Schema(example = "null", description = "")
+ @get:JsonProperty("lastName") val lastName: kotlin.String? = null,
+
+ @Schema(example = "null", description = "")
+ @get:JsonProperty("email") val email: kotlin.String? = null,
+
+ @Schema(example = "null", description = "")
+ @get:JsonProperty("password") val password: kotlin.String? = null,
+
+ @Schema(example = "null", description = "")
+ @get:JsonProperty("phone") val phone: kotlin.String? = null,
+
+ @Schema(example = "null", description = "User Status")
+ @get:JsonProperty("userStatus") val userStatus: kotlin.Int? = null,
+
+ @field:Valid
+ @Schema(example = "null", description = "")
+ @get:JsonProperty("category") val category: Category? = null,
+
+ @field:Valid
+ @Schema(example = "null", description = "")
+ @get:JsonProperty("tags") val tags: kotlin.collections.List? = null,
+
+ @Schema(example = "null", description = "pet status in the store")
+ @Deprecated(message = "")
+ @get:JsonProperty("status") val status: AnyOfUserOrPetOrArrayString.Status? = null
+) {
+
+ /**
+ * pet status in the store
+ * Values: available,pending,sold
+ */
+ enum class Status(val value: kotlin.String) {
+
+ @JsonProperty("available") available("available"),
+ @JsonProperty("pending") pending("pending"),
+ @JsonProperty("sold") sold("sold")
+ }
+
+}
+
diff --git a/samples/server/petstore/kotlin-spring-default/src/main/kotlin/org/openapitools/model/User.kt b/samples/server/petstore/kotlin-spring-default/src/main/kotlin/org/openapitools/model/User.kt
index ef3d46afd3e2..54e6eba1fee5 100644
--- a/samples/server/petstore/kotlin-spring-default/src/main/kotlin/org/openapitools/model/User.kt
+++ b/samples/server/petstore/kotlin-spring-default/src/main/kotlin/org/openapitools/model/User.kt
@@ -15,8 +15,8 @@ import io.swagger.v3.oas.annotations.media.Schema
/**
* A User who is purchasing from the pet store
- * @param id
* @param username
+ * @param id
* @param firstName
* @param lastName
* @param email
@@ -26,11 +26,11 @@ import io.swagger.v3.oas.annotations.media.Schema
*/
data class User(
- @Schema(example = "null", description = "")
- @get:JsonProperty("id") val id: kotlin.Long? = null,
+ @Schema(example = "null", required = true, description = "")
+ @get:JsonProperty("username", required = true) val username: kotlin.String,
@Schema(example = "null", description = "")
- @get:JsonProperty("username") val username: kotlin.String? = null,
+ @get:JsonProperty("id") val id: kotlin.Long? = null,
@Schema(example = "null", description = "")
@get:JsonProperty("firstName") val firstName: kotlin.String? = null,
diff --git a/samples/server/petstore/kotlin-spring-default/src/main/kotlin/org/openapitools/model/UserOrPet.kt b/samples/server/petstore/kotlin-spring-default/src/main/kotlin/org/openapitools/model/UserOrPet.kt
new file mode 100644
index 000000000000..a332ca3e87b0
--- /dev/null
+++ b/samples/server/petstore/kotlin-spring-default/src/main/kotlin/org/openapitools/model/UserOrPet.kt
@@ -0,0 +1,94 @@
+package org.openapitools.model
+
+import java.util.Objects
+import com.fasterxml.jackson.annotation.JsonProperty
+import com.fasterxml.jackson.annotation.JsonValue
+import org.openapitools.model.Category
+import org.openapitools.model.Pet
+import org.openapitools.model.Tag
+import org.openapitools.model.User
+import javax.validation.constraints.DecimalMax
+import javax.validation.constraints.DecimalMin
+import javax.validation.constraints.Email
+import javax.validation.constraints.Max
+import javax.validation.constraints.Min
+import javax.validation.constraints.NotNull
+import javax.validation.constraints.Pattern
+import javax.validation.constraints.Size
+import javax.validation.Valid
+import io.swagger.v3.oas.annotations.media.Schema
+
+/**
+ *
+ * @param username
+ * @param name
+ * @param photoUrls
+ * @param id
+ * @param firstName
+ * @param lastName
+ * @param email
+ * @param password
+ * @param phone
+ * @param userStatus User Status
+ * @param category
+ * @param tags
+ * @param status pet status in the store
+ */
+data class UserOrPet(
+
+ @Schema(example = "null", required = true, description = "")
+ @get:JsonProperty("username", required = true) val username: kotlin.String,
+
+ @Schema(example = "doggie", required = true, description = "")
+ @get:JsonProperty("name", required = true) val name: kotlin.String,
+
+ @Schema(example = "null", required = true, description = "")
+ @get:JsonProperty("photoUrls", required = true) val photoUrls: kotlin.collections.List,
+
+ @Schema(example = "null", description = "")
+ @get:JsonProperty("id") val id: kotlin.Long? = null,
+
+ @Schema(example = "null", description = "")
+ @get:JsonProperty("firstName") val firstName: kotlin.String? = null,
+
+ @Schema(example = "null", description = "")
+ @get:JsonProperty("lastName") val lastName: kotlin.String? = null,
+
+ @Schema(example = "null", description = "")
+ @get:JsonProperty("email") val email: kotlin.String? = null,
+
+ @Schema(example = "null", description = "")
+ @get:JsonProperty("password") val password: kotlin.String? = null,
+
+ @Schema(example = "null", description = "")
+ @get:JsonProperty("phone") val phone: kotlin.String? = null,
+
+ @Schema(example = "null", description = "User Status")
+ @get:JsonProperty("userStatus") val userStatus: kotlin.Int? = null,
+
+ @field:Valid
+ @Schema(example = "null", description = "")
+ @get:JsonProperty("category") val category: Category? = null,
+
+ @field:Valid
+ @Schema(example = "null", description = "")
+ @get:JsonProperty("tags") val tags: kotlin.collections.List? = null,
+
+ @Schema(example = "null", description = "pet status in the store")
+ @Deprecated(message = "")
+ @get:JsonProperty("status") val status: UserOrPet.Status? = null
+) {
+
+ /**
+ * pet status in the store
+ * Values: available,pending,sold
+ */
+ enum class Status(val value: kotlin.String) {
+
+ @JsonProperty("available") available("available"),
+ @JsonProperty("pending") pending("pending"),
+ @JsonProperty("sold") sold("sold")
+ }
+
+}
+
diff --git a/samples/server/petstore/kotlin-spring-default/src/main/kotlin/org/openapitools/model/UserOrPetOrArrayString.kt b/samples/server/petstore/kotlin-spring-default/src/main/kotlin/org/openapitools/model/UserOrPetOrArrayString.kt
new file mode 100644
index 000000000000..0a39fac9f4de
--- /dev/null
+++ b/samples/server/petstore/kotlin-spring-default/src/main/kotlin/org/openapitools/model/UserOrPetOrArrayString.kt
@@ -0,0 +1,94 @@
+package org.openapitools.model
+
+import java.util.Objects
+import com.fasterxml.jackson.annotation.JsonProperty
+import com.fasterxml.jackson.annotation.JsonValue
+import org.openapitools.model.Category
+import org.openapitools.model.Pet
+import org.openapitools.model.Tag
+import org.openapitools.model.User
+import javax.validation.constraints.DecimalMax
+import javax.validation.constraints.DecimalMin
+import javax.validation.constraints.Email
+import javax.validation.constraints.Max
+import javax.validation.constraints.Min
+import javax.validation.constraints.NotNull
+import javax.validation.constraints.Pattern
+import javax.validation.constraints.Size
+import javax.validation.Valid
+import io.swagger.v3.oas.annotations.media.Schema
+
+/**
+ *
+ * @param username
+ * @param name
+ * @param photoUrls
+ * @param id
+ * @param firstName
+ * @param lastName
+ * @param email
+ * @param password
+ * @param phone
+ * @param userStatus User Status
+ * @param category
+ * @param tags
+ * @param status pet status in the store
+ */
+data class UserOrPetOrArrayString(
+
+ @Schema(example = "null", required = true, description = "")
+ @get:JsonProperty("username", required = true) val username: kotlin.String,
+
+ @Schema(example = "doggie", required = true, description = "")
+ @get:JsonProperty("name", required = true) val name: kotlin.String,
+
+ @Schema(example = "null", required = true, description = "")
+ @get:JsonProperty("photoUrls", required = true) val photoUrls: kotlin.collections.List,
+
+ @Schema(example = "null", description = "")
+ @get:JsonProperty("id") val id: kotlin.Long? = null,
+
+ @Schema(example = "null", description = "")
+ @get:JsonProperty("firstName") val firstName: kotlin.String? = null,
+
+ @Schema(example = "null", description = "")
+ @get:JsonProperty("lastName") val lastName: kotlin.String? = null,
+
+ @Schema(example = "null", description = "")
+ @get:JsonProperty("email") val email: kotlin.String? = null,
+
+ @Schema(example = "null", description = "")
+ @get:JsonProperty("password") val password: kotlin.String? = null,
+
+ @Schema(example = "null", description = "")
+ @get:JsonProperty("phone") val phone: kotlin.String? = null,
+
+ @Schema(example = "null", description = "User Status")
+ @get:JsonProperty("userStatus") val userStatus: kotlin.Int? = null,
+
+ @field:Valid
+ @Schema(example = "null", description = "")
+ @get:JsonProperty("category") val category: Category? = null,
+
+ @field:Valid
+ @Schema(example = "null", description = "")
+ @get:JsonProperty("tags") val tags: kotlin.collections.List? = null,
+
+ @Schema(example = "null", description = "pet status in the store")
+ @Deprecated(message = "")
+ @get:JsonProperty("status") val status: UserOrPetOrArrayString.Status? = null
+) {
+
+ /**
+ * pet status in the store
+ * Values: available,pending,sold
+ */
+ enum class Status(val value: kotlin.String) {
+
+ @JsonProperty("available") available("available"),
+ @JsonProperty("pending") pending("pending"),
+ @JsonProperty("sold") sold("sold")
+ }
+
+}
+
diff --git a/samples/server/petstore/kotlin-spring-default/src/main/resources/openapi.yaml b/samples/server/petstore/kotlin-spring-default/src/main/resources/openapi.yaml
index 8fd756455bff..d1313168e5de 100644
--- a/samples/server/petstore/kotlin-spring-default/src/main/resources/openapi.yaml
+++ b/samples/server/petstore/kotlin-spring-default/src/main/resources/openapi.yaml
@@ -702,6 +702,8 @@ components:
description: User Status
format: int32
type: integer
+ required:
+ - username
title: a User
type: object
xml:
@@ -800,6 +802,28 @@ components:
format: uuid
type: string
type: object
+ UserOrPet:
+ oneOf:
+ - $ref: '#/components/schemas/User'
+ - $ref: '#/components/schemas/Pet'
+ UserOrPetOrArrayString:
+ oneOf:
+ - $ref: '#/components/schemas/User'
+ - $ref: '#/components/schemas/Pet'
+ - items:
+ type: string
+ type: array
+ AnyOfUserOrPet:
+ anyOf:
+ - $ref: '#/components/schemas/User'
+ - $ref: '#/components/schemas/Pet'
+ AnyOfUserOrPetOrArrayString:
+ anyOf:
+ - $ref: '#/components/schemas/User'
+ - $ref: '#/components/schemas/Pet'
+ - items:
+ type: string
+ type: array
updatePetWithForm_request:
properties:
name: