Skip to content

JSON to RAML datatype converter is a tool designed to help Mulesoft developers which can be used to convert JSON data to the RAML data type. This tool has two options that can be used to make all keys optional in RAML and make all keys CamelCase in RAML.

License

Notifications You must be signed in to change notification settings

Upendra-Thunuguntla/JSON2RAML-Converter

Repository files navigation

Docker Build and Push Deploy static content to Pages

JSON to RAML Datatype - Converter

Overview

RAML is a language for the definition of HTTP-based APIs that embody most or all of the principles of REST. In Mulesoft while designing an API using API Designer developer should provide Request and Response Examples along with Datatype in RAML format.

As a developer, we usually receive JSON examples and need to convert them to RAML Datatype on our own.

  • if JSON Example is just 10 lines - Easy Peasy 😎
  • if JSON Example exceeds 1400 lines - well that's gonna be hard 😪

I've faced this kind of issue in one of my projects. where we need to create a Datatype for an example that has over 1800 lines. Well, it took us nearly 4 hours to create a basic #datatype.

So I questioned why we should spend so much time in Copy & Pasting in 2022. I came up with a pretty # straightforward #solution.

About this Project

Deployed using

GitHub Actions

Version Control on

GitHub

JSON to RAML datatype converter is a tool designed to help Mulesoft developers which can be used to convert JSON data to the RAML data type. This tool has two options that can be used to make all keys optional in RAML and make all keys CamelCase in RAML.

This tool is completely made using HTML, CSS & Javascript. The entire operation is done on the Client Side so no API is called hence no data is sent anywhere.

How to use this Tool

This tool is hosted on GitHub Pages.

Visit this link:

JSON2RAML

To use this tool in Docker - Visit this link :

JSON2RAMLDocker

About

JSON to RAML datatype converter is a tool designed to help Mulesoft developers which can be used to convert JSON data to the RAML data type. This tool has two options that can be used to make all keys optional in RAML and make all keys CamelCase in RAML.

Topics

Resources

License

Stars

Watchers

Forks