We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74393ff commit 552db98Copy full SHA for 552db98
modules/swagger-codegen/src/main/resources/JavaSpring/api.mustache
@@ -52,6 +52,9 @@ import java.util.Optional;
52
import java.util.concurrent.{{^jdk8}}Callable{{/jdk8}}{{#jdk8}}CompletableFuture{{/jdk8}};
53
{{/async}}
54
{{>generatedAnnotation}}
55
+{{#useBeanValidation}}
56
+@Validated
57
+{{/useBeanValidation}}
58
@Api(value = "{{{baseName}}}", description = "the {{{baseName}}} API")
59
{{#operations}}
60
@RequestMapping(value = "{{{contextPath}}}")
0 commit comments