add kdocs to language_codes

This commit is contained in:
2021-08-04 11:14:56 +06:00
parent dafc50c463
commit 6ae7ccb9a1
3 changed files with 10 additions and 1 deletions

View File

@@ -92,6 +92,11 @@ ${indents}}
fun buildKtFileContent(tags: List<Tag>): String = """
import kotlinx.serialization.Serializable
/**
* This class has been automatically generated using
* https://github.com/InsanusMokrassar/MicroUtils/tree/master/language_codes/generator . This generator uses
* https://datahub.io/core/language-codes/ files (base and tags) and create the whole hierarchy using it.
*/
${baseClassSerializerAnnotationName}
sealed interface $baseClassName {
val code: String