A RAML parser based on PyYAML written in CoffeScript and available for use as NodeJs module or in-browser.
RAML 0.8
- And I’d like to have a way to test my api.raml
on my client side UI via javascript
index.html
:[…]
<body>
<script type=“text/javascript>
jQuery.ajax( {
url: ‘http://localhost/api/helloWorld',
type: ‘GET',
success: function( response ) {
// response
}
} );
</script>
</body>
</html>
#%RAML 0.8
title: my api
version: v1
baseUri: http://api.samplehost.com
/helloWorld:
get:
responses:
200:
body:
application/json:
example: |
{
"message" : "Hello World"
}