Open joffrey-bion opened 7 years ago
Would that be really relevant? If someone is able to read the Livedoc of Livedoc, then that someone could read the Livedoc of anything without using the Livedoc of Livedoc.
That being said, it would be funny.
It actually would make sense when the code-generation feature is available. Also, now that Livedoc supports Javadoc, there is no real need to add any Livedoc annotation anywhere in the model. On the other hand, proper Javadoc doesn't hurt, even for a model that seems "internal", so it's a win-win.
Then maybe you could add them to the sample app to showcase them as well.
That's actually already planned, this is why I brought back this issue :)
I just need to add the org.hildan.livedoc
package to the list and these classes will be documented.
However, I'm not sure there is a point in showcasing them yet, as this will probably overwhelm the users with unnecessary information, drowning the actual example data about authors and books.
The structure of the JSON sent on the documentation endpoint could also be documented using Livedoc itself. This would allow to build other UIs on top of the JSON output.