jdiegodcp / ramlfications

Python parser for RAML
https://ramlfications.readthedocs.org
Apache License 2.0
234 stars 50 forks source link

Add ability to "pluralize" and "singularize" parameters in resourceTypes and traits #3

Closed econchick closed 8 years ago

econchick commented 9 years ago

This sort of depends on #2 - the RAML spec allows the transformation functions "pluralize" and "singularize". This should behave similarly with #2 where the actual resource that inherits a parameterized type/trait overwrites the <<parameterFoo>> as well as takes care of the transform functions, like <<parameterFoo | !pluralize>> turns into someFoos (rather than someFoo.

econchick commented 8 years ago

This should be all set in the v0.2.0-dev branch :tada: