mirror of
https://github.com/ferdikoomen/openapi-typescript-codegen.git
synced 2025-12-08 20:16:21 +00:00
- Minor update in documentation
- Bumped version
This commit is contained in:
parent
7e8d66b90a
commit
d482a5716d
13
README.md
13
README.md
@ -459,18 +459,11 @@ classes in NodeJS).
|
||||
npm install axios --save-dev
|
||||
npm install cross-blob@2.x --save-dev
|
||||
npm install form-data@4.x --save-dev
|
||||
npm install node-fetch@2.x --save-dev
|
||||
```
|
||||
|
||||
In order to compile the project and resolve the imports, you will need to enable the `allowSyntheticDefaultImports`
|
||||
in your `tsconfig.json` file.
|
||||
|
||||
```json
|
||||
{
|
||||
"allowSyntheticDefaultImports": true
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
### Node-Fetch support
|
||||
By default, this tool will generate a client that is compatible with the (browser based) Fetch API.
|
||||
@ -496,12 +489,6 @@ npm install node-fetch@2.x --save-dev
|
||||
In order to compile the project and resolve the imports, you will need to enable the `allowSyntheticDefaultImports`
|
||||
in your `tsconfig.json` file.
|
||||
|
||||
```json
|
||||
{
|
||||
"allowSyntheticDefaultImports": true
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
[npm-url]: https://npmjs.org/package/openapi-typescript-codegen
|
||||
[npm-image]: https://img.shields.io/npm/v/openapi-typescript-codegen.svg
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "openapi-typescript-codegen",
|
||||
"version": "0.12.0",
|
||||
"version": "0.12.1",
|
||||
"description": "Library that generates Typescript clients based on the OpenAPI specification.",
|
||||
"author": "Ferdi Koomen",
|
||||
"homepage": "https://github.com/ferdikoomen/openapi-typescript-codegen",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user