Definition
data class Definition(val required: List<String> = emptyList(), val properties: Map<String, Swagger.Definition> = emptyMap(), val description: String? = null, val additionalProperties: Swagger.Definition? = null, val readOnly: Boolean? = null, val example: JsonElement? = null, val items: Swagger.Definition? = null, val ref: String? = null, val allOf: List<Swagger.Definition> = emptyList(), val default: JsonElement? = null, val discriminator: String? = null, val types: List<Swagger.Definition.Type> = listOf(Type.Object), val minLength: Int? = null, val maxLength: Int? = null, val format: String? = null, val nullable: Boolean = false, val enum: Set<String> = emptySet(), val minimum: Int? = null, val maximum: Int? = null, val minItems: Int? = null, val maxItems: Int? = null)(source)
Constructors
Link copied to clipboard
constructor(required: List<String> = emptyList(), properties: Map<String, Swagger.Definition> = emptyMap(), description: String? = null, additionalProperties: Swagger.Definition? = null, readOnly: Boolean? = null, example: JsonElement? = null, items: Swagger.Definition? = null, ref: String? = null, allOf: List<Swagger.Definition> = emptyList(), default: JsonElement? = null, discriminator: String? = null, types: List<Swagger.Definition.Type> = listOf(Type.Object), minLength: Int? = null, maxLength: Int? = null, format: String? = null, nullable: Boolean = false, enum: Set<String> = emptySet(), minimum: Int? = null, maximum: Int? = null, minItems: Int? = null, maxItems: Int? = null)
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard