crepe / jsonite

A tiny, HAL-compliant JSON presenter for your Ruby APIs.
28 stars 2 forks source link

Introspection (for Documenting APIs) #12

Closed stephencelis closed 10 years ago

stephencelis commented 10 years ago

Jsonite would work really well for documenting APIs, but for the moment we don't track any information about the properties other than the fact that they exist. We could start tracking this with something as simple as a new argument to property, etc.:

attribute :name, String
attribute :age, Integer
stephencelis commented 10 years ago

Implemented in #13.