Open 43081j opened 10 months ago
the swagger library can be found here: https://github.com/swagger-api/swagger-js
it currently depends on packages for providing URLSearchParams behaviour (qs), and AbortController (node-abort-controller).
URLSearchParams
AbortController
node-abort-controller
We should migrate to URLSearchParams as a minimum.
If the maintainers are happy to require a later node version (>=15 iirc), we can also use the native AbortController instead of a package.
>=15
if nesting is required, we should use picoquery
picoquery
I think swagger was renamed to open-api. I switched immich to this client, which uses Node's built-in fetch: https://github.com/oazapfts/oazapfts
fetch
the swagger library can be found here: https://github.com/swagger-api/swagger-js
it currently depends on packages for providing
URLSearchParams
behaviour (qs), andAbortController
(node-abort-controller
).We should migrate to
URLSearchParams
as a minimum.If the maintainers are happy to require a later node version (
>=15
iirc), we can also use the nativeAbortController
instead of a package.if nesting is required, we should use
picoquery