php-raml2html
php-raml2html copied to clipboard
Support for RAML 1.0
The current implementation does not support RAML 1.0. It accepts the definition file, but it does not parse the new elements in the DSL.
For example, using this specification:
#%RAML 1.0
title: Pet shop
version: 1
baseUri: /shop
/pets:
get:
responses:
200:
body:
application/json:
post:
description: 'una descripcion'
body:
application/json:
type: object
properties:
name: string
kind: string
price: number
example: |
{
"name": "Snoopy",
"kind": "Mammal",
"price": 100
}
/{id}:
put:
body:
application/json:
delete:
responses:
204:
PHP-RAML2HTML shows the GET & POST methods, but the object definition for POST /pets
is ignored as type: object
was not supported in RAML 0.8.
Please, consider adding support for RAML 1.0
1+, It will be great if this tool add support for RAML 1.0 features.
+1 it will be great)
And we are already in 2017... I would like a RAML 1.0 support too :)