2
 Followers
29
 Likes

Add ability to import a swagger json from file

Integration
New

I'm not sure if there is already an existing idea like this, the search didn't provide me with a match so I'm creating one...

We have the ability to import a swagger 2.0 rest services already, but unlike its SOAP counterpart we lack the ability to do this locally from a file


This should be added IMHO

Best regards,

PC

Created on 13 Feb
Comments (8)

Changed the category to Integration


Hi Pedro,

I like this idea! You are reading my mind. I'm currently consuming REST services from a MuleSoft API. I'm not sure if they can expose them in Swagger 2.0 or not, but I'm currently doing the interfaces manually. It would also be nice to be able to export Swagger 2.0 as well.


You're getting a 'like' from me! 

Thanks!


Daryl 

Can you use a file:// URL? That has always worked with WSDL imports before they added the "Choose File" button, I bet that trick works with Swaggers too. I know it's not as helpful as the "Choose File" button but it should be a usable workaround in the meantime.


J.Ja

Best regards,

PC

Booooo! That's lame.

J.Ja

Having an out of box solution would be nice. In the mean time check out the Swagger Proxy forge component.

https://www.outsystems.com/forge/component-overview/1270/swaggerproxy

A workaround that I found is that you can use https://file.io/ for this. This allows you to upload the swagger. Use the generated link to import it in Outsystems. And the file will automatically be deleted after this. Then you only need to change the base url from file.io to your required url.

That is good to know, but it's a workaround that we shouldn't have to do since we have it for SOAP

Best regards,

PC

views
339
Followers
2