Deepak Dixit created OFBIZ-13299:
------------------------------------

             Summary: Enhance REST API DSL to Support Nested Resources
                 Key: OFBIZ-13299
                 URL: https://issues.apache.org/jira/browse/OFBIZ-13299
             Project: OFBiz
          Issue Type: Improvement
          Components: rest-api
            Reporter: Deepak Dixit
            Assignee: Deepak Dixit


As per the current rest-api plugin implementation, the system allows defining 
only a single-level resource structure in .rest.xml files.

Update the implementation to support *nested <resource> definitions*, enabling 
hierarchical route construction such as:

 
{code:java}
<api path="/v1">    
    <resource name="orders" path="orders">
         <operation verb="get" path=""/>
         <resource name="items" path="items">
              <operation verb="post" path=""/>
         </resource>    
     </resource>
</api> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to