RestApiService constructor

RestApiService()

Implementation

RestApiService()
    : super(
        'rest',
        [
          InfoEndpoint(),
          ...ResourceRestEndpoint.allOf<WatchtowerApiHub>(),
          StatusEndpoint(RoutePattern('/status')),
        ],
        middleware: (i) => LogMiddleware(i),
      );