File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
json-schema-validator/src/test/java/io/openapiprocessor/jsonschema/example Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -33,13 +33,13 @@ void setupExample() throws ConverterException {
33
33
34
34
// 2. create a json schema store, register a schema and get the schema.
35
35
// the store creates a JsonSchema object from the schema document. A
36
- // JsonSchema object is a required parameter of the Validator.
37
- // There are several register() methods and convenience functions to
38
- // register json schema draft versions (e.g. 2029-09 etc.).
39
- // Here the store will download the schema from the given uri.
36
+ // JsonSchema object is a required parameter of the Validator. There are
37
+ // several register() methods and convenience functions to register json
38
+ // schema draft versions (e.g. 2029-09 etc.). Here the store will
39
+ // download the schema and meta schema from the given uri.
40
40
URI schemaUri = createUri ("https://openapiprocessor.io/schemas/mapping/mapping-v4.json" );
41
41
SchemaStore store = new SchemaStore (loader );
42
- store .registerDraft7 ();
42
+ // store.registerDraft7();
43
43
store .register (schemaUri );
44
44
45
45
// get the json schema object
You can’t perform that action at this time.
0 commit comments