ApiConfigurationManager class

Manages API generation configuration and project settings.

Loads project configuration from morpheme.yaml and processes generation-specific options like cache strategies and return data types.

Constructors

ApiConfigurationManager()

Properties

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

Methods

isApplyCacheStrategy(String method) bool
Checks if the method supports cache strategies
isMultipart(String method) bool
Checks if the method is a multipart method
isSse(String method) bool
Checks if the method is a Server-Sent Events method
loadConfiguration(String morphemeYamlPath, ApiGenerationConfig generationConfig) ProjectConfiguration
Loads and processes project configuration.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
processConfiguration(ApiGenerationConfig config) ApiGenerationConfig
Processes and normalizes configuration options.
toString() String
A string representation of this object.
inherited
validateConfiguration(ApiGenerationConfig config) → void
Validates configuration compatibility and constraints.

Operators

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