Reformatted per coding style
(3402)
@@ -28,7 +28,12 @@ import springfox.documentation.spi.service.OperationBuilderPlugin;
import springfox.documentation.spi.service.contexts.OperationContext;
import springfox.documentation.swagger.common.SwaggerPluginSupport;
-import java.util.*;
+import java.util.Arrays;
+import java.util.HashSet;
+import java.util.List;
+import java.util.Optional;
+import java.util.Set;
+import java.util.TreeSet;
import java.util.function.Function;
import java.util.stream.Stream;
@@ -62,11 +67,11 @@ public class OpenApiOperationTagsReader implements OperationBuilderPlugin {
context.findAllAnnotations(Tags.class);
tags.forEach(ts ->
Arrays.stream(ts.value())
- .forEach(t -> controllerTags
- .add(new springfox.documentation.service.Tag(t.name(), t.description()))));
+ .forEach(t -> controllerTags.add(
+ new springfox.documentation.service.Tag(t.name(), t.description()))));
List<Tag> tag = context.findAllAnnotations(Tag.class);
- tag.forEach(t ->
- controllerTags.add(new springfox.documentation.service.Tag(t.name(), t.description())));
+ tag.forEach(t -> controllerTags.add(
+ new springfox.documentation.service.Tag(t.name(), t.description())));
return controllerTags;
}
