apiaryio / mson-ast

MSON AST Serialization Media Types
MIT License
4 stars 1 forks source link

Literal and Member Type changes #4

Closed pksunkara closed 9 years ago

pksunkara commented 9 years ago

There are 2 major changes to the AST here. First is the introduction of Literal. We have already been using this along with Markdown in the MSON parser. This is just making it official.

Second is the addition of a Members which represents a Member Type Group containing a collection of Member Type. This is needed to represent the following example:

- person (object)
    - One Of
        - full_name
        - Properties
            - first_name
            - last_name

@zdne @fosrias Please review.

pksunkara commented 9 years ago

Updated the PR.