@@ -46,20 +46,20 @@ case class Schema[T](
46
46
) extends SchemaMacros [T ] {
47
47
48
48
// 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 )
63
63
64
64
// def copy(
65
65
// schemaType: SchemaType[T] = this.schemaType,
0 commit comments