Class SecurityTransformer

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

public final class SecurityTransformer extends Object
Transforms OpenApi security to local model objects.
  • Constructor Details

    • SecurityTransformer

      public SecurityTransformer()
  • Method Details

    • transform

      public List<SecurityScheme> transform(io.swagger.v3.oas.models.OpenAPI specification)
      Transforms OpenApi security to local model objects.
      Parameters:
      specification - the OpenApi specification to transform
      Returns:
      a local model defining the security