diff --git a/sdk/schemaregistry/azure-data-schemaregistry/src/main/java/com/azure/data/schemaregistry/models/SchemaFormat.java b/sdk/schemaregistry/azure-data-schemaregistry/src/main/java/com/azure/data/schemaregistry/models/SchemaFormat.java index c47cc2791a770..6b30e0abd2c3d 100644 --- a/sdk/schemaregistry/azure-data-schemaregistry/src/main/java/com/azure/data/schemaregistry/models/SchemaFormat.java +++ b/sdk/schemaregistry/azure-data-schemaregistry/src/main/java/com/azure/data/schemaregistry/models/SchemaFormat.java @@ -34,4 +34,13 @@ public final class SchemaFormat extends ExpandableStringEnum { public static SchemaFormat fromString(String name) { return fromString(name.toLowerCase(Locale.ROOT), SchemaFormat.class); } + + /** + * Creates a new instance of Schema Format. + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public SchemaFormat() { + super(); + } }