Class SwaggerToOpenApiConversionUtils
- java.lang.Object
-
- org.apache.cxf.jaxrs.swagger.openapi.SwaggerToOpenApiConversionUtils
-
public final class SwaggerToOpenApiConversionUtils extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetOpenApiFromSwaggerJson(String json)static StringgetOpenApiFromSwaggerJson(MessageContext ctx, String json, OpenApiConfiguration cfg)static StringgetOpenApiFromSwaggerLoc(String loc)static StringgetOpenApiFromSwaggerLoc(String loc, OpenApiConfiguration cfg)static StringgetOpenApiFromSwaggerLoc(String loc, OpenApiConfiguration cfg, Bus bus)static StringgetOpenApiFromSwaggerStream(InputStream is)static StringgetOpenApiFromSwaggerStream(InputStream is, OpenApiConfiguration cfg)
-
-
-
Method Detail
-
getOpenApiFromSwaggerLoc
public static String getOpenApiFromSwaggerLoc(String loc, OpenApiConfiguration cfg)
-
getOpenApiFromSwaggerLoc
public static String getOpenApiFromSwaggerLoc(String loc, OpenApiConfiguration cfg, Bus bus)
-
getOpenApiFromSwaggerStream
public static String getOpenApiFromSwaggerStream(InputStream is) throws IOException
- Throws:
IOException
-
getOpenApiFromSwaggerStream
public static String getOpenApiFromSwaggerStream(InputStream is, OpenApiConfiguration cfg) throws IOException
- Throws:
IOException
-
getOpenApiFromSwaggerJson
public static String getOpenApiFromSwaggerJson(String json) throws IOException
- Throws:
IOException
-
getOpenApiFromSwaggerJson
public static String getOpenApiFromSwaggerJson(MessageContext ctx, String json, OpenApiConfiguration cfg) throws IOException
- Throws:
IOException
-
-