Skip to content

Commit

Permalink
Merge pull request #10856 from swagger-api/issue-8296
Browse files Browse the repository at this point in the history
added missed validated annotation.
  • Loading branch information
HugoMario committed Jan 17, 2021
2 parents 74393ff + 552db98 commit 4209313
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ import java.util.Optional;
import java.util.concurrent.{{^jdk8}}Callable{{/jdk8}}{{#jdk8}}CompletableFuture{{/jdk8}};
{{/async}}
{{>generatedAnnotation}}
{{#useBeanValidation}}
@Validated
{{/useBeanValidation}}
@Api(value = "{{{baseName}}}", description = "the {{{baseName}}} API")
{{#operations}}
@RequestMapping(value = "{{{contextPath}}}")
Expand Down

0 comments on commit 4209313

Please sign in to comment.