Class JavaOpenApiDefWriter
java.lang.Object
io.github.torand.openapi2java.writers.BaseWriter
io.github.torand.openapi2java.writers.java.JavaOpenApiDefWriter
- All Implemented Interfaces:
OpenApiDefWriter,AutoCloseable
Writes Java code for an OpenAPI definition.
-
Field Summary
Fields inherited from class io.github.torand.openapi2java.writers.BaseWriter
opts -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidwrite(OpenApiDefInfo openApiDefInfo) Writes code for specified OpenAPI definition.Methods inherited from class io.github.torand.openapi2java.writers.BaseWriter
close, write, writeIndent, writeLine, writeNewLineMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.github.torand.openapi2java.writers.OpenApiDefWriter
close
-
Constructor Details
-
JavaOpenApiDefWriter
-
-
Method Details
-
write
Description copied from interface:OpenApiDefWriterWrites code for specified OpenAPI definition.- Specified by:
writein interfaceOpenApiDefWriter- Parameters:
openApiDefInfo- the OpenAPI definition.
-