I'm using oAuth2.0, our server version is 2022.1, the access token URL is coming from our swagger documentation (I can successfully query the swagger docs after authenticating with basic auth and my API creds). If i copy and paste the swagger docs outside of the server, I can load it up, so I dont think it is a firewall issue. The access token URL is coming straight from swagger, there are no misspellings, or punctuation.
Thanks @gautiergodard ! Turns out, it was the web version of postman causing the issue. I downloaded the desktop version, with no other changes to the original request, and I was able to retrieve the token.
Thanks @gautiergodard - actually, it turns out it was it was the web based version of postman. I either needed to download a postman browser agent, or use the postman app. After downloading the postman app to my desktop, and making no other changes to the original request, I was able to retrieve the alteryx token. Thank you!
Swagger is basically a description language that is used for the description of RESTful API. It is open-source software. It was initially released in 2011. The development credit for this software goes to SmartBear software. Tony Tam is the inventor of swagger. It is a widely used software.
One can do alot within the swagger-ui to make various GET, POST, PUT actions. However, my preferred tool is POSTMAN. I needed a way to figure out how to get all the swagger-ui converted to POSTMAN. Upon searching, I came across this method mentioned here.
bumping this one, seems like a no-brainer. I have so many http request nodes for which I have the swagger spec; I believe this feature would really improve the experience and make my nodes and workflows more robust.
This article will be sharing the key points about the postman collection and how we can easily convert the swagger JSON document into a postman collection. Before taking a deep dive into this let me give you a brief introduction to Postman and its usage.
Here I have a sample API project in my machine with four APIs which are entirely built upon the .Net 5.0, the latest .Net framework released from Microsoft. We can choose any APIs which are built upon any language or framework but the only thing is to make sure those APIs are configured with Swagger because swagger is our main key resource.
In the Top left menu click on the API button and there in the right corner you can see the list of the APIs that have been created in the postman collection from the swagger JSON URL. To test the API, Click on the open request option from any of the API in the middle layer.
I hope this article gives you a clear understanding of converting the swagger APIs into Postman collection and how postman is a great tool in order to test our APIs, and it also gives features like publishing the same collection to other platforms.
The best thing to do at this point is to check if you see anything resembling this repoo](GitHub - swagger-api/swagger-ui: Swagger UI is a collection of HTML, JavaScript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API.) in yours to know if they are using swagger hub or something else.
If you are looking for a command line utility,this project is the best ways to convert Postman collection to swagger.The command line tool allows to easily convert Postman Collections V2.0 JSON to Open API 3.0 yaml
We would recommend setting up an environment in Postman with the authentication headers that are needed along with the server name to your iconik API. This makes it easier to consume the API as the swagger definition doesn't contain the needed header information.
but i want to use the swagger UI on the running node. The advantage of swagger is, that it can be a living documentation/spec. You can interact over the ui with the api. Is is a replacment of the browser/postman or other tools to consume a REST API.
A work around is to take the Postman collection from the api-reference page and visit apimatic.com, sign up for a trial account, and use this to convert the postman collection export to openapi v3 json file (or desired format). I was able to do this and import into another API tool (Insomnia) successfully.
df19127ead