interagent / prmd

JSON Schema tools and doc generation for HTTP APIs
MIT License
2.1k stars 172 forks source link

Documentation: identity vs id property #326

Closed HolgerPeters closed 7 years ago

HolgerPeters commented 7 years ago

https://github.com/interagent/prmd/blob/master/docs/schemata.md#definitions states that the definition section must contain the definition of an identity property. The following example then defines an id property. This seems like an inconsistency in the document.

geemus commented 7 years ago

Good catch, should now be here: https://github.com/interagent/prmd/commit/56ee715f2301fff0edebfcd2a353d1e7fddf1964