forked from loafle/openapi-generator-original
replace tab with spaces, minor code format change (#8774)
This commit is contained in:
@@ -5,6 +5,7 @@ package {{package}}
|
||||
{{#reactive}}
|
||||
import kotlinx.coroutines.flow.Flow;
|
||||
{{/reactive}}
|
||||
|
||||
{{#operations}}
|
||||
interface {{classname}}Service {
|
||||
{{#operation}}
|
||||
|
||||
@@ -3,6 +3,7 @@ package org.openapitools.api
|
||||
import org.openapitools.model.ModelApiResponse
|
||||
import org.openapitools.model.Pet
|
||||
import kotlinx.coroutines.flow.Flow;
|
||||
|
||||
interface PetApiService {
|
||||
|
||||
suspend fun addPet(body: Pet): Unit
|
||||
|
||||
@@ -2,6 +2,7 @@ package org.openapitools.api
|
||||
|
||||
import org.openapitools.model.Order
|
||||
import kotlinx.coroutines.flow.Flow;
|
||||
|
||||
interface StoreApiService {
|
||||
|
||||
suspend fun deleteOrder(orderId: kotlin.String): Unit
|
||||
|
||||
@@ -2,6 +2,7 @@ package org.openapitools.api
|
||||
|
||||
import org.openapitools.model.User
|
||||
import kotlinx.coroutines.flow.Flow;
|
||||
|
||||
interface UserApiService {
|
||||
|
||||
suspend fun createUser(body: User): Unit
|
||||
|
||||
@@ -2,6 +2,7 @@ package org.openapitools.api
|
||||
|
||||
import org.openapitools.model.ModelApiResponse
|
||||
import org.openapitools.model.Pet
|
||||
|
||||
interface PetApiService {
|
||||
|
||||
fun addPet(body: Pet): Unit
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
package org.openapitools.api
|
||||
|
||||
import org.openapitools.model.Order
|
||||
|
||||
interface StoreApiService {
|
||||
|
||||
fun deleteOrder(orderId: kotlin.String): Unit
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
package org.openapitools.api
|
||||
|
||||
import org.openapitools.model.User
|
||||
|
||||
interface UserApiService {
|
||||
|
||||
fun createUser(body: User): Unit
|
||||
|
||||
Reference in New Issue
Block a user