forked from loafle/openapi-generator-original
replace tab with spaces, minor code format change (#8774)
This commit is contained in:
@@ -2,21 +2,22 @@ package org.openapitools.api
|
||||
|
||||
import org.openapitools.model.ModelApiResponse
|
||||
import org.openapitools.model.Pet
|
||||
|
||||
interface PetApiService {
|
||||
|
||||
fun addPet(body: Pet): Unit
|
||||
fun addPet(body: Pet): Unit
|
||||
|
||||
fun deletePet(petId: kotlin.Long, apiKey: kotlin.String?): Unit
|
||||
fun deletePet(petId: kotlin.Long, apiKey: kotlin.String?): Unit
|
||||
|
||||
fun findPetsByStatus(status: kotlin.collections.List<kotlin.String>): List<Pet>
|
||||
fun findPetsByStatus(status: kotlin.collections.List<kotlin.String>): List<Pet>
|
||||
|
||||
fun findPetsByTags(tags: kotlin.collections.List<kotlin.String>): List<Pet>
|
||||
fun findPetsByTags(tags: kotlin.collections.List<kotlin.String>): List<Pet>
|
||||
|
||||
fun getPetById(petId: kotlin.Long): Pet
|
||||
fun getPetById(petId: kotlin.Long): Pet
|
||||
|
||||
fun updatePet(body: Pet): Unit
|
||||
fun updatePet(body: Pet): Unit
|
||||
|
||||
fun updatePetWithForm(petId: kotlin.Long, name: kotlin.String?, status: kotlin.String?): Unit
|
||||
fun updatePetWithForm(petId: kotlin.Long, name: kotlin.String?, status: kotlin.String?): Unit
|
||||
|
||||
fun uploadFile(petId: kotlin.Long, additionalMetadata: kotlin.String?, file: org.springframework.core.io.Resource?): ModelApiResponse
|
||||
fun uploadFile(petId: kotlin.Long, additionalMetadata: kotlin.String?, file: org.springframework.core.io.Resource?): ModelApiResponse
|
||||
}
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
package org.openapitools.api
|
||||
|
||||
import org.openapitools.model.Order
|
||||
|
||||
interface StoreApiService {
|
||||
|
||||
fun deleteOrder(orderId: kotlin.String): Unit
|
||||
fun deleteOrder(orderId: kotlin.String): Unit
|
||||
|
||||
fun getInventory(): Map<String, kotlin.Int>
|
||||
fun getInventory(): Map<String, kotlin.Int>
|
||||
|
||||
fun getOrderById(orderId: kotlin.Long): Order
|
||||
fun getOrderById(orderId: kotlin.Long): Order
|
||||
|
||||
fun placeOrder(body: Order): Order
|
||||
fun placeOrder(body: Order): Order
|
||||
}
|
||||
|
||||
@@ -1,21 +1,22 @@
|
||||
package org.openapitools.api
|
||||
|
||||
import org.openapitools.model.User
|
||||
|
||||
interface UserApiService {
|
||||
|
||||
fun createUser(body: User): Unit
|
||||
fun createUser(body: User): Unit
|
||||
|
||||
fun createUsersWithArrayInput(body: kotlin.collections.List<User>): Unit
|
||||
fun createUsersWithArrayInput(body: kotlin.collections.List<User>): Unit
|
||||
|
||||
fun createUsersWithListInput(body: kotlin.collections.List<User>): Unit
|
||||
fun createUsersWithListInput(body: kotlin.collections.List<User>): Unit
|
||||
|
||||
fun deleteUser(username: kotlin.String): Unit
|
||||
fun deleteUser(username: kotlin.String): Unit
|
||||
|
||||
fun getUserByName(username: kotlin.String): User
|
||||
fun getUserByName(username: kotlin.String): User
|
||||
|
||||
fun loginUser(username: kotlin.String, password: kotlin.String): kotlin.String
|
||||
fun loginUser(username: kotlin.String, password: kotlin.String): kotlin.String
|
||||
|
||||
fun logoutUser(): Unit
|
||||
fun logoutUser(): Unit
|
||||
|
||||
fun updateUser(username: kotlin.String, body: User): Unit
|
||||
fun updateUser(username: kotlin.String, body: User): Unit
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user