Skip to content

Commit 63afdff

Browse files
committed
update mapping version
1 parent ea64924 commit 63afdff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

json-schema-validator/src/test/java/io/openapiprocessor/jsonschema/example/SetupExampleTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ void setupExample() throws ConverterException {
3838
// several register() methods and convenience functions to register json
3939
// schema draft versions (e.g. 2029-09 etc.). Here the store will
4040
// download the schema and meta schema from the given uri.
41-
URI schemaUri = createUri ("https://openapiprocessor.io/schemas/mapping/mapping-v4.json");
41+
URI schemaUri = createUri ("https://openapiprocessor.io/schemas/mapping/mapping-v15.json");
4242
SchemaStore store = new SchemaStore (loader);
4343
//store.registerDraft7();
4444
store.register(schemaUri);
@@ -54,7 +54,7 @@ void setupExample() throws ConverterException {
5454
JsonInstance instance = new JsonInstance (converter.convert (
5555
"## simple mapping file\n" +
5656
"\n" +
57-
"openapi-processor-mapping: v4\n" +
57+
"openapi-processor-mapping: v15\n" +
5858
"options:\n" +
5959
" package-name: io.openapiprocessor.generated\n" +
6060
" bean-validation: jakarta\n" +

0 commit comments

Comments
 (0)