Class OpenApiUtil
- java.lang.Object
-
- net.coru.api.generator.plugin.openapi.utils.OpenApiUtil
-
public class OpenApiUtil extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<String>getListComponentsObjects(io.swagger.v3.oas.models.OpenAPI openAPI)static io.swagger.v3.oas.models.OpenAPIgetPojoFromSwagger(FileSpec fileSpec)static Map<String,HashMap<String,io.swagger.v3.oas.models.PathItem>>mapApiGroups(io.swagger.v3.oas.models.OpenAPI openAPI, Boolean groupByTags)static Map<String,io.swagger.v3.oas.models.media.Schema<?>>processBasicSchemas(io.swagger.v3.oas.models.OpenAPI openApi)static StringprocessJavaFileName(String apisEntry)
-
-
-
Method Detail
-
mapApiGroups
public static Map<String,HashMap<String,io.swagger.v3.oas.models.PathItem>> mapApiGroups(io.swagger.v3.oas.models.OpenAPI openAPI, Boolean groupByTags)
-
getPojoFromSwagger
public static io.swagger.v3.oas.models.OpenAPI getPojoFromSwagger(FileSpec fileSpec) throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
-
getListComponentsObjects
public static List<String> getListComponentsObjects(io.swagger.v3.oas.models.OpenAPI openAPI)
-
processBasicSchemas
public static Map<String,io.swagger.v3.oas.models.media.Schema<?>> processBasicSchemas(io.swagger.v3.oas.models.OpenAPI openApi)
-
-