mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-19 07:57:08 +00:00
[Spring] fix deprecated generation (#12832)
This commit is contained in:
@@ -149,6 +149,7 @@ public interface PetApi {
|
||||
* or Invalid tag value (status code 400)
|
||||
* @deprecated
|
||||
*/
|
||||
@Deprecated
|
||||
@ApiOperation(
|
||||
tags = { "pet" },
|
||||
value = "Finds Pets by tags",
|
||||
|
||||
@@ -92,6 +92,7 @@ public interface PetApiDelegate {
|
||||
* @deprecated
|
||||
* @see PetApi#findPetsByTags
|
||||
*/
|
||||
@Deprecated
|
||||
default ResponseEntity<List<Pet>> findPetsByTags(List<String> tags, final Pageable pageable) {
|
||||
getRequest().ifPresent(request -> {
|
||||
for (MediaType mediaType: MediaType.parseMediaTypes(request.getHeader("Accept"))) {
|
||||
|
||||
Reference in New Issue
Block a user