Commit Graph

7 Commits (c032eafd4e17d4ed500f27dbba0dce1871039f08)

Author SHA1 Message Date
Kegan Dougal c972dad8b3 Flesh out receipts module. Add receipts swagger
Add templating support for v2 apis.
9 years ago
Kegan Dougal 365a9076b9 Add nested dict template support; Add x-pattern
For cases where event schema specify `patternProperties` it would be nice
to give that pattern a "human-readable" form rather than a raw regex. This
is now supported by specifying `x-pattern` in the value part of the specified
pattern e.g. `patternProperties:{ "^.*":{ x-pattern: "$THING", ... } }`

Templating had limited record type descriptions limited to value primitives
e.g. `{string: integer}`. It now supports inspecting the values recursively
if the value is `object`.

Updated `m.receipt` to take both these points into account to make it read
better. Tweak receipt module text.
9 years ago
Mark Haines 654ed9b99e Remove keys from the m.room.* schema files so that they may be used in the node swagger validator 9 years ago
Erik Johnston 500b4eb32d Typo 9 years ago
Erik Johnston 53756cfd73 More commas 9 years ago
Erik Johnston 5157c2f52e More escapes 9 years ago
Erik Johnston e58f816ad3 Add m.receipt schema 9 years ago