insomnia
insomnia copied to clipboard
Between the 5/17 release and now OpenAPI import no longer creates Base Environment base_url variable
Expected Behavior
When importing OpenAPI 3 document it should create a Base Environment variable called base_url that combines host and api path.
Actual Behavior
It does not do this anymore.
Reproduction Steps
- import
- open environment
- click base environment
Is there an existing issue for this?
- [X] I have searched the issue tracker for this problem.
Additional Information
It was originally implemented in https://github.com/luizmariz/insomnia/commit/cefcefde4dd6f46cc521cab46a8ef40ffe5078c0
I believe the issue is due to the new organization "feature". Once I joined an organization it worked correctly.
Insomnia Version
latest
What operating system are you using?
macOS
Operating System Version
13.2.1 (22D68)
Installation method
Download
Last Known Working Insomnia version
2023/05/17
I can confirm the same issue on my macOS, insomnia version 8.5.0
I have not joined an organization in Insomnia and can confirm that Insomnia does not create the baseUrl when importing OpenAPI specs. Insomnia version 9.2.0 on Manjaro Linux
I'm getting this with every OpenAPI document I import too. The import just fundamentally does not work.
First of all the base_url does not exist, and I need to change it to host:
Then none of the parameters work because its looking for env variables instead of path params, etc, so I have to go and add those manually too.
Can somebody confirm if Kong is interested in returning OpenAPI support to Insomnia or is it gone forever?