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

Added isLast flag for parameters #208

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

atnartur
Copy link

I was trying to make the list of separate arguments in generated functions:

Swagger.prototype.login = function(email, password) {
    ...
}

instead of one object:

Swagger.prototype.login = function(parameters) {
    ...
}

but problem with the last comma cannot be fixed without this flag. A lot of tutorials for Mustache says that this checks should be executed when data is preparing.

Also I want to hear your opinion about this method template that generated code as I shown above. Can I implement this with adding new argument?

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

Successfully merging this pull request may close these issues.

None yet

1 participant