Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for RAML 1.0 #9

Open
SynerG opened this issue Nov 27, 2015 · 3 comments
Open

Support for RAML 1.0 #9

SynerG opened this issue Nov 27, 2015 · 3 comments
Milestone

Comments

@SynerG
Copy link

SynerG commented Nov 27, 2015

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: objectwas not supported in RAML 0.8.

Please, consider adding support for RAML 1.0

@nash-ye
Copy link

nash-ye commented Mar 22, 2016

1+, It will be great if this tool add support for RAML 1.0 features.

@mikestowe mikestowe added this to the 2.0 milestone Mar 23, 2016
@brud
Copy link

brud commented Oct 29, 2016

+1
it will be great)

@ben221199
Copy link

And we are already in 2017...
I would like a RAML 1.0 support too :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants