You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: samples/server/petstore/kotlin-springboot-reactive/src/main/kotlin/org/openapitools/api/PetApiController.kt
+12-8Lines changed: 12 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -40,16 +40,18 @@ class PetApiController(@Autowired(required = true) val service: PetApiService) {
suspendfunaddPet(@Parameter(description ="Pet object that needs to be added to the store", required =true) @Valid @RequestBody body:Pet): ResponseEntity<Unit> {
suspendfunaddPet(@Parameter(description ="Pet object that needs to be added to the store", required =true) @Valid @RequestBody pet:Pet): ResponseEntity<Pet> {
funfindPetsByStatus(@NotNull @Parameter(description ="Status values that need to be considered for filter", required =true, schema =Schema(allowableValues = ["available", "pending", "sold"])) @Valid @RequestParam(value ="status", required =true) status: kotlin.collections.List<kotlin.String>): ResponseEntity<Flow<Pet>> {
87
+
funfindPetsByStatus(@NotNull @Parameter(description ="Status values that need to be considered for filter", required =true, schema =Schema(allowableValues = ["available", "pending", "sold"])) @Valid @RequestParam(value ="status", required =true) status: kotlin.collections.List<kotlin.String>): ResponseEntity<List<Pet>> {
suspendfunupdatePet(@Parameter(description ="Pet object that needs to be added to the store", required =true) @Valid @RequestBody body:Pet): ResponseEntity<Unit> {
suspendfunupdatePet(@Parameter(description ="Pet object that needs to be added to the store", required =true) @Valid @RequestBody pet:Pet): ResponseEntity<Pet> {
Copy file name to clipboardExpand all lines: samples/server/petstore/kotlin-springboot-reactive/src/main/kotlin/org/openapitools/api/PetApiServiceImpl.kt
Copy file name to clipboardExpand all lines: samples/server/petstore/kotlin-springboot-reactive/src/main/kotlin/org/openapitools/api/StoreApiController.kt
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -96,9 +96,10 @@ class StoreApiController(@Autowired(required = true) val service: StoreApiServic
Copy file name to clipboardExpand all lines: samples/server/petstore/kotlin-springboot-reactive/src/main/kotlin/org/openapitools/api/StoreApiService.kt
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -39,11 +39,12 @@ interface StoreApiService {
39
39
40
40
/**
41
41
* POST /store/order : Place an order for a pet
42
+
*
42
43
*
43
-
* @param body order placed for purchasing the pet (required)
44
+
* @param order order placed for purchasing the pet (required)
Copy file name to clipboardExpand all lines: samples/server/petstore/kotlin-springboot-reactive/src/main/kotlin/org/openapitools/api/StoreApiServiceImpl.kt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ class StoreApiServiceImpl : StoreApiService {
18
18
TODO("Implement me")
19
19
}
20
20
21
-
overridesuspendfunplaceOrder(body:Order): Order {
21
+
overridesuspendfunplaceOrder(order:Order): Order {
Copy file name to clipboardExpand all lines: samples/server/petstore/kotlin-springboot-reactive/src/main/kotlin/org/openapitools/api/UserApiController.kt
+29-19Lines changed: 29 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -39,44 +39,50 @@ class UserApiController(@Autowired(required = true) val service: UserApiService)
39
39
operationId ="createUser",
40
40
description ="""This can only be done by the logged in user.""",
suspendfunupdateUser(@Parameter(description ="name that need to be deleted", required =true) @PathVariable("username") username: kotlin.String,@Parameter(description ="Updated user object", required =true) @Valid @RequestBody body:User): ResponseEntity<Unit> {
suspendfunupdateUser(@Parameter(description ="name that need to be deleted", required =true) @PathVariable("username") username: kotlin.String,@Parameter(description ="Updated user object", required =true) @Valid @RequestBody user:User): ResponseEntity<Unit> {
0 commit comments