Class SwaggerUtils

java.lang.Object
io.micronaut.openapi.adoc.utils.SwaggerUtils

public final class SwaggerUtils extends Object
File utilities methods.
Since:
5.2.0
  • Method Details

    • readOpenApi

      public static io.swagger.v3.oas.models.OpenAPI readOpenApi(String swaggerFileContent, boolean isJson)
    • readOpenApiFromLocation

      public static io.swagger.v3.oas.models.OpenAPI readOpenApiFromLocation(String location)