public class ListJSONPaths extends Object
| Constructor and Description |
|---|
ListJSONPaths() |
| Modifier and Type | Method and Description |
|---|---|
static ArrayList<String> |
getJsonPaths(String json)
This method will return a list of all the available json paths of the input json string
|
static ArrayList<String> |
getJsonPathsFromExample(io.swagger.oas.inflector.examples.models.Example example,
Map<String,String> jsonPathSchemaMapping) |
static void |
listExamples(String parent,
io.swagger.oas.inflector.examples.models.Example example,
ArrayList<String> parameterJsonPathMapping,
Map<String,String> jsonPathSchemaMapping) |
public static ArrayList<String> getJsonPaths(String json)
json - input json filepublic static ArrayList<String> getJsonPathsFromExample(io.swagger.oas.inflector.examples.models.Example example, Map<String,String> jsonPathSchemaMapping)
Copyright © 2024 WSO2. All rights reserved.