Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for SchemaValidatorsConfig (0.12 seconds)

  1. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ValidateJsonAgainstSchemaTask.java

            }
        }
    
        private JsonSchema buildSchemaObject(File jsonSchemaOnDisk) throws IOException {
            final ObjectMapper jsonMapper = new ObjectMapper();
            final SchemaValidatorsConfig config = new SchemaValidatorsConfig();
            final JsonSchemaFactory factory = JsonSchemaFactory.getInstance(SpecVersion.VersionFlag.V7);
            return factory.getSchema(jsonMapper.readTree(jsonSchemaOnDisk), config);
        }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Jul 28 11:09:58 GMT 2021
    - 5.4K bytes
    - Click Count (0)
Back to Top