Reader small image

You're reading from  Cloud-Native Applications in Java

Product typeBook
Published inFeb 2018
Reading LevelIntermediate
PublisherPackt
ISBN-139781787124349
Edition1st Edition
Languages
Tools
Concepts
Right arrow
Authors (4):
Ajay Mahajan
Ajay Mahajan
author image
Ajay Mahajan

Ajay Mahajan is a distinguished member of technical staff (DMTS) at Wipro Technologies and currently is in the role of chief technologist of the retail vertical. In his current role, he helps customers adopt cloud-native and digital architecture for next-generation retail applications. He worked with retail and banking clients in Europe and the USA on large-scale mission-critical systems. He has seen the evolution of enterprise Java from the Netscape Application Server to servlets/JSP, JEE, Spring, and now the cloud and microservices during the course of 19 years of working on Java platform.
Read more about Ajay Mahajan

Munish Kumar Gupta
Munish Kumar Gupta
author image
Munish Kumar Gupta

Munish Kumar Gupta is a lead system architect with Visa. Based in Bangalore, India, his day-to-day work involves solution architectures for applications with stringent non-functional requirements, application performance engineering, managing application infrastructure, and exploring the readiness of cutting-edge, open-source technologies for enterprise adoption. He is the author of Akka Essentials. He is very passionate about software programming and craftsmanship. He blogs about technology trends, application performance engineering, and Akka.
Read more about Munish Kumar Gupta

Shyam Sundar S
Shyam Sundar S
author image
Shyam Sundar S

Shyam Sundar is a senior architect with Wipro Technologies based in Bangalore. He is part of the Emerging Technologies Architecture group within Wipro. He is responsible for helping teams adopt new and emerging technologies in their projects. He focuses primarily on the client-side and cloud technologies. He is a lifelong learner who cares deeply about software craftsmanship. He is constantly experimenting with new tools and technologies to improve the development experience.
Read more about Shyam Sundar S

View More author details
Right arrow

API modeling


There are two standards that are competing to describe the APIs—Open APIs and RESTful APIs. We will discuss them more in the following sections.

Open API

The Open API initiative is focused on creating and promoting a vendor-neutral API description format based on the Swagger specification. The Open API specification allows us to define a standard, language-agnostic interface for REST APIs, which allows both humans and computers to discover and understand the capabilities of the service without access to source code.

In the following figures, we have described a sample API definition based on Open API along with the various sections:

Code continues in the following image:

Code continues in the following image:

RESTful API Modeling Language (RAML)

RESTful API Modeling Language (RAML) is a standard language to describe the RESTful APIs. RAML is written in the same way as YAML, which is a human-readable data serialization language. The goal of RAML is to provide all the necessary information...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Cloud-Native Applications in Java
Published in: Feb 2018Publisher: PacktISBN-13: 9781787124349

Authors (4)

author image
Ajay Mahajan

Ajay Mahajan is a distinguished member of technical staff (DMTS) at Wipro Technologies and currently is in the role of chief technologist of the retail vertical. In his current role, he helps customers adopt cloud-native and digital architecture for next-generation retail applications. He worked with retail and banking clients in Europe and the USA on large-scale mission-critical systems. He has seen the evolution of enterprise Java from the Netscape Application Server to servlets/JSP, JEE, Spring, and now the cloud and microservices during the course of 19 years of working on Java platform.
Read more about Ajay Mahajan

author image
Munish Kumar Gupta

Munish Kumar Gupta is a lead system architect with Visa. Based in Bangalore, India, his day-to-day work involves solution architectures for applications with stringent non-functional requirements, application performance engineering, managing application infrastructure, and exploring the readiness of cutting-edge, open-source technologies for enterprise adoption. He is the author of Akka Essentials. He is very passionate about software programming and craftsmanship. He blogs about technology trends, application performance engineering, and Akka.
Read more about Munish Kumar Gupta

author image
Shyam Sundar S

Shyam Sundar is a senior architect with Wipro Technologies based in Bangalore. He is part of the Emerging Technologies Architecture group within Wipro. He is responsible for helping teams adopt new and emerging technologies in their projects. He focuses primarily on the client-side and cloud technologies. He is a lifelong learner who cares deeply about software craftsmanship. He is constantly experimenting with new tools and technologies to improve the development experience.
Read more about Shyam Sundar S