Interface OpenApiService

All Superinterfaces:
NamedService
All Known Implementing Classes:
OpenApiUi

public interface OpenApiService extends NamedService
OpenAPI service.
  • Method Details

    • supports

      boolean supports(ServerRequestHeaders headers)
      Test if the service should handle a request.
      Parameters:
      headers - headers
      Returns:
      true if the service should handle the request
    • setup

      void setup(HttpRules routing, String docPath, Function<MediaType,String> content)
      Set up the service.
      Parameters:
      routing - routing
      docPath - document context path
      content - content function