Closed jorgebrunal closed 9 months ago
I have the same problem
thank you for reporting, i review this problem and please attach you insomnia json file for reproduce. inside, the function of insomnia itself is used to export first to the json and there was a problem, of course I will try to fix it. P.S. The problem was that if you specify the content type json and at the same time leave the request body empty (not valid), then the internal export will work with errors.
trouble with this code
const insomniaExport = await this.context.data.export.insomnia({
includePrivate: false,
format: 'json',
workspace: this.models.workspace,
});
it some situations, exported invalid json string
help me and create new issue on https://github.com/Kong/insomnia/issues
same problem here, did you open an issue yet on https://github.com/Kong/insomnia/issues ?
same problem here, did you open an issue yet on https://github.com/Kong/insomnia/issues ?
no free time :(, please report about this problem
attach json collection with troubles and add code with trouble
released in 2.1.1
thank you very much for your plugin!
Describe the bug generates errors when exporting a collection with many requests and folders
To Reproduce I have the following:
Expected behavior that the openapi file can be generated 😄
Screenshots 1.![](https://i.imgur.com/liw9rMr.png)
2.
![](https://i.imgur.com/d4kvSvC.png)
Desktop (please complete the following information):
Additional context it is possible (I am not sure) as seen in the screenshots above, that it is possible that some request are called the same, it would have something to do with the error that is generated when exporting?
again, thank you very much! sorry for the bad translation, I don't speak English.