@Test public void create() { List<OpenApiDiffValidator> validators = validatorFactory.create(); assertThat(validators).hasSize(5); }
@Override public List<OpenApiDiffValidator> create() { List<OpenApiDiffValidator> validators = new ArrayList<>(); validators.add(new OpenApiComponentsDiffValidator(componentsDiffValidatorFactory.create())); validators.add(new OpenApiInfoDiffValidator(infoDiffValidatorFactory.create())); validators.add(new OpenApiPathsDiffValidator(pathsDiffValidatorFactory.create())); validators.add(new OpenApiServersDiffValidator(serverDiffValidatorFactory.create())); validators.add(new OpenApiTagsDiffValidator(tagDiffValidatorFactory.create())); return Collections.unmodifiableList(validators); }
DefaultOpenApiDiffValidatorFactory implements OpenApiDiffValidatorFactory { @Override public List<OpenApiDiffValidator> create() { List<OpenApiDiffValidator> validators = new ArrayList<>(); validators.add(new OpenApiComponentsDiffValidator(componentsDiffValidatorFactory.create())); validators.add(new OpenApiInfoDiffValidator(infoDiffValidatorFactory.create())); validators.add(new OpenApiPathsDiffValidator(pathsDiffValidatorFactory.create())); validators.add(new OpenApiServersDiffValidator(serverDiffValidatorFactory.create())); validators.add(new OpenApiTagsDiffValidator(tagDiffValidatorFactory.create())); return Collections.unmodifiableList(validators); } }
DefaultOpenApiDiffValidatorFactory implements OpenApiDiffValidatorFactory { @Override public List<OpenApiDiffValidator> create() { List<OpenApiDiffValidator> validators = new ArrayList<>(); validators.add(new OpenApiComponentsDiffValidator(componentsDiffValidatorFactory.create())); validators.add(new OpenApiInfoDiffValidator(infoDiffValidatorFactory.create())); validators.add(new OpenApiPathsDiffValidator(pathsDiffValidatorFactory.create())); validators.add(new OpenApiServersDiffValidator(serverDiffValidatorFactory.create())); validators.add(new OpenApiTagsDiffValidator(tagDiffValidatorFactory.create())); return Collections.unmodifiableList(validators); } DefaultOpenApiDiffValidatorFactory(
      ComponentsDiffValidatorFactory componentsDiffValidatorFactory,
      InfoDiffValidatorFactory infoDiffValidatorFactory,
      PathsDiffValidatorFactory pathsDiffValidatorFactory,
      ServerDiffValidatorFactory serverDiffValidatorFactory,
      TagDiffValidatorFactory tagDiffValidatorFactory); }
DefaultOpenApiDiffValidatorFactory implements OpenApiDiffValidatorFactory { @Override public List<OpenApiDiffValidator> create() { List<OpenApiDiffValidator> validators = new ArrayList<>(); validators.add(new OpenApiComponentsDiffValidator(componentsDiffValidatorFactory.create())); validators.add(new OpenApiInfoDiffValidator(infoDiffValidatorFactory.create())); validators.add(new OpenApiPathsDiffValidator(pathsDiffValidatorFactory.create())); validators.add(new OpenApiServersDiffValidator(serverDiffValidatorFactory.create())); validators.add(new OpenApiTagsDiffValidator(tagDiffValidatorFactory.create())); return Collections.unmodifiableList(validators); } DefaultOpenApiDiffValidatorFactory(
      ComponentsDiffValidatorFactory componentsDiffValidatorFactory,
      InfoDiffValidatorFactory infoDiffValidatorFactory,
      PathsDiffValidatorFactory pathsDiffValidatorFactory,
      ServerDiffValidatorFactory serverDiffValidatorFactory,
      TagDiffValidatorFactory tagDiffValidatorFactory); @Override List<OpenApiDiffValidator> create(); }
DefaultOpenApiDiffValidatorFactory implements OpenApiDiffValidatorFactory { @Override public List<OpenApiDiffValidator> create() { List<OpenApiDiffValidator> validators = new ArrayList<>(); validators.add(new OpenApiComponentsDiffValidator(componentsDiffValidatorFactory.create())); validators.add(new OpenApiInfoDiffValidator(infoDiffValidatorFactory.create())); validators.add(new OpenApiPathsDiffValidator(pathsDiffValidatorFactory.create())); validators.add(new OpenApiServersDiffValidator(serverDiffValidatorFactory.create())); validators.add(new OpenApiTagsDiffValidator(tagDiffValidatorFactory.create())); return Collections.unmodifiableList(validators); } DefaultOpenApiDiffValidatorFactory(
      ComponentsDiffValidatorFactory componentsDiffValidatorFactory,
      InfoDiffValidatorFactory infoDiffValidatorFactory,
      PathsDiffValidatorFactory pathsDiffValidatorFactory,
      ServerDiffValidatorFactory serverDiffValidatorFactory,
      TagDiffValidatorFactory tagDiffValidatorFactory); @Override List<OpenApiDiffValidator> create();  }