Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Import RAML Directories in Postman Directly

DZone's Guide to

Import RAML Directories in Postman Directly

Good news for developers with version 3.1+ of Postman: it can detect all RAML API definitions inside a folder and import all of them.

· Integration Zone ·
Free Resource

SnapLogic is the leading self-service enterprise-grade integration platform. Download the 2018 GartnerMagic Quadrant for Enterprise iPaaS or play around on the platform, risk free, for 30 days.

APIs designing with RAML (Rest API Modelling language) has become a new alternative for developers these days. API lead connectivity has become a new trend in enterprise applications connectivity. Industry level CIOs and CTOs have identified this to some extent, and so are promoting it at a large scale. With Mulesoft, developers find it pretty easy to design and develop an API and go for their connectivity.

Postman is an http requester tool that helps developers with API testing. There is good news for developers with version 3.1+: Postman can detect all RAML API definitions inside a folder and import all of them. The current version of the importer supports version 0.8 of the RAML spec.

Below is a sample use case:

Clone the GitHub RAML Definition

$ git clone https://github.com/raml-apis/GitHub.git

Open the Postman import dialog

Image title

You’ll see the import dialog, as shown below. Notice the new “Folder” tab.

Image title

Now import a directory/folder

Click on “Choose,” select the folder we just cloned (“Github”), and then hit “Upload”.

Image title

Now, Postman will detect all the RAML definitions, convert them internally to Postman
Collections, and then show you the import success message.

Image title

Postman’s folder importer can also import all files that are Postman Collections, or Postman Environments. This makes it easier to import multiple collections and their associated environments into Postman.

I hope this will help developers importing the RAML directory.

With SnapLogic’s integration platform you can save millions of dollars, increase integrator productivity by 5X, and reduce integration time to value by 90%. Sign up for our risk-free 30-day trial!

Topics:
mulesoft ,raml ,postman

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}