@Test public void create() { List<ParameterDiffValidator> validators = validatorFactory.create(); assertThat(validators).hasSize(8); }
@Override public List<ParameterDiffValidator> create() { List<ParameterDiffValidator> validators = new ArrayList<>(); validators.add(new ParameterContentDiffValidator(mediaTypeDiffValidatorFactory.create())); validators.add(new ParameterSchemaDiffValidator(schemaDiffValidatorFactory.create())); validators.add(new ParameterAddDiffValidator()); validators.add(new ParameterRequiredChangeDiffValidator()); validators.add(new ParameterAllowEmptyValueChangeDiffValidator()); validators.add(new ParameterStyleNotSameDiffValidator()); validators.add(new ParameterExplodeNotSameDiffValidator()); validators.add(new ParameterAllowReservedChangeDiffValidator()); return Collections.unmodifiableList(validators); }
DefaultParameterDiffValidatorFactory implements ParameterDiffValidatorFactory { @Override public List<ParameterDiffValidator> create() { List<ParameterDiffValidator> validators = new ArrayList<>(); validators.add(new ParameterContentDiffValidator(mediaTypeDiffValidatorFactory.create())); validators.add(new ParameterSchemaDiffValidator(schemaDiffValidatorFactory.create())); validators.add(new ParameterAddDiffValidator()); validators.add(new ParameterRequiredChangeDiffValidator()); validators.add(new ParameterAllowEmptyValueChangeDiffValidator()); validators.add(new ParameterStyleNotSameDiffValidator()); validators.add(new ParameterExplodeNotSameDiffValidator()); validators.add(new ParameterAllowReservedChangeDiffValidator()); return Collections.unmodifiableList(validators); } }
DefaultParameterDiffValidatorFactory implements ParameterDiffValidatorFactory { @Override public List<ParameterDiffValidator> create() { List<ParameterDiffValidator> validators = new ArrayList<>(); validators.add(new ParameterContentDiffValidator(mediaTypeDiffValidatorFactory.create())); validators.add(new ParameterSchemaDiffValidator(schemaDiffValidatorFactory.create())); validators.add(new ParameterAddDiffValidator()); validators.add(new ParameterRequiredChangeDiffValidator()); validators.add(new ParameterAllowEmptyValueChangeDiffValidator()); validators.add(new ParameterStyleNotSameDiffValidator()); validators.add(new ParameterExplodeNotSameDiffValidator()); validators.add(new ParameterAllowReservedChangeDiffValidator()); return Collections.unmodifiableList(validators); } DefaultParameterDiffValidatorFactory(
      MediaTypeDiffValidatorFactory mediaTypeDiffValidatorFactory,
      SchemaDiffValidatorFactory schemaDiffValidatorFactory); }
DefaultParameterDiffValidatorFactory implements ParameterDiffValidatorFactory { @Override public List<ParameterDiffValidator> create() { List<ParameterDiffValidator> validators = new ArrayList<>(); validators.add(new ParameterContentDiffValidator(mediaTypeDiffValidatorFactory.create())); validators.add(new ParameterSchemaDiffValidator(schemaDiffValidatorFactory.create())); validators.add(new ParameterAddDiffValidator()); validators.add(new ParameterRequiredChangeDiffValidator()); validators.add(new ParameterAllowEmptyValueChangeDiffValidator()); validators.add(new ParameterStyleNotSameDiffValidator()); validators.add(new ParameterExplodeNotSameDiffValidator()); validators.add(new ParameterAllowReservedChangeDiffValidator()); return Collections.unmodifiableList(validators); } DefaultParameterDiffValidatorFactory(
      MediaTypeDiffValidatorFactory mediaTypeDiffValidatorFactory,
      SchemaDiffValidatorFactory schemaDiffValidatorFactory); @Override List<ParameterDiffValidator> create(); }
DefaultParameterDiffValidatorFactory implements ParameterDiffValidatorFactory { @Override public List<ParameterDiffValidator> create() { List<ParameterDiffValidator> validators = new ArrayList<>(); validators.add(new ParameterContentDiffValidator(mediaTypeDiffValidatorFactory.create())); validators.add(new ParameterSchemaDiffValidator(schemaDiffValidatorFactory.create())); validators.add(new ParameterAddDiffValidator()); validators.add(new ParameterRequiredChangeDiffValidator()); validators.add(new ParameterAllowEmptyValueChangeDiffValidator()); validators.add(new ParameterStyleNotSameDiffValidator()); validators.add(new ParameterExplodeNotSameDiffValidator()); validators.add(new ParameterAllowReservedChangeDiffValidator()); return Collections.unmodifiableList(validators); } DefaultParameterDiffValidatorFactory(
      MediaTypeDiffValidatorFactory mediaTypeDiffValidatorFactory,
      SchemaDiffValidatorFactory schemaDiffValidatorFactory); @Override List<ParameterDiffValidator> create();  }