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

Ability to generate api client method accepting parameters object instead of parameters list #5

Open
Kiryushin-Andrey opened this issue Feb 28, 2019 · 1 comment

Comments

@Kiryushin-Andrey
Copy link
Contributor

No description provided.

@Kiryushin-Andrey Kiryushin-Andrey changed the title Introduce TSParameterObjectAttribute to generate api client method accepting parameters object instead of parameters list Ability to generate api client method accepting parameters object instead of parameters list Feb 28, 2019
@Kiryushin-Andrey
Copy link
Contributor Author

Kiryushin-Andrey commented Feb 28, 2019

Two options suggested for turning this behaviour on or off:

  • TSParametersObjectAttribute that can be applied to controller or action;
  • Command-line option that specifies maximum number of parameters to be generated in a traditional way; all methods with the number of parameters exceeding this limit will be generated with a parameters object

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

No branches or pull requests

1 participant