From a6101eec5417281b96d5a0f7e673642ed974d7fb Mon Sep 17 00:00:00 2001 From: Genar Trias Ortiz Date: Wed, 18 Sep 2024 17:14:27 +0200 Subject: [PATCH] adding deprecated boolean to SchemaRegistry::Property --- lib/schema_registry/property.rb | 1 + 1 file changed, 1 insertion(+) 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: []