urlCodeGenReader

val CodeGenerator.Companion.urlCodeGenReader: (url: URL, name: String, formats: List<SupportedFormat>, generateHelperCompanionObject: Boolean) -> CodeGenerationReadResult

Reader that can read data from a URL and generate code (type schema representations) for it. It tries to guess the format based on the given formats and returns CodeGenerationReadResult.Success, or returns CodeGenerationReadResult.Error if it fails.