AIO SDK libs (e.g. aio-lib-analytics) created from this template can be used in Runtime actions. However, in some cases they should be used directly on the client side to fetch data from the backend service (little or no processing) without making a detour to the actions. Using those libs in the client JS code is yet not working.
Expected Behaviour
I should be able to use the libs in client side code (e.g. useEffect() in React).
Actual Behaviour
This error is printed out in browser console: TypeError: Swagger is not a constructor.