Skip to content

Commit

Permalink
Update packages/openapi-generator/README.md
Browse files Browse the repository at this point in the history
Co-authored-by: Ansh Chaturvedi <45408169+anshchaturvedi@users.noreply.github.com>
  • Loading branch information
ad-world and anshchaturvedi committed Aug 8, 2024
1 parent 4a569b8 commit 348be34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/openapi-generator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ containing AST definitions for external libraries. For more details, see
### Solution 2: Using a Custom Codec Configuration File

`openapi-generator` supports importing codecs from other packages in `node_modules`, but
it struggles with `io-ts`primitives that need JavaScript interpretation, such as
it struggles with `io-ts` primitives that need JavaScript interpretation, such as
`new t.Type(...)`. To work around this, you can define schemas for these codecs in a
configuration file within your downstream types package (where you generate the API
docs). This allows the generator to understand and use these schemas where necessary.
Expand Down

0 comments on commit 348be34

Please sign in to comment.