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

[question] How to use different model packages in different group when generate client? #2954

Open
dayeguilaiye opened this issue Jul 18, 2023 · 0 comments
Labels
generator model Related to swagger generate model command question

Comments

@dayeguilaiye
Copy link

dayeguilaiye commented Jul 18, 2023

I have two groups of operation: task and file. And their models are pre-defined in two packages, like: my/task/models and my/file/models.

When I generate the API client, I found that the --existing-models param seems can use only one package, and it will used in all groups.

Is there any way to use different model packages in different client groups?

@dayeguilaiye dayeguilaiye changed the title How to use different model packages in different group when generate client? [question] How to use different model packages in different group when generate client? Jul 18, 2023
@fredbi fredbi added generator model Related to swagger generate model command labels Dec 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
generator model Related to swagger generate model command question
Projects
None yet
Development

No branches or pull requests

2 participants