modules/jooby-apitool/src/main/java/org/jooby/apitool/ApiTool.java
public ApiTool swagger(Options options, Consumer<Swagger> swagger) {
    this.swaggerOptions = Objects.requireNonNull(options, "Options required.");
    this.swagger = swagger;
    return this;
  }
public ApiTool swagger(Options options, Consumer<Swagger> swagger) {
    this.swaggerOptions = Objects.requireNonNull(options, "Options required.");
    this.swagger = swagger;
    return this;
  }
Mount Swagger using the given options.

@param options Swagger options.
@param swagger Customizer.
@return This tool.