Skip to content

Commit 2fa692c

Browse files
committed
Regenerate samples
1 parent 78868fa commit 2fa692c

30 files changed

Lines changed: 30 additions & 0 deletions

File tree

samples/server/petstore/kotlin-spring-cloud/src/main/kotlin/org/openapitools/api/PetApi.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ interface PetApi {
7373
}
7474

7575

76+
@Deprecated(message="Operation is deprecated")
7677
@RequestMapping(
7778
method = [RequestMethod.GET],
7879
// "/pet/findByTags"

samples/server/petstore/kotlin-spring-default/src/main/kotlin/org/openapitools/api/PetApiController.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ class PetApiController() {
106106
ApiResponse(responseCode = "400", description = "Invalid tag value") ],
107107
security = [ SecurityRequirement(name = "petstore_auth", scopes = [ "read:pets" ]) ]
108108
)
109+
@Deprecated(message="Operation is deprecated")
109110
@RequestMapping(
110111
method = [RequestMethod.GET],
111112
// "/pet/findByTags"

samples/server/petstore/kotlin-spring-sealed-interfaces/src/main/kotlin/org/openapitools/api/PetApi.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ interface PetApi {
7878
}
7979

8080

81+
@Deprecated(message="Operation is deprecated")
8182
@RequestMapping(
8283
method = [RequestMethod.GET],
8384
// "/pet/findByTags"

samples/server/petstore/kotlin-springboot-3-no-response-entity/src/main/kotlin/org/openapitools/api/PetApiController.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ class PetApiController(@Autowired(required = true) val service: PetApiService) {
6969
}
7070

7171

72+
@Deprecated(message="Operation is deprecated")
7273
@RequestMapping(
7374
method = [RequestMethod.GET],
7475
// "/pet/findByTags"

samples/server/petstore/kotlin-springboot-3-no-response-entity/src/main/kotlin/org/openapitools/api/PetApiService.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ interface PetApiService {
4848
* @deprecated
4949
* @see PetApi#findPetsByTags
5050
*/
51+
@Deprecated(message="Operation is deprecated")
5152
fun findPetsByTags(tags: kotlin.collections.List<kotlin.String>): List<Pet>
5253

5354
/**

samples/server/petstore/kotlin-springboot-3/src/main/kotlin/org/openapitools/api/PetApiController.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ class PetApiController(@Autowired(required = true) val service: PetApiService) {
6969
}
7070

7171

72+
@Deprecated(message="Operation is deprecated")
7273
@RequestMapping(
7374
method = [RequestMethod.GET],
7475
// "/pet/findByTags"

samples/server/petstore/kotlin-springboot-3/src/main/kotlin/org/openapitools/api/PetApiService.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ interface PetApiService {
4848
* @deprecated
4949
* @see PetApi#findPetsByTags
5050
*/
51+
@Deprecated(message="Operation is deprecated")
5152
fun findPetsByTags(tags: kotlin.collections.List<kotlin.String>): List<Pet>
5253

5354
/**

samples/server/petstore/kotlin-springboot-additionalproperties/src/main/kotlin/org/openapitools/api/PetApiController.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ class PetApiController(@Autowired(required = true) val service: PetApiService) {
6969
}
7070

7171

72+
@Deprecated(message="Operation is deprecated")
7273
@RequestMapping(
7374
method = [RequestMethod.GET],
7475
// "/pet/findByTags"

samples/server/petstore/kotlin-springboot-additionalproperties/src/main/kotlin/org/openapitools/api/PetApiService.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ interface PetApiService {
4848
* @deprecated
4949
* @see PetApi#findPetsByTags
5050
*/
51+
@Deprecated(message="Operation is deprecated")
5152
fun findPetsByTags(tags: kotlin.collections.List<kotlin.String>): List<Pet>
5253

5354
/**

samples/server/petstore/kotlin-springboot-delegate-nodefaults/src/main/kotlin/org/openapitools/api/PetApi.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ interface PetApi {
121121
],
122122
security = [ SecurityRequirement(name = "petstore_auth", scopes = [ "read:pets" ]) ]
123123
)
124+
@Deprecated(message="Operation is deprecated")
124125
@RequestMapping(
125126
method = [RequestMethod.GET],
126127
// "/pet/findByTags"

0 commit comments

Comments
 (0)