Package io.micronaut.openapi.visitor
Class FileUtils
java.lang.Object
io.micronaut.openapi.visitor.FileUtils
File utilities methods.
- Since:
- 4.10.0
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptioncalcFinalFilename
(String groupFileName, OpenApiInfo openApiInfo, boolean isSingleGroup, String ext, io.micronaut.inject.visitor.VisitorContext context) static void
createDirectories
(Path f, io.micronaut.inject.visitor.VisitorContext context) static Path
getDefaultFilePath
(String fileName, io.micronaut.inject.visitor.VisitorContext context) static Path
getViewsDestDir
(Path defaultSwaggerFilePath, io.micronaut.inject.visitor.VisitorContext context) static boolean
static Path
openApiSpecFile
(String fileName, io.micronaut.inject.visitor.VisitorContext context) static Path
static Path
userDefinedSpecFile
(io.micronaut.inject.visitor.VisitorContext context)
-
Field Details
-
EXT_ADOC
- See Also:
-
EXT_YML
- See Also:
-
EXT_YAML
- See Also:
-
EXT_JSON
- See Also:
-
-
Method Details
-
resolve
-
createDirectories
-
isYaml
-
getViewsDestDir
-
getDefaultFilePath
-
openApiSpecFile
-
userDefinedSpecFile
-
calcFinalFilename
-