public class DataModelGenerator extends Object
Constructor and Description |
---|
DataModelGenerator()
Default constructor initializing the generator with default class members
|
Modifier and Type | Method and Description |
---|---|
io.vavr.control.Try<GenerationResult> |
generateDataModel(GenerationConfiguration generationConfiguration)
Generates the data model based on the provided generation configuration.
|
public DataModelGenerator()
@Nonnull public io.vavr.control.Try<GenerationResult> generateDataModel(@Nonnull GenerationConfiguration generationConfiguration)
generationConfiguration
- The configuration for the code generationTry
wrapping the GenerationResult
in the success case. In the failure case it wraps a
OpenApiGeneratorException
or an IllegalArgumentException
.Copyright © 2021 SAP SE. All rights reserved.