Skip to content

Commit 7505a56

Browse files
committed
chore: increase deprecation level for deprecated api
1 parent 7178ca3 commit 7505a56

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

json-schema-validator/src/commonMain/kotlin/io/github/optimumcode/json/schema/JsonSchemaLoader.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public interface JsonSchemaLoader {
4848

4949
@Deprecated(
5050
message = "This method will be removed in a future release. Please use the alternative that accepts Uri type",
51-
level = DeprecationLevel.ERROR,
51+
level = DeprecationLevel.HIDDEN,
5252
replaceWith =
5353
ReplaceWith(
5454
imports = ["com.eygraber.uri.Uri"],
@@ -67,7 +67,7 @@ public interface JsonSchemaLoader {
6767

6868
@Deprecated(
6969
message = "This method will be removed in a future release. Please use the alternative that accepts Uri type",
70-
level = DeprecationLevel.ERROR,
70+
level = DeprecationLevel.HIDDEN,
7171
replaceWith =
7272
ReplaceWith(
7373
imports = ["com.eygraber.uri.Uri"],

json-schema-validator/src/commonMain/kotlin/io/github/optimumcode/json/schema/extension/ExternalAssertion.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public interface ExternalAssertion {
3939

4040
@Deprecated(
4141
message = "override validate(AbstractElement, ExternalAssertionContext, ErrorCollector) instead",
42-
level = DeprecationLevel.ERROR,
42+
level = DeprecationLevel.HIDDEN,
4343
)
4444
public fun validate(
4545
element: JsonElement,

0 commit comments

Comments
 (0)