public class SharedModelsTaskParamsValidator extends Object implements Consumer<GeneratorTaskParams>
CustomizationConfig.shareModelConfig
attribute specified are being generated
after the service they are attempting to share models with. This ensures that the services are kept together in the same
module and allows us to verify (in CodeWriter
) that their models are compatible with each other.Constructor and Description |
---|
SharedModelsTaskParamsValidator() |
public void accept(GeneratorTaskParams params)
accept
in interface Consumer<GeneratorTaskParams>
Copyright © 2020. All rights reserved.