Skip to content

Commit 60595b9

Browse files
author
simonbility
committed
Add TypeOverrides in Tutorials
1 parent c57b645 commit 60595b9

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Sources/swift-openapi-generator/Documentation.docc/Articles/Configuring-the-generator.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,3 +132,15 @@ filter:
132132
tags:
133133
- myTag
134134
```
135+
136+
### Type Overrides
137+
138+
Type Overrides can be used used to replace the default generated type with a custom type.
139+
140+
```yaml
141+
typeOverrides:
142+
schemas:
143+
UUID: Foundation.UUID
144+
```
145+
146+
Check out [SOAR-0014](https://swiftpackageindex.com/apple/swift-openapi-generator/documentation/swift-openapi-generator/soar-0014) for details.

0 commit comments

Comments
 (0)