Uh oh!
There was an error while loading. Please reload this page.
add new generator: typescript-rxjs - #1884
Conversation
Feature/rxjs * feat: duplicate typescript-fetch, add docs * duplicate fetch codegen to use for rxjs * remove mapping helpers from modesl * introduce rxjs, adjust apis * make middlewares work * fix namespace issue with babel * fix enum generation * fix formatting of enum * remove other readme * feat: duplicate typescript-fetch, add docs * duplicate fetch codegen to use for rxjs * remove mapping helpers from modesl * introduce rxjs, adjust apis * make middlewares work * fix namespace issue with babel * fix enum generation * fix formatting of enum * remove other readme
wing328
commented
Jan 11, 2019
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) |
macjohnny
commented
Jan 11, 2019
see also #802 (comment) |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
macjohnny
commented
Jan 11, 2019
@denyo I suggest you to add an entry to also, it would be good to have a small integration test to avoid regression issues. see e.g. |
denyo
commented
Jan 14, 2019
@macjohnny thanks for the feedback and hints. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
…untime.mustache Co-Authored-By: denyo <hacker.bernd@gmail.com>
…untime.mustache Co-Authored-By: denyo <hacker.bernd@gmail.com>
…untime.mustache Co-Authored-By: denyo <hacker.bernd@gmail.com>
…untime.mustache Co-Authored-By: denyo <hacker.bernd@gmail.com>
…untime.mustache Co-Authored-By: denyo <hacker.bernd@gmail.com>
…untime.mustache Co-Authored-By: denyo <hacker.bernd@gmail.com>
…untime.mustache Co-Authored-By: denyo <hacker.bernd@gmail.com>
…untime.mustache Co-Authored-By: denyo <hacker.bernd@gmail.com>
denyo
commented
Jan 15, 2019
Thanks for the additions. |
Uh oh!
There was an error while loading. Please reload this page.
…pis.mustache Co-Authored-By: denyo <hacker.bernd@gmail.com>
macjohnny
commented
Jan 15, 2019
You are right, I missed that. So you can revert the change I suggested that adds the interface |
denyo
commented
Jan 15, 2019
Will do. Also the one with |
macjohnny
commented
Jan 15, 2019
you are right, it is inside a |
wing328
commented
Jan 21, 2019
@denyo thanks for the PR, which has been merged into master. @macjohnny thanks for reviewing the change. |
* Merged in feature/rxjs (pull request #2) Feature/rxjs * feat: duplicate typescript-fetch, add docs * duplicate fetch codegen to use for rxjs * remove mapping helpers from modesl * introduce rxjs, adjust apis * make middlewares work * fix namespace issue with babel * fix enum generation * fix formatting of enum * remove other readme * feat: duplicate typescript-fetch, add docs * duplicate fetch codegen to use for rxjs * remove mapping helpers from modesl * introduce rxjs, adjust apis * make middlewares work * fix namespace issue with babel * fix enum generation * fix formatting of enum * remove other readme * add bash scripts to generate samples * remove environment import * add rxjs dependency to package.mustache * add genereated samples * add docs * add windows scripts * adjust license info * update "ensure-up-to-date" by typescript-rxjs * Update modules/openapi-generator/src/main/resources/typescript-rxjs/runtime.mustache Co-Authored-By: denyo <hacker.bernd@gmail.com> * Update modules/openapi-generator/src/main/resources/typescript-rxjs/runtime.mustache Co-Authored-By: denyo <hacker.bernd@gmail.com> * Update modules/openapi-generator/src/main/resources/typescript-rxjs/runtime.mustache Co-Authored-By: denyo <hacker.bernd@gmail.com> * Update modules/openapi-generator/src/main/resources/typescript-rxjs/runtime.mustache Co-Authored-By: denyo <hacker.bernd@gmail.com> * Update modules/openapi-generator/src/main/resources/typescript-rxjs/runtime.mustache Co-Authored-By: denyo <hacker.bernd@gmail.com> * Update modules/openapi-generator/src/main/resources/typescript-rxjs/runtime.mustache Co-Authored-By: denyo <hacker.bernd@gmail.com> * Update modules/openapi-generator/src/main/resources/typescript-rxjs/runtime.mustache Co-Authored-By: denyo <hacker.bernd@gmail.com> * Update modules/openapi-generator/src/main/resources/typescript-rxjs/runtime.mustache Co-Authored-By: denyo <hacker.bernd@gmail.com> * Update modules/openapi-generator/src/main/resources/typescript-rxjs/apis.mustache Co-Authored-By: denyo <hacker.bernd@gmail.com> * fix missing return for Observable<void> * use shorthand syntax * improve linting * improve linting * revert previous changes * Revert "Update modules/openapi-generator/src/main/resources/typescript-rxjs/runtime.mustache" This reverts commit 26f65ca. * recreate typescript-rxjs samples
PR checklist
./bin/to update Petstore sample so that CIs can verify the change. (For instance, only need to run./bin/{LANG}-petstore.shand./bin/security/{LANG}-petstore.shif 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\.master,. Default:3.4.x,4.0.xmaster.Description of the PR
This PR adds a new generator
typescript-rxjswhich is based ontypescript-fetchand replaces allfetchandPromiserelated things with rxjsajaxandObservables: https://github.com/ReactiveX/rxjs/blob/master/src/internal/observable/dom/AjaxObservable.ts.