Skip to content

Commit d4a54c2

Browse files
committed
Add enum example to readme
1 parent b4ee891 commit d4a54c2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Convert Swagger files to TypeScript interfaces using Node.js.
1616
| `allOf` | `TypeB extends TypeA` |
1717
| `oneOf` | `TypeA \| TypeB` |
1818
| `required` | (not optional) |
19+
| `enum` | `'a' \| 'b'` |
1920

2021
To compare actual generated output, see the [example](./example) folder.
2122

0 commit comments

Comments
 (0)