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
Expected behavior: Compiles without errors. Generic type from tags.Example should not be erased.
Actual behavior: DTO from structures directory does not compile.
I have a DTO interface on which I applied the tags.Example-tag. The example value is shown in the OpenAPI document as expected. But when I execute npx nestia sdk with clone-mode enabled, the generated structures directory contains the same DTOs with compiler errors. In detail, the generic type from the Example-tag is missing.
📝 Summary
tags.Example
should not be erased.I have a DTO interface on which I applied the
tags.Example
-tag. The example value is shown in the OpenAPI document as expected. But when I executenpx nestia sdk
with clone-mode enabled, the generated structures directory contains the same DTOs with compiler errors. In detail, the generic type from the Example-tag is missing.Code causing the bug
DTO:
Generated:
=> Error message : "TS2314: Generic type Example requires 1 type argument(s)."
If you cannot reproduce the bug, please let me know.
The text was updated successfully, but these errors were encountered: