Marcel Overdijk
05/22/2025, 9:13 AM@Schema(
name = "Country",
description = "Representation of a country.",
)
data class CountryDto(
@field:Schema(
description = "The unique identifier for the country.",
)
val id: String,
@field:Schema(
description = "The unique ISO 3166-1 alpha-2 code of the country.",
minLength = 2,
maxLength = 2,
pattern = "^[A-Z]{2}$",
)
val alpha2Code: String,
@field:Schema(
description = "The unique ISO 3166-1 alpha-3 code of the country.",
minLength = 3,
maxLength = 3,
pattern = "^[A-Z]{3}$",
)
val alpha3Code: String,
@field:Schema(
description = "The name of the country.",
)
val name: String,
@field:Schema(
types = ["string", "null"],
description = "The demonym for citizens of the country.",
required = true,
)
val demonym: String?,
@field:Schema(
description = "The identifier for the continent where the country is located.",
)
val continentId: String,
)
a blank link between the fields would help a lot, but this does not seem to be possible... is that correct, or am I missing something?Paul Dingemans
05/22/2025, 11:39 AMMarcel Overdijk
05/22/2025, 11:48 AMPaul Dingemans
05/22/2025, 11:50 AMMarcel Overdijk
05/22/2025, 11:54 AMPaul Dingemans
05/23/2025, 10:03 AMDavid
05/24/2025, 6:44 PMPaul Dingemans
05/24/2025, 7:05 PMMarcel Overdijk
05/26/2025, 6:19 AMPaul Dingemans
05/27/2025, 2:50 PM@file:Suppress("ktlint:standard:no-blank-line-in-list")
you can suppress the rule for all classes in a file. Or just @Suppress("ktlint:standard:no-blank-line-in-list")
per per class. See https://pinterest.github.io/ktlint/latest/faq/ for more information about how to suppress rules.