Uploaded image for project: 'REST Client'
  1. REST Client
  2. MGNLRESTCL-70

DOC: Showcase configuredRest and OpenAPI configurations

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Neutral Neutral
    • None
    • None
    • None
    • None
    • Declarative REST 7, Declarative REST 8, Declarative REST 9, Declarative REST 10
    • 5

      Phase  of documenting the outcome of POC.

      Using examples like:
       
      baseUrl: http://localhost:8080/magnoliaAuthor
      restCalls:
        tours:
          method: get
          entityClass: com.fasterxml.jackson.databind.JsonNode
          path: /.rest/delivery/tours/v1
       
      and then use in ftl, and it actually works
       
      assign tours = restfn.call("magnolia-local", "tours") /
       
      <h2>List of all tours</h2>
      list tours.get("results").elements() as tour
       
         <div style="margin:10px">
           <h2>${tour.get("@name").textValue()}</h2>
         </div>
      /#list
       

        Acceptance criteria

              mdrapela Martin Drápela
              mdrapela Martin Drápela
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoR