mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-11 15:22:47 +00:00
[Java][Spring] fix default response code (#14399)
This commit is contained in:
@@ -55,7 +55,7 @@ public interface UserApi {
|
||||
description = "This can only be done by the logged in user.",
|
||||
tags = { "user" },
|
||||
responses = {
|
||||
@ApiResponse(responseCode = "200", description = "successful operation")
|
||||
@ApiResponse(responseCode = "default", description = "successful operation")
|
||||
}
|
||||
)
|
||||
@RequestMapping(
|
||||
@@ -81,7 +81,7 @@ public interface UserApi {
|
||||
summary = "Creates list of users with given input array",
|
||||
tags = { "user" },
|
||||
responses = {
|
||||
@ApiResponse(responseCode = "200", description = "successful operation")
|
||||
@ApiResponse(responseCode = "default", description = "successful operation")
|
||||
}
|
||||
)
|
||||
@RequestMapping(
|
||||
@@ -107,7 +107,7 @@ public interface UserApi {
|
||||
summary = "Creates list of users with given input array",
|
||||
tags = { "user" },
|
||||
responses = {
|
||||
@ApiResponse(responseCode = "200", description = "successful operation")
|
||||
@ApiResponse(responseCode = "default", description = "successful operation")
|
||||
}
|
||||
)
|
||||
@RequestMapping(
|
||||
@@ -244,7 +244,7 @@ public interface UserApi {
|
||||
summary = "Logs out current logged in user session",
|
||||
tags = { "user" },
|
||||
responses = {
|
||||
@ApiResponse(responseCode = "200", description = "successful operation")
|
||||
@ApiResponse(responseCode = "default", description = "successful operation")
|
||||
}
|
||||
)
|
||||
@RequestMapping(
|
||||
|
||||
Reference in New Issue
Block a user