npm restful-react code example
Example: restful react npm
"scripts": { "start": "webpack-dev-server", "build": "webpack -p",+ "generate-fetcher": "restful-react import --file MY_SWAGGER_DOCS.json --output FETCHERS.tsx" }
"scripts": { "start": "webpack-dev-server", "build": "webpack -p",+ "generate-fetcher": "restful-react import --file MY_SWAGGER_DOCS.json --output FETCHERS.tsx" }