mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-11 16:22:48 +00:00
[Java][Spring] fix default response code (#14399)
This commit is contained in:
@@ -150,7 +150,7 @@ public interface {{classname}} {
|
||||
{{/vendorExtensions.x-tags.size}}
|
||||
responses = {
|
||||
{{#responses}}
|
||||
@ApiResponse(responseCode = "{{{code}}}", description = "{{{message}}}"{{#baseType}}, content = {
|
||||
@ApiResponse(responseCode = {{#isDefault}}"default"{{/isDefault}}{{^isDefault}}"{{{code}}}"{{/isDefault}}, description = "{{{message}}}"{{#baseType}}, content = {
|
||||
{{#produces}}
|
||||
@Content(mediaType = "{{{mediaType}}}", {{#isArray}}array = @ArraySchema({{/isArray}}schema = @Schema(implementation = {{{baseType}}}.class){{#isArray}}){{/isArray}}){{^-last}},{{/-last}}
|
||||
{{/produces}}
|
||||
|
||||
@@ -51,7 +51,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")
|
||||
},
|
||||
security = {
|
||||
@SecurityRequirement(name = "api_key")
|
||||
@@ -80,7 +80,7 @@ public interface UserApi {
|
||||
description = "",
|
||||
tags = { "user" },
|
||||
responses = {
|
||||
@ApiResponse(responseCode = "200", description = "successful operation")
|
||||
@ApiResponse(responseCode = "default", description = "successful operation")
|
||||
},
|
||||
security = {
|
||||
@SecurityRequirement(name = "api_key")
|
||||
@@ -109,7 +109,7 @@ public interface UserApi {
|
||||
description = "",
|
||||
tags = { "user" },
|
||||
responses = {
|
||||
@ApiResponse(responseCode = "200", description = "successful operation")
|
||||
@ApiResponse(responseCode = "default", description = "successful operation")
|
||||
},
|
||||
security = {
|
||||
@SecurityRequirement(name = "api_key")
|
||||
@@ -233,7 +233,7 @@ public interface UserApi {
|
||||
description = "",
|
||||
tags = { "user" },
|
||||
responses = {
|
||||
@ApiResponse(responseCode = "200", description = "successful operation")
|
||||
@ApiResponse(responseCode = "default", description = "successful operation")
|
||||
},
|
||||
security = {
|
||||
@SecurityRequirement(name = "api_key")
|
||||
|
||||
@@ -52,7 +52,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(
|
||||
@@ -75,7 +75,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(
|
||||
@@ -98,7 +98,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(
|
||||
@@ -209,7 +209,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(
|
||||
|
||||
@@ -51,7 +51,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(
|
||||
@@ -74,7 +74,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(
|
||||
@@ -97,7 +97,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(
|
||||
@@ -208,7 +208,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(
|
||||
|
||||
@@ -51,7 +51,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(
|
||||
@@ -74,7 +74,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(
|
||||
@@ -97,7 +97,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(
|
||||
@@ -208,7 +208,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(
|
||||
@@ -230,7 +230,7 @@ public interface UserApi {
|
||||
summary = "logoutUserOptions",
|
||||
tags = { "user" },
|
||||
responses = {
|
||||
@ApiResponse(responseCode = "200", description = "endpoint configuration response")
|
||||
@ApiResponse(responseCode = "default", description = "endpoint configuration response")
|
||||
}
|
||||
)
|
||||
@RequestMapping(
|
||||
|
||||
@@ -51,7 +51,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")
|
||||
},
|
||||
security = {
|
||||
@SecurityRequirement(name = "api_key")
|
||||
@@ -80,7 +80,7 @@ public interface UserApi {
|
||||
description = "",
|
||||
tags = { "user" },
|
||||
responses = {
|
||||
@ApiResponse(responseCode = "200", description = "successful operation")
|
||||
@ApiResponse(responseCode = "default", description = "successful operation")
|
||||
},
|
||||
security = {
|
||||
@SecurityRequirement(name = "api_key")
|
||||
@@ -109,7 +109,7 @@ public interface UserApi {
|
||||
description = "",
|
||||
tags = { "user" },
|
||||
responses = {
|
||||
@ApiResponse(responseCode = "200", description = "successful operation")
|
||||
@ApiResponse(responseCode = "default", description = "successful operation")
|
||||
},
|
||||
security = {
|
||||
@SecurityRequirement(name = "api_key")
|
||||
@@ -233,7 +233,7 @@ public interface UserApi {
|
||||
description = "",
|
||||
tags = { "user" },
|
||||
responses = {
|
||||
@ApiResponse(responseCode = "200", description = "successful operation")
|
||||
@ApiResponse(responseCode = "default", description = "successful operation")
|
||||
},
|
||||
security = {
|
||||
@SecurityRequirement(name = "api_key")
|
||||
|
||||
@@ -51,7 +51,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(
|
||||
@@ -74,7 +74,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(
|
||||
@@ -97,7 +97,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(
|
||||
@@ -208,7 +208,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(
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -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")
|
||||
},
|
||||
security = {
|
||||
@SecurityRequirement(name = "api_key")
|
||||
@@ -87,7 +87,7 @@ public interface UserApi {
|
||||
description = "",
|
||||
tags = { "user" },
|
||||
responses = {
|
||||
@ApiResponse(responseCode = "200", description = "successful operation")
|
||||
@ApiResponse(responseCode = "default", description = "successful operation")
|
||||
},
|
||||
security = {
|
||||
@SecurityRequirement(name = "api_key")
|
||||
@@ -119,7 +119,7 @@ public interface UserApi {
|
||||
description = "",
|
||||
tags = { "user" },
|
||||
responses = {
|
||||
@ApiResponse(responseCode = "200", description = "successful operation")
|
||||
@ApiResponse(responseCode = "default", description = "successful operation")
|
||||
},
|
||||
security = {
|
||||
@SecurityRequirement(name = "api_key")
|
||||
@@ -269,7 +269,7 @@ public interface UserApi {
|
||||
description = "",
|
||||
tags = { "user" },
|
||||
responses = {
|
||||
@ApiResponse(responseCode = "200", description = "successful operation")
|
||||
@ApiResponse(responseCode = "default", description = "successful operation")
|
||||
},
|
||||
security = {
|
||||
@SecurityRequirement(name = "api_key")
|
||||
|
||||
@@ -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")
|
||||
},
|
||||
security = {
|
||||
@SecurityRequirement(name = "api_key")
|
||||
@@ -87,7 +87,7 @@ public interface UserApi {
|
||||
description = "",
|
||||
tags = { "user" },
|
||||
responses = {
|
||||
@ApiResponse(responseCode = "200", description = "successful operation")
|
||||
@ApiResponse(responseCode = "default", description = "successful operation")
|
||||
},
|
||||
security = {
|
||||
@SecurityRequirement(name = "api_key")
|
||||
@@ -119,7 +119,7 @@ public interface UserApi {
|
||||
description = "",
|
||||
tags = { "user" },
|
||||
responses = {
|
||||
@ApiResponse(responseCode = "200", description = "successful operation")
|
||||
@ApiResponse(responseCode = "default", description = "successful operation")
|
||||
},
|
||||
security = {
|
||||
@SecurityRequirement(name = "api_key")
|
||||
@@ -269,7 +269,7 @@ public interface UserApi {
|
||||
description = "",
|
||||
tags = { "user" },
|
||||
responses = {
|
||||
@ApiResponse(responseCode = "200", description = "successful operation")
|
||||
@ApiResponse(responseCode = "default", description = "successful operation")
|
||||
},
|
||||
security = {
|
||||
@SecurityRequirement(name = "api_key")
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -51,7 +51,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(
|
||||
@@ -76,7 +76,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(
|
||||
@@ -101,7 +101,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(
|
||||
@@ -220,7 +220,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(
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -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(
|
||||
@@ -230,7 +230,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(
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -56,7 +56,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")
|
||||
},
|
||||
security = {
|
||||
@SecurityRequirement(name = "api_key")
|
||||
@@ -88,7 +88,7 @@ public interface UserApi {
|
||||
description = "",
|
||||
tags = { "user" },
|
||||
responses = {
|
||||
@ApiResponse(responseCode = "200", description = "successful operation")
|
||||
@ApiResponse(responseCode = "default", description = "successful operation")
|
||||
},
|
||||
security = {
|
||||
@SecurityRequirement(name = "api_key")
|
||||
@@ -120,7 +120,7 @@ public interface UserApi {
|
||||
description = "",
|
||||
tags = { "user" },
|
||||
responses = {
|
||||
@ApiResponse(responseCode = "200", description = "successful operation")
|
||||
@ApiResponse(responseCode = "default", description = "successful operation")
|
||||
},
|
||||
security = {
|
||||
@SecurityRequirement(name = "api_key")
|
||||
@@ -270,7 +270,7 @@ public interface UserApi {
|
||||
description = "",
|
||||
tags = { "user" },
|
||||
responses = {
|
||||
@ApiResponse(responseCode = "200", description = "successful operation")
|
||||
@ApiResponse(responseCode = "default", description = "successful operation")
|
||||
},
|
||||
security = {
|
||||
@SecurityRequirement(name = "api_key")
|
||||
|
||||
@@ -51,7 +51,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(
|
||||
@@ -74,7 +74,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(
|
||||
@@ -97,7 +97,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(
|
||||
@@ -208,7 +208,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(
|
||||
|
||||
@@ -59,7 +59,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(
|
||||
@@ -86,7 +86,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(
|
||||
@@ -113,7 +113,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(
|
||||
@@ -254,7 +254,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