Class OpenApiUtil


  • public class OpenApiUtil
    extends Object
    • 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)
      • processJavaFileName

        public static String processJavaFileName​(String apisEntry)