Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

mbuc82/raml-spec

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The RESTful API Modeling Language (RAML) Spec

Build Status

The current version of the RAML specification is 1.0 - and you can find it here.

RAML is a language for the definition of HTTP-based APIs that embody most or all of the principles of Representational State Transfer (REST). The RAML specification (this document) defines an application of the YAML 1.2 specification that provides mechanisms for the definition of practically-RESTful APIs, while providing provisions with which source code generators for client and server source code and comprehensive user documentation can be created.

Why not pay us a visit on raml.org? You will find tons of information around RAML such as a tutorial, what the RAML Workgroup is, RAML projects, a forum, and a lot more.

What is the fastest way to get started?

All you need is an editor of your choice - we recommend either MuleSoft's API Designer or API Workbench; but any text editor will do just fine.

Now you only need to do is to write the design for your first endpoint

#%RAML 1.0
title: Hello world # required title

/greeting: # optional resource
  get: # HTTP method declaration
    responses: # declare a response
      200: # HTTP status code
        body: # declare content of response
          application/json: # media type
            # structural definition of a response (schema or type)
            type: object
            properties:
              message: string
            example: # example how a response looks like
              message: "Hello world"

Interested? Learn more about the syntax in the RAML 1.0 specification or take a look at some examples.

How do I learn more?

How can I contribute?

We welcome any contributions from the community! You can contribute or provide feedback for the RAML Specification in different ways depending on your intentions. The following table illustrates the different ways to help us not only to improve the documentation of the specification, but also RAML itself.

Your Intention What to do?
You see a spelling or grammar mistake, or an error in our examples? Fork this repository, make edits, and then submit a pull request. We will respond to your request as quickly as possible.
You want to suggest a new feature, improve existing features, ask questions, or things in general around the RAML specification? File an issue. Please be as specific as possible about your intentions or what you’d like to see.

How can I get in touch?

Licensing

Branding Guidelines

About

RAML Specification

Resources

Stars

Watchers

Forks

Packages

No packages published