A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/swagger-api/swagger-codegen/issues/8805 below:

[SWIFT3, SWIFT4] Unable to generate client SDK's due to missing config template.dir · Issue #8805 · swagger-api/swagger-codegen · GitHub

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().

swagger-codegen/modules/swagger-codegen/src/main/java/io/swagger/codegen/v3/AbstractGenerator.java

Line 96 in 2807c71

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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4