You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
krupalpatel92
changed the title
[BUG][JAVASCRIPT] while use typescript-fetch is causing an error GlobalFetch not found
[BUG][typescript-fetch] Causing an error GlobalFetch not found
Oct 24, 2021
Generating OpenAPI with typescript-fetch
npx openapi-generator-cli generate -i ./swagger.json -g typescript-fetch -o ./src/apis
Description
"openapi": "3.0.0"
openapi-generator version
openapitools.json
![image](https://user-images.githubusercontent.com/6726905/138608391-0ddfb309-b927-44da-ba5e-97641376c660.png)
Steps to reproduce
create-react-app
with TypeScriptnpx openapi-generator-cli generate -i ./swagger.json -g typescript-fetch -o ./src/apis
yarn start
Solution tried
But didn't worked
![image](https://user-images.githubusercontent.com/6726905/138609337-8a86478f-59af-4e55-b542-bf5539652bcf.png)
The text was updated successfully, but these errors were encountered: