RicoSuter/NSwag

TypeScript Client Generation Using RxJS 6 Observables Without Angular

Open

#1,693 建立於 2018年10月29日

在 GitHub 查看
 (2 留言) (1 反應) (0 負責人)C# (6,291 star) (1,189 fork)batch import
help wantedproject: NSwag.CodeGeneration.TypeScripttype: enhancement

描述

I'm currently working on a react project using redux-observable which is a redux middleware based on RxJS 6. As such, it would be awesome to be able to use the NSwagStudio to generate a TypeScript client using Observables based on RxJS 6 rather than being stuck using the Fetch (Promise-based) generator.

I've read through https://github.com/RSuter/NSwag/wiki/SwaggerToTypeScriptClientGenerator and didn't see it listed, so it's likely a feature request rather than it actually being possible now despite there being RxJS 6 support for Angular. Or, am I missing a setting that will decouple the current RxJS 6 client generation from the Angular client generation?

貢獻者指南

TypeScript Client Generation Using RxJS 6 Observables Without Angular · RicoSuter/NSwag#1693 | Good First Issue