ltsecurityinc安防产品在线商城代码

This commit is contained in:
2026-09-14 17:47:10 +08:00
parent 57d8444c15
commit 6a3c9c5bd8
14539 changed files with 1775310 additions and 0 deletions
@@ -0,0 +1,20 @@
<?xml version="1.0"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Acl/etc/acl.xsd">
<acl>
<resources>
<resource id="Magento_Backend::admin">
<resource id="Magento_TestModule2::all" title="TestModule2" sortOrder="1">
<resource id="Magento_TestModule2::resource1" title="Resource1" sortOrder="20"/>
<resource id="Magento_TestModule2::resource2" title="Resource2" sortOrder="10"/>
<resource id="Magento_TestModule2::resource3" title="Resource3" sortOrder="30"/>
</resource>
</resource>
</resources>
</acl>
</config>
@@ -0,0 +1,11 @@
<?xml version="1.0"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
<preference for="Magento\TestModule2\Service\V1\SubsetRestInterface" type="Magento\TestModule2\Service\V1\SubsetRest" />
<preference for="Magento\TestModule2\Service\V1\NoWebApiXmlInterface" type="Magento\TestModule2\Service\V1\NoWebApiXml" />
</config>
@@ -0,0 +1,10 @@
<?xml version="1.0"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Magento_TestModule2" />
</config>
@@ -0,0 +1,240 @@
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:complexType name="ItemRequest">
<xsd:annotation>
<xsd:documentation/>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="id" type="xsd:int">
<xsd:annotation>
<xsd:documentation>Entity ID</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap">
<inf:min/>
<inf:max/>
<inf:callInfo>
<inf:callName>Item</inf:callName>
<inf:requiredInput>Yes</inf:requiredInput>
</inf:callInfo>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ItemResponse">
<xsd:annotation>
<xsd:documentation>Response container for the Item call.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="id" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Default label</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap">
<inf:maxLength/>
<inf:callInfo>
<inf:callName>Item</inf:callName>
<inf:returned>Always</inf:returned>
</inf:callInfo>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ItemsResponse">
<xsd:annotation>
<xsd:documentation>Response container for the Items call.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element minOccurs="0" maxOccurs="unbounded" name="complexObjectArray"
type="ItemsArray">
<xsd:annotation>
<xsd:documentation>Default label</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap">
<inf:maxLength/>
<inf:callInfo>
<inf:callName>Items</inf:callName>
<inf:returned>Always</inf:returned>
</inf:callInfo>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ItemsArray">
<xsd:annotation>
<xsd:documentation>Response container for the Items call.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="id" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Default label</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap">
<inf:maxLength/>
<inf:callInfo>
<inf:callName>Items</inf:callName>
<inf:returned>Always</inf:returned>
</inf:callInfo>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="name" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Default label</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap">
<inf:maxLength/>
<inf:callInfo>
<inf:callName>Item</inf:callName>
<inf:returned>Always</inf:returned>
</inf:callInfo>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CreateRequest">
<xsd:annotation>
<xsd:documentation/>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="name" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Default label</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap">
<inf:maxLength/>
<inf:callInfo>
<inf:callName>Create</inf:callName>
<inf:returned>Always</inf:returned>
</inf:callInfo>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CreateResponse">
<xsd:annotation>
<xsd:documentation>Response container for the Create call.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="id" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Default label</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap">
<inf:maxLength/>
<inf:callInfo>
<inf:callName>Create</inf:callName>
<inf:returned>Always</inf:returned>
</inf:callInfo>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="name" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Default label</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap">
<inf:maxLength/>
<inf:callInfo>
<inf:callName>Create</inf:callName>
<inf:returned>Always</inf:returned>
</inf:callInfo>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="UpdateRequest">
<xsd:annotation>
<xsd:documentation/>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="id" type="xsd:int">
<xsd:annotation>
<xsd:documentation>Entity ID</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap">
<inf:min/>
<inf:max/>
<inf:callInfo>
<inf:callName>Update</inf:callName>
<inf:requiredInput>Yes</inf:requiredInput>
</inf:callInfo>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="UpdateResponse">
<xsd:annotation>
<xsd:documentation>Response container for the Update call.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="id" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Default label</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap">
<inf:maxLength/>
<inf:callInfo>
<inf:callName>Update</inf:callName>
<inf:returned>Always</inf:returned>
</inf:callInfo>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="RemoveRequest">
<xsd:annotation>
<xsd:documentation/>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="id" type="xsd:int">
<xsd:annotation>
<xsd:documentation>Entity ID</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap">
<inf:min/>
<inf:max/>
<inf:callInfo>
<inf:callName>Remove</inf:callName>
<inf:requiredInput>Yes</inf:requiredInput>
</inf:callInfo>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="RemoveResponse">
<xsd:annotation>
<xsd:documentation>Response container for the Remove call.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="id" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Default label</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap">
<inf:maxLength/>
<inf:callInfo>
<inf:callName>Remove</inf:callName>
<inf:returned>Always</inf:returned>
</inf:callInfo>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
@@ -0,0 +1,240 @@
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:complexType name="ItemRequest">
<xsd:annotation>
<xsd:documentation/>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="id" type="xsd:int">
<xsd:annotation>
<xsd:documentation>Entity ID</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap">
<inf:min/>
<inf:max/>
<inf:callInfo>
<inf:callName>Item</inf:callName>
<inf:requiredInput>Yes</inf:requiredInput>
</inf:callInfo>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ItemResponse">
<xsd:annotation>
<xsd:documentation>Response container for the Item call.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="id" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Default label</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap">
<inf:maxLength/>
<inf:callInfo>
<inf:callName>Item</inf:callName>
<inf:returned>Always</inf:returned>
</inf:callInfo>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ItemsResponse">
<xsd:annotation>
<xsd:documentation>Response container for the Items call.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element minOccurs="0" maxOccurs="unbounded" name="complexObjectArray"
type="ItemsArray">
<xsd:annotation>
<xsd:documentation>Default label</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap">
<inf:maxLength/>
<inf:callInfo>
<inf:callName>Items</inf:callName>
<inf:returned>Always</inf:returned>
</inf:callInfo>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ItemsArray">
<xsd:annotation>
<xsd:documentation>Response container for the Items call.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="id" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Default label</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap">
<inf:maxLength/>
<inf:callInfo>
<inf:callName>Items</inf:callName>
<inf:returned>Always</inf:returned>
</inf:callInfo>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="name" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Default label</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap">
<inf:maxLength/>
<inf:callInfo>
<inf:callName>Item</inf:callName>
<inf:returned>Always</inf:returned>
</inf:callInfo>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CreateRequest">
<xsd:annotation>
<xsd:documentation/>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="name" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Default label</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap">
<inf:maxLength/>
<inf:callInfo>
<inf:callName>Create</inf:callName>
<inf:returned>Always</inf:returned>
</inf:callInfo>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CreateResponse">
<xsd:annotation>
<xsd:documentation>Response container for the Create call.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="id" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Default label</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap">
<inf:maxLength/>
<inf:callInfo>
<inf:callName>Create</inf:callName>
<inf:returned>Always</inf:returned>
</inf:callInfo>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="name" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Default label</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap">
<inf:maxLength/>
<inf:callInfo>
<inf:callName>Create</inf:callName>
<inf:returned>Always</inf:returned>
</inf:callInfo>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="UpdateRequest">
<xsd:annotation>
<xsd:documentation/>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="id" type="xsd:int">
<xsd:annotation>
<xsd:documentation>Entity ID</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap">
<inf:min/>
<inf:max/>
<inf:callInfo>
<inf:callName>Update</inf:callName>
<inf:requiredInput>Yes</inf:requiredInput>
</inf:callInfo>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="UpdateResponse">
<xsd:annotation>
<xsd:documentation>Response container for the Update call.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="id" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Default label</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap">
<inf:maxLength/>
<inf:callInfo>
<inf:callName>Update</inf:callName>
<inf:returned>Always</inf:returned>
</inf:callInfo>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="RemoveRequest">
<xsd:annotation>
<xsd:documentation/>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="id" type="xsd:int">
<xsd:annotation>
<xsd:documentation>Entity ID</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap">
<inf:min/>
<inf:max/>
<inf:callInfo>
<inf:callName>Remove</inf:callName>
<inf:requiredInput>Yes</inf:requiredInput>
</inf:callInfo>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="RemoveResponse">
<xsd:annotation>
<xsd:documentation>Response container for the Remove call.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="id" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Default label</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap">
<inf:maxLength/>
<inf:callInfo>
<inf:callName>Remove</inf:callName>
<inf:returned>Always</inf:returned>
</inf:callInfo>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
@@ -0,0 +1,240 @@
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:complexType name="ItemRequest">
<xsd:annotation>
<xsd:documentation/>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="id" type="xsd:int">
<xsd:annotation>
<xsd:documentation>Entity ID</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap">
<inf:min/>
<inf:max/>
<inf:callInfo>
<inf:callName>Item</inf:callName>
<inf:requiredInput>Yes</inf:requiredInput>
</inf:callInfo>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ItemResponse">
<xsd:annotation>
<xsd:documentation>Response container for the Item call.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="id" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Default label</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap">
<inf:maxLength/>
<inf:callInfo>
<inf:callName>Item</inf:callName>
<inf:returned>Always</inf:returned>
</inf:callInfo>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ItemsResponse">
<xsd:annotation>
<xsd:documentation>Response container for the Items call.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element minOccurs="0" maxOccurs="unbounded" name="complexObjectArray"
type="ItemsArray">
<xsd:annotation>
<xsd:documentation>Default label</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap">
<inf:maxLength/>
<inf:callInfo>
<inf:callName>Items</inf:callName>
<inf:returned>Always</inf:returned>
</inf:callInfo>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ItemsArray">
<xsd:annotation>
<xsd:documentation>Response container for the Items call.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="id" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Default label</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap">
<inf:maxLength/>
<inf:callInfo>
<inf:callName>Items</inf:callName>
<inf:returned>Always</inf:returned>
</inf:callInfo>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="name" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Default label</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap">
<inf:maxLength/>
<inf:callInfo>
<inf:callName>Item</inf:callName>
<inf:returned>Always</inf:returned>
</inf:callInfo>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CreateRequest">
<xsd:annotation>
<xsd:documentation/>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="name" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Default label</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap">
<inf:maxLength/>
<inf:callInfo>
<inf:callName>Create</inf:callName>
<inf:returned>Always</inf:returned>
</inf:callInfo>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CreateResponse">
<xsd:annotation>
<xsd:documentation>Response container for the Create call.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="id" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Default label</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap">
<inf:maxLength/>
<inf:callInfo>
<inf:callName>Create</inf:callName>
<inf:returned>Always</inf:returned>
</inf:callInfo>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="name" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Default label</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap">
<inf:maxLength/>
<inf:callInfo>
<inf:callName>Create</inf:callName>
<inf:returned>Always</inf:returned>
</inf:callInfo>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="UpdateRequest">
<xsd:annotation>
<xsd:documentation/>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="id" type="xsd:int">
<xsd:annotation>
<xsd:documentation>Entity ID</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap">
<inf:min/>
<inf:max/>
<inf:callInfo>
<inf:callName>Update</inf:callName>
<inf:requiredInput>Yes</inf:requiredInput>
</inf:callInfo>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="UpdateResponse">
<xsd:annotation>
<xsd:documentation>Response container for the Update call.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="id" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Default label</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap">
<inf:maxLength/>
<inf:callInfo>
<inf:callName>Update</inf:callName>
<inf:returned>Always</inf:returned>
</inf:callInfo>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="RemoveRequest">
<xsd:annotation>
<xsd:documentation/>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="id" type="xsd:int">
<xsd:annotation>
<xsd:documentation>Entity ID</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap">
<inf:min/>
<inf:max/>
<inf:callInfo>
<inf:callName>Remove</inf:callName>
<inf:requiredInput>Yes</inf:requiredInput>
</inf:callInfo>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="RemoveResponse">
<xsd:annotation>
<xsd:documentation>Response container for the Remove call.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="id" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Default label</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.ll/webapi/soap">
<inf:maxLength/>
<inf:callInfo>
<inf:callName>Remove</inf:callName>
<inf:returned>Always</inf:returned>
</inf:callInfo>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
@@ -0,0 +1,22 @@
<?xml version="1.0"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Webapi:etc/webapi.xsd">
<route method="GET" url="/V1/testModule2SubsetRest/:id">
<service class="Magento\TestModule2\Service\V1\SubsetRestInterface" method="item" />
<resources>
<resource ref="Magento_TestModule2::resource1" />
</resources>
</route>
<route method="GET" url="/V1/testModule2SubsetRest">
<service class="Magento\TestModule2\Service\V1\SubsetRestInterface" method="items" />
<resources>
<resource ref="Magento_TestModule2::resource2" />
<resource ref="Magento_TestModule2::resource3" />
</resources>
</route>
</routes>