This is an automated email from the ASF dual-hosted git repository.

jleroux pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ofbiz-site.git


The following commit(s) were added to refs/heads/master by this push:
     new 494b2f0  Improved: allow nesting in REST API
494b2f0 is described below

commit 494b2f0825646e10bed8643979cba8cd39ce957f
Author: Jacques Le Roux <[email protected]>
AuthorDate: Wed Nov 26 11:04:49 2025 +0100

    Improved: allow nesting in REST API
---
 dtds/rest-api.xsd | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dtds/rest-api.xsd b/dtds/rest-api.xsd
index 1c74d64..43273ab 100644
--- a/dtds/rest-api.xsd
+++ b/dtds/rest-api.xsd
@@ -34,6 +34,7 @@ under the License.
     <xs:element name="resource">
         <xs:complexType>
             <xs:sequence>
+                <xs:element minOccurs="0" maxOccurs="unbounded" 
ref="resource"/> <!-- allow nesting -->
                 <xs:element minOccurs="0" maxOccurs="unbounded" 
ref="operation"/>
             </xs:sequence>
             <xs:attribute name="name" type="xs:string" use="required"/>

Reply via email to