Skip to content

Commit

Permalink
Add description to ErrorResponses' attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
vlmaier committed Dec 21, 2022
1 parent 8491554 commit 356269b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import io.swagger.v3.oas.annotations.media.Schema
@Schema
data class ErrorResponse(

@field:Schema
@field:Schema(description = "HTTP status code")
val statusCode: Int,

@field:Schema
@field:Schema(description = "Error message for the client")
val message: String?
)

0 comments on commit 356269b

Please sign in to comment.