@Test public void testJsonSchemaGenerator() throws IOException { Collection<GeneratedFile> files = new JsonSchemaGenerator.ClassBuilder( Stream.of(PersonInputParams.class, PersonOutputParams.class, IgnoredClass.class)) .build().generate(); assertEquals(1, files.size()); GeneratedFile file = files.iterator().next(); assertEquals("org#jbpm#test_test.json", file.relativePath()); assertSchema(file, SchemaVersion.DRAFT_7); }
private JsonSchemaGenerator(Map<String, List<Class<?>>> map, SchemaVersion schemaVersion) { this.map = map; this.schemaVersion = schemaVersion; }
JsonSchemaGenerator { private JsonSchemaGenerator(Map<String, List<Class<?>>> map, SchemaVersion schemaVersion) { this.map = map; this.schemaVersion = schemaVersion; } }
JsonSchemaGenerator { private JsonSchemaGenerator(Map<String, List<Class<?>>> map, SchemaVersion schemaVersion) { this.map = map; this.schemaVersion = schemaVersion; } private  JsonSchemaGenerator(Map<String, List<Class<?>>> map, SchemaVersion schemaVersion); }
JsonSchemaGenerator { private JsonSchemaGenerator(Map<String, List<Class<?>>> map, SchemaVersion schemaVersion) { this.map = map; this.schemaVersion = schemaVersion; } private  JsonSchemaGenerator(Map<String, List<Class<?>>> map, SchemaVersion schemaVersion); Collection<GeneratedFile> generate(); }
JsonSchemaGenerator { private JsonSchemaGenerator(Map<String, List<Class<?>>> map, SchemaVersion schemaVersion) { this.map = map; this.schemaVersion = schemaVersion; } private  JsonSchemaGenerator(Map<String, List<Class<?>>> map, SchemaVersion schemaVersion); Collection<GeneratedFile> generate(); static final Logger logger; static final SchemaVersion DEFAULT_SCHEMA_VERSION; }