SupportedCodeGenerationFormat

Implement this interface to provide additional DataSchema interface generation formats for DataFrames (such as OpenAPI). Note, this doesn't add functionality to DataFrame.Companion.read, just ImportDataSchema and Gradle plugin.

Return type will be a Code which contains a generated interface with the given name containing generated DataSchema interfaces and enums, with typealiases (and optional extension functions in some integration) outside the interface.

Properties

Link copied to clipboard
abstract val testOrder: Int

Functions

Link copied to clipboard
abstract fun acceptsExtension(ext: String): Boolean
Link copied to clipboard
Link copied to clipboard
abstract fun createDefaultReadMethod(pathRepresentation: String? = null): DefaultReadDfMethod
Link copied to clipboard
abstract fun readCodeForGeneration(file: File, name: String, generateHelperCompanionObject: Boolean = false): Code
abstract fun readCodeForGeneration(stream: InputStream, name: String, generateHelperCompanionObject: Boolean = false): Code
Link copied to clipboard