private List < SimpleJsonSchema > mergeRepositories ( List < JsonSchemaRepository > schemaRepositories ) { return schemaRepositories . stream ( ) . map ( JsonSchemaRepository :: getSchemas ) . flatMap ( List :: stream ) . collect ( Collectors . toList ( ) ) ; }
Merges the list of given schema repositories to one unified list of json schemas