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

DOC: Showcase configuredRest and OpenAPI configurations

    XMLWordPrintable

Details

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

    Description

      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
       

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            There are no Sub-Tasks for this issue.

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoR