Search in sources :

Example 1 with SchemaRouterOptions

use of io.vertx.json.schema.SchemaRouterOptions in project vertx-web by vert-x3.

the class OpenAPILoaderOptions method toSchemaRouterOptions.

@GenIgnore
public SchemaRouterOptions toSchemaRouterOptions() {
    SchemaRouterOptions opt = new SchemaRouterOptions();
    authHeaders.forEach(opt::putAuthHeader);
    authQueryParams.forEach(opt::putAuthQueryParam);
    return opt;
}
Also used : SchemaRouterOptions(io.vertx.json.schema.SchemaRouterOptions) GenIgnore(io.vertx.codegen.annotations.GenIgnore)

Aggregations

GenIgnore (io.vertx.codegen.annotations.GenIgnore)1 SchemaRouterOptions (io.vertx.json.schema.SchemaRouterOptions)1