open static fun create(router: Router, discovery: ServiceDiscovery): ServiceDiscoveryRestEndpoint
Creates the REST endpoint using the default root (/discovery).
router - the vert.x web router
discovery - the service discovery instance
Return
the created endpoint
open static fun create(router: Router, discovery: ServiceDiscovery, root: String): ServiceDiscoveryRestEndpoint
Creates the REST endpoint using the given root.
router - the vert.x web router
discovery - the service discovery instance
root - the endpoint path (root)
Return
the created endpoint