Class InfoTransformer

java.lang.Object
dk.mada.jaxrs.openapi.InfoTransformer

public final class InfoTransformer extends Object
Transforms OpenApi info to local model objects.
  • Constructor Details

    • InfoTransformer

      public InfoTransformer()
  • Method Details

    • transform

      public Info transform(io.swagger.v3.oas.models.OpenAPI document)
      Transforms OpenApi document info section to model.
      Parameters:
      document - the OpenApi document
      Returns:
      the extracted info model object