Hello,
I'm not sure if this is a bug or simply hasn't been added yet, but when creating a Rest Service using the setup provided in Essentials, it only outputs methods which return the standard hippo fields.
If you've added custom compounds (or content blocks) it simply ignores them and you have to manually add all the annotations to the underlying compounds.
For example:
Document A
-- String title
-- HippoHtml html
-- CustomCompound custom
CustomCompound
-- String title
-- String Introduction
Will output:
only title and html from Document A but completely ignore the CustomCompound custom when generating the rest service.
I've also found that it only adds the first restservice bean to the spring-plain-rest-api.xml any subsequent services need to be added manually.
It's not a massive problem, the additional manual steps are few and easily done, but it's somewhat inconsistent with the documentation.
Kind regards,
Martijn van der Vorst