@@ -46,20 +46,20 @@ case class Schema[T](
4646) extends SchemaMacros [T ] {
4747
4848 // required for binary compatibility
49- // def this(
50- // schemaType: SchemaType[T],
51- // name: Option[SName],
52- // isOptional: Boolean,
53- // description: Option[String],
54- // default: Option[(T, Option[Any])],
55- // format: Option[String],
56- // encodedExample: Option[Any],
57- // deprecated: Boolean,
58- // hidden: Boolean,
59- // validator: Validator[T],
60- // attributes: AttributeMap
61- // ) =
62- // this(schemaType, name, isOptional, description, default, format, encodedExample, deprecated, hidden, validator, attributes, None)
49+ def this (
50+ schemaType : SchemaType [T ],
51+ name : Option [SName ],
52+ isOptional : Boolean ,
53+ description : Option [String ],
54+ default : Option [(T , Option [Any ])],
55+ format : Option [String ],
56+ encodedExample : Option [Any ],
57+ deprecated : Boolean ,
58+ hidden : Boolean ,
59+ validator : Validator [T ],
60+ attributes : AttributeMap
61+ ) =
62+ this (schemaType, name, isOptional, description, default, format, encodedExample, deprecated, hidden, validator, attributes, None )
6363
6464// def copy(
6565// schemaType: SchemaType[T] = this.schemaType,
0 commit comments