diff --git a/lib/schema_registry/property.rb b/lib/schema_registry/property.rb index dc15de9..4152a9b 100644 --- a/lib/schema_registry/property.rb +++ b/lib/schema_registry/property.rb @@ -39,6 +39,7 @@ class Property < T::Struct const :description, T.nilable(String), default: nil const :resolver, T.nilable(T::Hash[Symbol, String]), default: nil const :resolvable, T::Boolean, default: false + const :deprecated, T::Boolean, default: false const :deprecated_on, T.nilable(Date), default: nil const :example, T.nilable(ValueType), default: nil const :enum_values, T.nilable(T::Array[String]), default: []