<I'm looking a way to simplify code when using ann...
# forum
r
I'm looking a way to simplify code when using annotations as a DSL Situation We are designing a new REST API and using swagger annotations to document our Spring controller methods. I discovered that many “constructions” are boilerplate and repeatedly appear. Example: @Operation( summary = "...", description = "...", responses = [ ApiResponse( responseCode = "200", description = "Ok", ), ApiResponse( responseCode = "204",...