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] excluded and Overriden Models: one file for each yaml? #550

Closed
margat78 opened this issue Feb 17, 2023 · 3 comments
Closed

[QUESTION] excluded and Overriden Models: one file for each yaml? #550

margat78 opened this issue Feb 17, 2023 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@margat78
Copy link

Please describe a problem.
When use a more Api_xxx.yaml file and exclude more Models form different api file with

overriden_models: [ModelFromApi1, ModelFromApi2]

Describe the solution you'd like
I would like:

  • different overriden_models_xxx.dart file

  • Instead of
    import 'overriden_models.dart';
    I think is userful generate part of api_xxx.swagger.dart so in overriden_models_xxx.dart I can use deserializer of inner object and enums of ModelFromApi1 defined in api_xxx.swagger.dart

@margat78 margat78 added the question Further information is requested label Feb 17, 2023
@Vovanella95
Copy link
Collaborator

Hi @margat78 , good idea. Separate overriden_models for each swagger file can save us from conflicts. Will implement it after closing issues!

@Vovanella95
Copy link
Collaborator

@margat78 actually, it's not a question, it's enhancement. Will change issue label

@Vovanella95 Vovanella95 added enhancement New feature or request and removed question Further information is requested labels Feb 17, 2023
@Vovanella95
Copy link
Collaborator

Implemented :) @margat78

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants