GenProcessor class

Handles whole cycle of generation. Can be provided with arguments to specify custom path to yaml config.

Constructors

GenProcessor.new(SWPConfig config)
Applies parameters directly from constructor and sets them to default if not found
const

Properties

config SWPConfig
Config
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

generateContent(({String fileContent, bool isJson}) configParameters) Future<List<GeneratedFile>>
Generates content of files based on OpenApi definition file and return list of GeneratedFile
generateFiles() Future<(OpenApiInfo, GenerationStatistic)>
Generates files based on OpenApi definition file
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited