ApiResponse

We can use the @ApiResponse annotation to describe the concrete possible response of an operation.

https://www.baeldung.com/swagger-operation-vs-apiresponse