public interface OpenAPIRoute
Modifier and Type | Method and Description |
---|---|
OpenAPIRoute |
addFailureHandler(Handler<RoutingContext> handler)
Adds a failure handler for this route
|
OpenAPIRoute |
addHandler(Handler<RoutingContext> handler)
Adds a handler for this route which is executed after the security and validation handlers defined in the contract
|
boolean |
doValidation() |
List<Handler<RoutingContext>> |
getFailureHandlers() |
List<Handler<RoutingContext>> |
getHandlers() |
Operation |
getOperation() |
OpenAPIRoute |
setDoValidation(boolean doValidation)
Sets the validation flag for incoming requests.
|
OpenAPIRoute addHandler(Handler<RoutingContext> handler)
handler
- The handler to addList<Handler<RoutingContext>> getHandlers()
OpenAPIRoute addFailureHandler(Handler<RoutingContext> handler)
handler
- The failure handler to addList<Handler<RoutingContext>> getFailureHandlers()
Operation getOperation()
boolean doValidation()
OpenAPIRoute setDoValidation(boolean doValidation)
doValidation
- The validation flag.Copyright © 2024 Eclipse. All rights reserved.