Migrator
struct Migrator
Responsible for creating the facade of an OpenAPI library according to a migration guide.
-
Migration handler
Declaration
Swift
var migrator: PallidorMigrator -
Undocumented
Declaration
Swift
internal init(targetDirectory: String, migrationGuide: String? = nil) throws -
Creates the facade and adapts it according to the migration guide
Throws
Error if migration failsDeclaration
Swift
func buildFacade() throws -> [URL]Return Value
a list of file URLs of the generated facade files
View on GitHub
Migrator Structure Reference