STRING

@Serializable(with = OpenApi.Components.Schema.STRING.CustomSerializer::class)
@SerialName(value = "string")
data class STRING(val title: String? = null, val description: String? = null, val minLength: Int? = null, val maxLength: Int? = null, val nullable: Boolean = false, val default: String? = null, val enum: List<String?> = emptyList(), val extensions: Map<String, JsonElement> = emptyMap(), val example: String? = null, val pattern: String? = null, val deprecated: Boolean = false, val readOnly: Boolean = false, val additionalProperties: JsonElement? = null, val format: OpenApi.Components.Schema.STRING.Format? = null) : OpenApi.Components.Schema(source)

Constructors

Link copied to clipboard
constructor(title: String? = null, description: String? = null, minLength: Int? = null, maxLength: Int? = null, nullable: Boolean = false, default: String? = null, enum: List<String?> = emptyList(), extensions: Map<String, JsonElement> = emptyMap(), example: String? = null, pattern: String? = null, deprecated: Boolean = false, readOnly: Boolean = false, additionalProperties: JsonElement? = null, format: OpenApi.Components.Schema.STRING.Format? = null)

Types

Link copied to clipboard
value class Format(val value: String)

Properties

Link copied to clipboard
open override val additionalProperties: JsonElement?
Link copied to clipboard
Link copied to clipboard
open override val deprecated: Boolean
Link copied to clipboard
open override val description: String?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val extensions: Map<String, JsonElement>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val nullable: Boolean
Link copied to clipboard
Link copied to clipboard
open override val readOnly: Boolean
Link copied to clipboard
open override val title: String?