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

Learn how API management supports better integration in Achieving Enterprise Agility with Microservices and API Management, brought to you in partnership with 3scale

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.

Unleash the power of your APIs with future-proof API management - Create your account and start your free trial today, brought to you in partnership with 3scale.

Topics:
mulesoft ,raml ,postman

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

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

{{ parent.tldr }}

{{ parent.urlSource.name }}