Skip to content

Commit 1e38f89

Browse files
Update swagger.md
1 parent 1649c38 commit 1e38f89

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

content/recipes/swagger.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,7 @@ pet: Cat | Dog;
339339
```
340340

341341
If you want to define a polymorphic array (i.e., an array whose members span multiple schemas), you should use a raw definition (see above) to define your type by hand.
342+
342343
```typescript
343344
type Pet = Cat | Dog;
344345

0 commit comments

Comments
 (0)