Skip to content

Commit

Permalink
doc: readme
Browse files Browse the repository at this point in the history
  • Loading branch information
hosseinmd committed Sep 24, 2020
1 parent 490654a commit d2c697c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Support OpenApi v3

An auto typescript code generator from swagger.
An auto typescript/javascript code generator from swagger.
Every endpoint create as function and full type base.

For Example:
Expand All @@ -26,9 +26,10 @@ Before running, add your config to swagger.config.json

```json
{
"url": "http://example.com/api/swagger.json",
"dir": "./test",
"url": "http://example.com/api/swagger.json", // required
"dir": "./test", //required
"prettierPath": ".prettierrc",
"language": "typescript", // "javascript" | "typescript"
"ignore": {
//Will be ignore from services functions.
"headerParams": ["terminalId"]
Expand Down

0 comments on commit d2c697c

Please sign in to comment.