MetaModelConverter

struct MetaModelConverter

Converter for all models that are not bound to an open api document but are required for generating a Swift package

  • Writes all meta models to files

    Throws

    error if files could not be written

    Declaration

    Swift

    func writeToFile(targetDirectory: Path, packageName: String, servers: [String]) throws -> [URL]

    Parameters

    targetDirectory

    target where files will be located

    packageName

    name of the package

    servers

    list of server urls from open api document

    Return Value

    list of file urls