add kdocs to language_codes

This commit is contained in:
InsanusMokrassar 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

View File

@ -1 +0,0 @@
csv_parser_version=0.15.2

View File

@ -2,6 +2,11 @@ package dev.inmo.micro_utils.language_codes
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.
*/
@Serializable(IetfLanguageCodeSerializer::class)
sealed interface IetfLanguageCode {
val code: String