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

AbortController not available for Aurelia template #3452

Closed
dackjaniels2001 opened this issue May 6, 2021 · 2 comments
Closed

AbortController not available for Aurelia template #3452

dackjaniels2001 opened this issue May 6, 2021 · 2 comments

Comments

@dackjaniels2001
Copy link

dackjaniels2001 commented May 6, 2021

Hi,

A previous issue discussed adding the AbortController option to the Fetch template of Nswag studio.
Could this option also be made available for the Aurelia template? I would like to use it but it's not currently available.

UPDATE: I just worked around this by choosing Fetch, checking the AbortController box and then selecting Aurelia again and generating the files. The Aurelia template was used but also included the optional signal parameter for the abort functionality.

Steve

@RicoSuter
Copy link
Owner

UPDATE: I just worked around this by choosing Fetch, checking the AbortController box and then selecting Aurelia again and generating the files. The Aurelia template was used but also included the optional signal parameter for the abort functionality.

So the option works but is just hidden in the UI (NSwagStudio)?

@dackjaniels2001
Copy link
Author

dackjaniels2001 commented May 7, 2021 via email

pull bot added a commit to InfoTrackGlobal/NSwag that referenced this issue May 7, 2021
* mitigate cve-2021-26701 (RicoSuter#3449)

Co-authored-by: Joe Koullas <[email protected]>

* Update NJS

* Update NR

* v13.11.0

* Update to swagger-ui-3.48.0, RicoSuter#3451

* Allow UseAbortSignal for Aurelia, closes RicoSuter#3452

Co-authored-by: Joe <[email protected]>
Co-authored-by: Joe Koullas <[email protected]>
Co-authored-by: Rico Suter <[email protected]>
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

No branches or pull requests

2 participants