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.
2 parents 74393ff + 552db98 commit 4209313Copy full SHA for 4209313
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