EmptyEndpoint

public struct EmptyEndpoint : Endpoint

An empty default value when no Endpoint value is needed.

  • An empty default implementation of .register() to avoid endless loops when registering EmptyEndpoints.

    Declaration

    Swift

    public func register(to routes: RoutesBuilder)

    Parameters

    routes

    The RoutesBuilder that contains HTTP route information up to this point.