10
| CALLISTAENTERPRISE.SE RAML OLA DEIBITSCH 2015-01-28

OLA DEIBITSCH 2015-01-28 - Callista Enterprise · "RESTful API Modeling Language (RAML) is a simple and succinct way of describing practically-RESTful APIs. It encourages reuse, enables

  • Upload
    others

  • View
    5

  • Download
    0

Embed Size (px)

Citation preview

Page 1: OLA DEIBITSCH 2015-01-28 - Callista Enterprise · "RESTful API Modeling Language (RAML) is a simple and succinct way of describing practically-RESTful APIs. It encourages reuse, enables

| CALLISTAENTERPRISE.SE

RAML

OLA DEIBITSCH

2015-01-28

Page 2: OLA DEIBITSCH 2015-01-28 - Callista Enterprise · "RESTful API Modeling Language (RAML) is a simple and succinct way of describing practically-RESTful APIs. It encourages reuse, enables

PROBLEM – RECAP…

2

SOAP/WSDL Complex

Structured

REST/RAML Simple Structured

Page 3: OLA DEIBITSCH 2015-01-28 - Callista Enterprise · "RESTful API Modeling Language (RAML) is a simple and succinct way of describing practically-RESTful APIs. It encourages reuse, enables

"RESTful API Modeling Language (RAML) is a simple and succinct way of describing practically-RESTful APIs. It encourages reuse, enables discovery and pattern-sharing, and aims for merit-based emergence of best practices. The goal is to help our current API ecosystem by solving immediate problems and then encourage ever-better API patterns. RAML is built on broadly-used standards such as YAML and JSON and is a non-proprietary, vendor-neutral open spec.", www.raml.org

RAML BY THE RAML WORKGROUP – RECAP…

3

Page 4: OLA DEIBITSCH 2015-01-28 - Callista Enterprise · "RESTful API Modeling Language (RAML) is a simple and succinct way of describing practically-RESTful APIs. It encourages reuse, enables

RAML TOOLING – REVISTITED…

4

SoapUI RAML Plugin

RAML to HTML JAXRS-to-RAML

RAML2Wiki RAMLang

Osprey APIkit

ATOM RAML Package

RAML Sublime Plugin

RAML for JAXRS

Restlet Studio …

swagger2raml API Designer

Page 5: OLA DEIBITSCH 2015-01-28 - Callista Enterprise · "RESTful API Modeling Language (RAML) is a simple and succinct way of describing practically-RESTful APIs. It encourages reuse, enables

•  Resources: -  /patients -  /patients/{patientId} -  /patients/{patientId}/notes -  /patients/{patientId}/appointments -  …

•  Verb -  Get/Post/Put/Delete…

•  Metadata -  Authorization Header -  Filtering

•  Representations: -  JSON, XML, ?.

REQUIREMENTS: CALLISTA CARE API – RECAP…

Page 6: OLA DEIBITSCH 2015-01-28 - Callista Enterprise · "RESTful API Modeling Language (RAML) is a simple and succinct way of describing practically-RESTful APIs. It encourages reuse, enables

CALLISTA CARE API - RECAP

6

Page 7: OLA DEIBITSCH 2015-01-28 - Callista Enterprise · "RESTful API Modeling Language (RAML) is a simple and succinct way of describing practically-RESTful APIs. It encourages reuse, enables

RAML TOOLING – SOAPUI RAML PLUGIN - DEMO

7

Page 8: OLA DEIBITSCH 2015-01-28 - Callista Enterprise · "RESTful API Modeling Language (RAML) is a simple and succinct way of describing practically-RESTful APIs. It encourages reuse, enables

8

RAML TOOLING – RAML2HTML- DEMO

Page 9: OLA DEIBITSCH 2015-01-28 - Callista Enterprise · "RESTful API Modeling Language (RAML) is a simple and succinct way of describing practically-RESTful APIs. It encourages reuse, enables

RAML 1.0 spec is out and waiting for feedback!

RAML 1.0

9

See https://github.com/raml-org/raml-spec/milestones/v1.0

Page 10: OLA DEIBITSCH 2015-01-28 - Callista Enterprise · "RESTful API Modeling Language (RAML) is a simple and succinct way of describing practically-RESTful APIs. It encourages reuse, enables

§  API Explosion

§  It is clear that we need a modeling language!!

§ RAML is a clean, simple and contract-first development approach.

§  Tool support begins to mature…

§  Slowly, we begin to see momentum… …and RAML 1.0 is upcoming…

SUMMARY

10