OpenApiParser class

General class for parsing OpenApi specification into universal models

Constructors

OpenApiParser(ParserConfig config)
Creates a OpenApiParser.

Properties

config → ParserConfig
ParserConfig that OpenApiParser use
final
hashCode → int
The hash code for this object.
no setterinherited
openApiInfo → OpenApiInfo
Get saved OpenApiInfo from OpenApiParser
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

filterNullTypes(List values) → List<Map<String, dynamic>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parseDataClasses() → List<UniversalDataClass>
Parses data classes from components of definition file and return list of UniversalDataClass
parseRestClients() → List<UniversalRestClient>
Parses rest clients from paths section of definition file and return list of UniversalRestClient
toString() → String
A string representation of this object.
inherited

Operators

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