vertx-kuickstart-core / dev.fuelyour.vertxkuickstartcore.tools / SwaggerRouter

SwaggerRouter

class SwaggerRouter

Authenticate requests and route to appropriate controllers and functions based off of specification in the swagger doc.

Constructors

<init>

Authenticate requests and route to appropriate controllers and functions based off of specification in the swagger doc.

SwaggerRouter(swaggerAuthHandler: SwaggerAuthHandler, swaggerServiceHandler: SwaggerServiceHandler, traverser: SwaggerTraverser)

Functions

route

fun route(router: Router, swaggerFile: OpenAPI): Unit

Companion Object Functions

build

fun build(swaggerAuthHandler: SwaggerAuthHandler, controllerSupplier: ControllerSupplier, serializer: Serializer, deserializer: Deserializer): SwaggerRouter