Trait in RAML

Trait in RAML is used to define the same elements in different request URIs so that they can be reused. It’s like common class, common method in Java! For example, I have 2 request URIs with the following definitions:

In these two requests, the… Read More

Import RAML into Postman

After defining API specs using RAML file, we can generate code to implement these APIs using Spring framework and also import it into Postman for testing. In this tutorial, I will show you how to import RAML into Postman! I will use the API specs… Read More

API fragments with RAML

When defining API specs with RAML, the fact that we define all the information in just one RAML file will make it difficult to maintain and there will be parts and data types that are used over and over again in many different requests URI,… Read More

Data types in RAML

When declaring request parameters, path parameters, request body, response body, … in RAML, we need to declare the data type of these information. RAML defines many different data types that help us to meet our needs. In this tutorial, we will learn about data types… Read More

Introducing about RAML

You all have probably worked with RESTful Web Service, but maybe not much have heard about RAML (RESTful API Modeling Language), a specification that helps us define API specs for the RESTful Web Service. In this tutorial, let’s learn about it, to know what it… Read More