Skip to content

Commit 114eb9d

Browse files
committed
add Beta annotation
1 parent 297df49 commit 114eb9d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/com/saasquatch/jsonschemainferrer/ExamplesPolicies.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
import javax.annotation.Nonnegative;
77
import javax.annotation.Nonnull;
88
import com.fasterxml.jackson.databind.node.ArrayNode;
9+
import com.saasquatch.jsonschemainferrer.annotations.Beta;
910

1011
/**
1112
* Utilities for {@link ExamplesPolicy}.
@@ -36,6 +37,7 @@ public static ExamplesPolicy useFirstSamples(@Nonnegative int limit) {
3637
* @return An {@link ExamplesPolicy} that takes the first samples with a limit and a
3738
* {@link Predicate} for types.
3839
*/
40+
@Beta
3941
public static ExamplesPolicy useFirstSamples(@Nonnegative int limit,
4042
@Nonnull Predicate<String> typePredicate) {
4143
Objects.requireNonNull(typePredicate);

0 commit comments

Comments
 (0)