You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a parameter description contains a "." at the end, it produces an invalid typescript output. Here is a small schema that produce an invalid output
Description
When a parameter description contains a "." at the end, it produces an invalid typescript output. Here is a small schema that produce an invalid output
The code generated is
There are an extra
{}
aroundparameters
. If I remove the "." at the end of the description, the generation works correctly.openapi-typescript
6.0.2
16.17.1
macOS 13
Reproduction
Generate the types from the previous schema
Expected result
(in case it’s not obvious)
Checklist
The text was updated successfully, but these errors were encountered: