Class FileUtils
java.lang.Object
com.github.chhorz.openapi.common.util.FileUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
writeToFile
(OpenAPI openAPI) Writes the given OpenAPI object to .json and .yaml files.
-
Constructor Details
-
FileUtils
-
-
Method Details
-
writeToFile
Writes the given OpenAPI object to .json and .yaml files. Which files are written is configurable within the property file.- Parameters:
openAPI
- the generated OpenAPI object
-
readOpenAPIObjectFromFile
-