Skip to content

Fix #1487, TypeScript-Angular output path wrong if apiPackage not the… #2076

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

Merged
merged 1 commit into from
Feb 15, 2016

Conversation

daveholladay
Copy link
Contributor

The Typescript-Angular codegen added the api.d.mustache files in the constructor & picked up the output patch from the default value for apiPackage (API.Client).

Moving the add to the end of processOpts picks up the overridden value for apiPackage & outputs the file where it should be.

I've made the same change in Typescript-Node to avoid the same bug if the output is changed to fully qualified paths at a later date.

@wing328
Copy link
Contributor

wing328 commented Feb 15, 2016

@daveholladay thanks for the PR and sorry for taking a bit long to review.

wing328 added a commit that referenced this pull request Feb 15, 2016
Fix #1487, TypeScript-Angular output path wrong if apiPackage not the…
@wing328 wing328 merged commit af594ea into swagger-api:master Feb 15, 2016
@wing328 wing328 added this to the v2.1.6 milestone Feb 15, 2016
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.

2 participants