You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When passing -m argument as below which includes /, I was hoping that would allow the models to be in a subdirectory:
swagger generate server -A Yabber -f ./api/swagger/swagger.yaml --flag-strategy=pflag -m pkg.models.swagger
However the import statements are snake casing the package name:
...yabber/restapi/operations/accounts/create_account_parameters.go:15:2: cannot find package "github.com/xxx/yabber/pkg_models_swagger"
Please remove the sections that don't apply
Steps to reproduce
Generate with -m option containing /
Environment
swagger version: 0.13.0
go version: 1.9.2
OS: OSX
The text was updated successfully, but these errors were encountered:
Problem statement
When passing
-m
argument as below which includes/
, I was hoping that would allow the models to be in a subdirectory:swagger generate server -A Yabber -f ./api/swagger/swagger.yaml --flag-strategy=pflag -m pkg.models.swagger
However the import statements are snake casing the package name:
...
yabber/restapi/operations/accounts/create_account_parameters.go:15:2: cannot find package "github.com/xxx/yabber/pkg_models_swagger"
Please remove the sections that don't apply
Steps to reproduce
-m
option containing/
Environment
swagger version: 0.13.0
go version: 1.9.2
OS: OSX
The text was updated successfully, but these errors were encountered: