[MGNLRESTCL-70] DOC: Showcase configuredRest and OpenAPI configurations Created: 23/Sep/19  Updated: 18/Nov/19  Resolved: 18/Nov/19

Status: Closed
Project: REST Client
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Neutral
Reporter: Martin Drápela Assignee: Martin Drápela
Resolution: Done Votes: 0
Labels: None
Σ Remaining Estimate: Not Specified Remaining Estimate: Not Specified
Σ Time Spent: Not Specified Time Spent: Not Specified
Σ Original Estimate: Not Specified Original Estimate: Not Specified

Issue Links:
dependency
depends upon MGNLRESTCL-66 Productise outcome of POC - (config r... Closed
Sub-Tasks:
Key
Summary
Type
Status
Assignee
MGNLRESTCL-75 DOC: Create a RESTful extension to th... Sub-task Closed Martin Drápela  
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Epic Link: Declarative REST clients
Sprint: Declarative REST 7, Declarative REST 8, Declarative REST 9, Declarative REST 10
Story Points: 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
 


Generated at Mon Feb 12 14:16:33 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.