Open AdrianZghibarta opened 3 years ago
As well, is there any ways of downgrading to 3.0.24?
I tried downloading the file from https://raw.githubusercontent.com/Homebrew/homebrew-core/e2c833d326c45d9aaf4e26af6dd8b2f31564dc04/Formula/swagger-codegen.rb
and running brew install downloaded-file.rb
.. but there are issues as well:
error: Failed to download resource "swagger-codegen_bottle_manifest"
Download failed: https://ghcr.io/v2/homebrew/core/swagger-codegen/manifests/3.0.24
try adding --template-engine mustache and in -t defining the exact relative folder, -t handlebars/swift5
Description
If I'll indicate a custom folder with template files for code generation, it will throw a file not found exception, more details bellow
Swagger-codegen version
3.0.26
Command line used for generation
swagger-codegen generate -i https://docs.helloreco.holiday/swagger/support.yaml -t handlebars -l swift5 -o TestOutput/
The
handlebars
is a folder located in/Users/username/Documents/project-ios/RecoSwaggerClient
with this structure:Result after running the command in
/Users/username/Documents/project-ios/RecoSwaggerClient
I had previously installed version 3.0.24 and all was working as expected, after updating to 3.0.24 I am having this error. It seems that it's trying to find the templates not directly in the indicated folder (from
-t
param). As well if I'll indicate another folder for-t
param, let's saytemplates
, it seems to use default templates and ignore the ones from fodler.