Skip to content

generator ignore package passed for model and API for go generator #2803

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

Open
waytoharish opened this issue May 3, 2019 · 2 comments
Open

Comments

@waytoharish
Copy link

Hi Team,
I am trying to generate the Go-Srever code using the openapi-generator-cli.jar and passing model and API package name but code is getting generated in the same folder only.
Please suggest me if i am doing anything wrong.Command used-
java -jar openapi-generator-cli.jar generate -i http://petstore.swagger.io/v2/swagger.json -l go-server -o testgo --model-package=api.model
image

@auto-labeler
Copy link

auto-labeler bot commented May 3, 2019

👍 Thanks for opening this issue!
🏷 I have applied any labels matching special text in your issue.

The team will review the labels and make any necessary changes.

@karismann
Copy link
Contributor

@waytoharish as mentionned in #2752 , the go generator doesn't actually support generating model and api in a specific folder

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

No branches or pull requests

2 participants