Skip to content
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

Import Open API / Swagger 2.x Spec into Bruno #81

Open
helloanoop opened this issue Jan 29, 2023 · 14 comments
Open

Import Open API / Swagger 2.x Spec into Bruno #81

helloanoop opened this issue Jan 29, 2023 · 14 comments
Assignees
Labels
enhancement New feature or request help wanted Community contribution is welcome module-openapi short-term-goal

Comments

@helloanoop
Copy link
Contributor

No description provided.

@helloanoop helloanoop added the help wanted Community contribution is welcome label Jan 29, 2023
@dgmora
Copy link

dgmora commented Oct 13, 2023

Related to this one, something that I missed in insomnia and postman is that whenever my open api file changed, I had to re-import the collection. This kinda defeated the purpose, since the specification changes often. It would be great if that could be taken into consideration.

@olexandrvynnychenko
Copy link

Related to this one, something that I missed in insomnia and postman is that whenever my open api file changed, I had to re-import the collection. This kinda defeated the purpose, since the specification changes often. It would be great if that could be taken into consideration.

I would say it is not just something nice to consider. This little point would be a killer feature.

@michaeljauk
Copy link

Is there anyone currently working on this?

@esschul
Copy link

esschul commented Oct 19, 2023

#578
Think something is happening here

@survivant
Copy link
Contributor

we are working on an implementation. There is a PR here : #578
and I have my branch here : https://github.com/survivant/bruno/tree/feature/openapi-collection that contains some feature that the PR doesn't have.

But I'm not really a React dev, so it's not easy to implement it properly.

@dgmora
Copy link

dgmora commented Nov 17, 2023

Seems to be implemented, but for v3. Although for me it's failing because of #939

@hesparza
Copy link

This one is not working yet for swagger 2.x, is this being worked? I can help if required.

@mdefeche
Copy link

The body of most of my POST and PUT endpoints are empty (their are correctly detected in postman). Most PATCH endpoints have their body predefined with empty string as values

It would be nice to have the body set for POST and PUT endpoints and either have random values which match the field types or have the field type displayed as in postman

@survivant
Copy link
Contributor

survivant commented Jan 17, 2024 via email

@guynikan
Copy link

guynikan commented Mar 7, 2024

I opened a pr for that. Autogenerated body based on schema Le mer. 17 janv. 2024, 10 h 02, Martin @.> a écrit :

The body of most of my POST and PUT endpoints are empty (their are correctly detected in postman). Most PATCH endpoints have their body predefined with empty string as values It would be nice to have the body set for POST and PUT endpoints and either have random values which match the field types or have the field type displayed as in postman — Reply to this email directly, view it on GitHub <#81 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABO3B27J4FQO4UA5VYKCZLYO7RZVAVCNFSM6AAAAAAUKISJOKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJVHE4TKNJSGM . You are receiving this because you commented.Message ID: @.
>

Where?

@sanjai0py sanjai0py added the enhancement New feature or request label Jun 28, 2024
@Anutrix
Copy link

Anutrix commented Aug 20, 2024

What's the status on it? Import from Insomnia still has missing/blank body.

@martin-braun
Copy link

martin-braun commented Sep 11, 2024

I'm facing a public Swagger API and wish to try it out. I would greatly benefit from the ability to import this into Bruno by simply inserting the documentation URL somewhere. It's a bummer to learn that this is not part of the product, yet.

EDIT: So I checked the PR and it already landed. I can create a new collection and select "Import" > "OpenAPI v3" and pick my swagger.json that I downloaded. Awesome.

@darraghjones
Copy link

would be nice if the openapi spec could be imported from a URL

@vazome
Copy link

vazome commented Nov 4, 2024

Related to this one, something that I missed in insomnia and postman is that whenever my open api file changed, I had to re-import the collection. This kinda defeated the purpose, since the specification changes often. It would be great if that could be taken into consideration.

Essentially, there are two missing features:

  1. Continuous collection sync with OpenAPI spec, not just import
  2. Prefill body/query based on the values that were specified in "examples" Import examples when importing OpenAPI #2320

We can now import OpenAPI both via URL and file, but if that spec changes (especially during development) you need to redo collection import and have global environment defined (I didn't know there were global environments).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Community contribution is welcome module-openapi short-term-goal
Projects
None yet
Development

No branches or pull requests