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
This should depend on the version of OpenAPI Spec that is being generated. In v3.1.0, example is deprecated. However, in v3.0.0 examples is not even valid, there is only example.
Hello,
Firstly, thank you for this fantastic project.
I have noticed a small bug when converting from TS to OAPI and using the
@example
annotation.If I have the following TS:
Then the examples are correctly converted to:
However, if there is only 1 example annotation e.g.
Then it is incorrectly converted to:
It should either still be an array with 1 item, or:
Thanks very much!
The text was updated successfully, but these errors were encountered: