File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
src/main/java/com/saasquatch/jsonschemainferrer Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 22
33import com .fasterxml .jackson .databind .JsonNode ;
44import com .fasterxml .jackson .databind .node .ObjectNode ;
5+ import com .saasquatch .jsonschemainferrer .annotations .Beta ;
56import java .util .Collection ;
67import javax .annotation .Nonnull ;
78import javax .annotation .Nullable ;
@@ -31,7 +32,7 @@ public final class GenericSchemaFeatureInput {
3132
3233 /**
3334 * @return The current schema. Note that {@link GenericSchemaFeature}s are not supposed to mutate
34- * the schema.
35+ * the schema.
3536 */
3637 @ Nonnull
3738 public ObjectNode getSchema () {
@@ -63,9 +64,13 @@ public SpecVersion getSpecVersion() {
6364 }
6465
6566 /**
67+ * This method is marked as {@link Beta @Beta} because it may not be perfect. The algorithm for
68+ * generating JSON path can be found at {@link JunkDrawer#escapeSingleQuoteString}.
69+ *
6670 * @return The JSON path of the current traversal.
6771 */
6872 @ Nonnull
73+ @ Beta
6974 public String getPath () {
7075 return path ;
7176 }
You can’t perform that action at this time.
0 commit comments