Skip to content

[SWIFT3, SWIFT4] Unable to generate client SDK's due to missing config template.dir #8805

@michaelmelody91

Description

@michaelmelody91
Description

Error thrown when attempting to generate Client SDK's for Swift3 and Swift4 when using an OAS3 spec.

Swagger-codegen version

3.0.1

Previously working in 3.0.0

Steps to reproduce

Attempt to generate client sdk

Suggest a fix/enhancement

Issue appears to be due to a missing template dir. The following line returns null for config.templateDir().

final String template = config.templateDir() + File.separator + templateFile;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions