Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
michaelmelody91 opened this issue Oct 12, 2018 · 1 comment

Comments

@michaelmelody91
Copy link

michaelmelody91 commented Oct 12, 2018

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;

frantuma added a commit to swagger-api/swagger-codegen-generators that referenced this issue Oct 16, 2018
frantuma added a commit to swagger-api/swagger-codegen-generators that referenced this issue Oct 16, 2018
@frantuma
Copy link
Member

should be fixed in swagger-api/swagger-codegen-generators#214. Closing ticket, please reopen if still experiencing issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants