ContractRouteMatcher

data class ContractRouteMatcher(renderer: ContractRenderer, security: Security?, tags: Set<Tag>, descriptionSecurity: Security?, descriptionPath: String, preFlightExtraction: PreFlightExtraction, routes: List<ContractRoute> = emptyList(), rootAsString: String = "", preSecurityFilter: Filter = Filter.NoOp, postSecurityFilter: Filter = Filter.NoOp, includeDescriptionRoute: Boolean = false, webhooks: Map<String, List<WebCallback>> = emptyMap(), router: Router = All) : RouteMatcher<Response, Filter>

Constructors

Link copied to clipboard
constructor(renderer: ContractRenderer, security: Security?, tags: Set<Tag>, descriptionSecurity: Security?, descriptionPath: String, preFlightExtraction: PreFlightExtraction, routes: List<ContractRoute> = emptyList(), rootAsString: String = "", preSecurityFilter: Filter = Filter.NoOp, postSecurityFilter: Filter = Filter.NoOp, includeDescriptionRoute: Boolean = false, webhooks: Map<String, List<WebCallback>> = emptyMap(), router: Router = All)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun match(request: Request): RoutingMatch<Response>
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
open override fun withBasePath(prefix: String): ContractRouteMatcher
Link copied to clipboard
open override fun withFilter(new: Filter): RouteMatcher<Response, Filter>
Link copied to clipboard
open override fun withRouter(other: Router): RouteMatcher<Response, Filter>