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

[TS][Axios] Remove redundant right parenthesis #1864

Merged

Conversation

sruehl
Copy link
Contributor

@sruehl sruehl commented Jan 9, 2019

PR checklist

  • Read the contribution guidelines.
  • Ran the shell script under ./bin/ to update Petstore sample so that CIs can verify the change. (For instance, only need to run ./bin/{LANG}-petstore.sh and ./bin/security/{LANG}-petstore.sh if updating the {LANG} (e.g. php, ruby, python, etc) code generator or {LANG} client's mustache templates). Windows batch files can be found in .\bin\windows\.
  • Filed the PR against the correct branch: master, 3.4.x, 4.0.x. Default: master.
  • Copied the technical committee to review the pull request if your PR is targeting a particular programming language.

Description of the PR

the api.mustache for typescript-axios contains a syntax error when using arrays in header.

Issue: #1848

cc: @TiFu (2017/07) @taxpon (2017/07) @sebastianhaas (2017/07) @kenisteward (2017/07) @Vrolijkx (2017/09) @macjohnny (2018/01) @nicokoenig (2018/09) @topce (2018/10)

Copy link
Member

@macjohnny macjohnny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

samples need to be generated and one change reverted, otherwise it will generate incorrect code

@sruehl sruehl force-pushed the bugfix/1848_redundant_right_parenthesis branch from 7d7b7bb to bccb31b Compare January 9, 2019 15:04
Copy link
Member

@macjohnny macjohnny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sruehl
Copy link
Contributor Author

sruehl commented Jan 9, 2019

@macjohnny I left out samples/changes on petstore.yaml intentionally and linked an example in #1848 as I don't wanted to adjust the file for every protocol. Maybe a file with all possibilities would be good for the future so we have a validation of all features in all languages. Another unrelated bug here is that we can define complex types in headers and the won't get stringifyed (But thats a completely different issue).

@wing328
Copy link
Member

wing328 commented Jan 9, 2019

The CircleCI issue has been fixed in master.

@wing328 wing328 merged commit faf1f5d into OpenAPITools:master Jan 9, 2019
@sruehl sruehl deleted the bugfix/1848_redundant_right_parenthesis branch January 10, 2019 09:41
@wing328 wing328 added this to the 4.0.0 milestone Jan 16, 2019
@wing328 wing328 changed the title [BUG-1848] Remove redundant right parenthesis [TS][Axios] Remove redundant right parenthesis Jan 16, 2019
A-Joshi pushed a commit to ihsmarkitoss/openapi-generator that referenced this pull request Feb 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants