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
After further exploration, this is not a bug. Strings, when returned from the API, should be quoted, making them valid JSON. For example "hello" is valid JSON.
The Petstore example API server has a bug relating to this. I've raised a PR:
See: https://github.com/ScottLogic/openapi-forge-typescript/blob/main/template/fetch.ts#L8
This is probably true for the JS generator also
The text was updated successfully, but these errors were encountered: