forked from loafle/openapi-generator-original
Change default package name value for kotlin client (#382)
* Move pom.xml to sample.ci * Regenerate 'kotlin-threetenbp' example * Add build to gitignore * Change default value for Kotlin * Regenerate kotlin-string client * Regenerate kotlin-threetenbp client * Regenerate 'samples/client/petstore/kotlin'
This commit is contained in:
committed by
William Cheng
parent
e2d6f7c88f
commit
d35bf1a388
@@ -9,12 +9,12 @@
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
package io.swagger.client.apis
|
||||
package org.openapitools.client.apis
|
||||
|
||||
import io.swagger.client.models.ApiResponse
|
||||
import io.swagger.client.models.Pet
|
||||
import org.openapitools.client.models.ApiResponse
|
||||
import org.openapitools.client.models.Pet
|
||||
|
||||
import io.swagger.client.infrastructure.*
|
||||
import org.openapitools.client.infrastructure.*
|
||||
|
||||
class PetApi(basePath: kotlin.String = "http://petstore.swagger.io/v2") : ApiClient(basePath) {
|
||||
|
||||
@@ -9,11 +9,11 @@
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
package io.swagger.client.apis
|
||||
package org.openapitools.client.apis
|
||||
|
||||
import io.swagger.client.models.Order
|
||||
import org.openapitools.client.models.Order
|
||||
|
||||
import io.swagger.client.infrastructure.*
|
||||
import org.openapitools.client.infrastructure.*
|
||||
|
||||
class StoreApi(basePath: kotlin.String = "http://petstore.swagger.io/v2") : ApiClient(basePath) {
|
||||
|
||||
@@ -9,11 +9,11 @@
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
package io.swagger.client.apis
|
||||
package org.openapitools.client.apis
|
||||
|
||||
import io.swagger.client.models.User
|
||||
import org.openapitools.client.models.User
|
||||
|
||||
import io.swagger.client.infrastructure.*
|
||||
import org.openapitools.client.infrastructure.*
|
||||
|
||||
class UserApi(basePath: kotlin.String = "http://petstore.swagger.io/v2") : ApiClient(basePath) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package io.swagger.client.infrastructure
|
||||
package org.openapitools.client.infrastructure
|
||||
|
||||
typealias MultiValueMap = Map<String,List<String>>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package io.swagger.client.infrastructure
|
||||
package org.openapitools.client.infrastructure
|
||||
|
||||
import okhttp3.*
|
||||
import java.io.File
|
||||
@@ -1,4 +1,4 @@
|
||||
package io.swagger.client.infrastructure
|
||||
package org.openapitools.client.infrastructure
|
||||
|
||||
enum class ResponseType {
|
||||
Success, Informational, Redirection, ClientError, ServerError
|
||||
@@ -1,4 +1,4 @@
|
||||
package io.swagger.client.infrastructure
|
||||
package org.openapitools.client.infrastructure
|
||||
|
||||
import kotlin.properties.ReadWriteProperty
|
||||
import kotlin.reflect.KProperty
|
||||
@@ -1,5 +1,5 @@
|
||||
@file:Suppress("unused")
|
||||
package io.swagger.client.infrastructure
|
||||
package org.openapitools.client.infrastructure
|
||||
|
||||
import java.lang.RuntimeException
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package io.swagger.client.infrastructure
|
||||
package org.openapitools.client.infrastructure
|
||||
|
||||
/**
|
||||
* Defines a config object for a given request.
|
||||
@@ -1,4 +1,4 @@
|
||||
package io.swagger.client.infrastructure
|
||||
package org.openapitools.client.infrastructure
|
||||
|
||||
/**
|
||||
* Provides enumerated HTTP verbs
|
||||
@@ -1,4 +1,4 @@
|
||||
package io.swagger.client.infrastructure
|
||||
package org.openapitools.client.infrastructure
|
||||
|
||||
import okhttp3.Response
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package io.swagger.client.infrastructure
|
||||
package org.openapitools.client.infrastructure
|
||||
|
||||
import com.squareup.moshi.KotlinJsonAdapterFactory
|
||||
import com.squareup.moshi.Moshi
|
||||
@@ -9,7 +9,7 @@
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
package io.swagger.client.models
|
||||
package org.openapitools.client.models
|
||||
|
||||
|
||||
/**
|
||||
@@ -9,7 +9,7 @@
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
package io.swagger.client.models
|
||||
package org.openapitools.client.models
|
||||
|
||||
|
||||
/**
|
||||
@@ -9,7 +9,7 @@
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
package io.swagger.client.models
|
||||
package org.openapitools.client.models
|
||||
|
||||
|
||||
import com.squareup.moshi.Json
|
||||
@@ -9,10 +9,10 @@
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
package io.swagger.client.models
|
||||
package org.openapitools.client.models
|
||||
|
||||
import io.swagger.client.models.Category
|
||||
import io.swagger.client.models.Tag
|
||||
import org.openapitools.client.models.Category
|
||||
import org.openapitools.client.models.Tag
|
||||
|
||||
import com.squareup.moshi.Json
|
||||
/**
|
||||
@@ -9,7 +9,7 @@
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
package io.swagger.client.models
|
||||
package org.openapitools.client.models
|
||||
|
||||
|
||||
/**
|
||||
@@ -9,7 +9,7 @@
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
package io.swagger.client.models
|
||||
package org.openapitools.client.models
|
||||
|
||||
|
||||
/**
|
||||
Reference in New Issue
Block a user