|
Don't know where to start, the page seems to suffer from broken links, and/or broken snippet inclusions?
- Not much REST Client example YAML configurations there
- Instead, it rather shows way too much template/freemarker config (documented elsewhere anyway), whereas for this use case, the template-script snippet with restfn would suffice.
- section 2's supposed to give an example with securityScheme? (a bearer auth would be useful actually)
- and from there on, there are countries in JCR, fed by countries from a REST service; and the Magnolia templates consume those from JCR via a REST endpoint on the Magnolia instance (basically the instance talks to itself); one would better use plain cmsfn for that.
- section 3: the expose note and the BookModel js snippet would suffice
- section 4: just keep the REST Client config there? usage is similar to other sections above
|