Interface OpenApiManager<T>

Type Parameters:
T - model type
All Superinterfaces:
NamedService, NamedService

public interface OpenApiManager<T> extends NamedService
OpenApi manager.
  • Method Details

    • load

      T load(String content)
      Load the model.
      Parameters:
      content - initial static content, may be empty
      Returns:
      in-memory model
    • format

      String format(T model, OpenApiFormat format)
      Format the model.
      Parameters:
      model - model
      format - desired format
      Returns:
      formatted content