Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCU-2224

Confusing Example REST client configurations docs

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Duplicate
    • Neutral
    • None
    • None
    • None
    • None

    Description

      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

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              mdrapela Martin Drápela
              mgeljic Mikaël Geljić
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: