Skip to content

Between the 5/17 release and now OpenAPI import no longer creates Base Environment base_url variable #6785

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 task done
krainboltgreene opened this issue Nov 9, 2023 · 3 comments · May be fixed by #8584
Open
1 task done
Labels
B-bug Bug: general classification S-unverified Status: Unverified by maintainer

Comments

@krainboltgreene
Copy link

krainboltgreene commented Nov 9, 2023

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

  1. import
  2. open environment
  3. click base environment

Is there an existing issue for this?

Additional Information

It was originally implemented in luizmariz@cefcefd

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

@krainboltgreene krainboltgreene added B-bug Bug: general classification S-unverified Status: Unverified by maintainer labels Nov 9, 2023
@CROdominik
Copy link

I can confirm the same issue on my macOS, insomnia version 8.5.0

@ccadek
Copy link

ccadek commented May 27, 2024

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

@philsturgeon
Copy link

I'm getting this with every OpenAPI document I import too. The import just fundamentally does not work.

env-error

First of all the base_url does not exist, and I need to change it to host:

edit-variable

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.

path-param-error

Can somebody confirm if Kong is interested in returning OpenAPI support to Insomnia or is it gone forever?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B-bug Bug: general classification S-unverified Status: Unverified by maintainer
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants