Fetch the repository succeeded.
<?xml version="1.0" encoding="UTF-8" ?>
<api x:schema="/nop/schema/xdef.xdef" xmlns:x="/nop/schema/xdsl.xdef" xdef:name="ApiModel"
xdef:bean-package="io.nop.rpc.model" apiPackageName="package-name">
<description xdef:value="string"/>
<import from="!string" as="var-name" public="boolean" xdef:name="ApiImportModel" xdef:unique-attr="from">
<description xdef:value="string"/>
</import>
<option name="!string" value="!any" xdef:name="ApiOptionModel" xdef:unique-attr="name">
<description xdef:value="string"/>
</option>
<domains xdef:body-type="list" xdef:key-attr="name">
<!--
数据域定义。orm模型解析完毕之后,domain的定义会合并到column上。如果设置了domain是以domain的设置为准
-->
<domain name="!string" displayName="string" xdef:name="ApiDomainModel"
stdDomain="std-domain" stdSqlType="!std-sql-type" stdDataType="std-data-type"
precision="int" scale="int"/>
</domains>
<dicts xdef:body-type="list" xdef:key-attr="name">
<dict name="!string" xdef:ref="/nop/schema/orm/dict.xdef"/>
</dicts>
<!--
服务对象
-->
<services xdef:body-type="list" xdef:key-attr="name">
<service name="!var-name" className="!class-name" displayName="string" xdef:unique-attr="name"
tagSet="word-set" xdef:name="ApiServiceModel">
<description xdef:value="string"/>
<option name="!string" xdef:ref="ApiOptionModel" xdef:unique-attr="name"/>
<!--
服务方法。接收ApiRequest<T>类型的请求,返回ApiResponse<R>类型的响应
-->
<method name="!var-name" displayName="string" tagSet="word-set" xdef:unique-attr="name"
streamRequest="!boolean=false" streamResponse="!boolean=false"
requestMessage="class-name" responseMessage="!generic-type"
xdef:name="ApiMethodModel" mutation="!boolean=false">
<description xdef:value="string"/>
<option name="!string" xdef:ref="ApiOptionModel" xdef:unique-attr="name"/>
</method>
</service>
</services>
<!--
@name 服务消息的类名。在整个API定义范围内应该是唯一的。
-->
<messages xdef:body-type="list" xdef:key-attr="name">
<message name="!class-name" displayName="string" tagSet="word-set"
xdef:name="ApiMessageModel" xdef:unique-attr="name" baseClass="generic-type" interfaces="generic-type-list">
<description xdef:value="string"/>
<option name="!string" xdef:ref="ApiOptionModel" xdef:unique-attr="name"/>
<field name="!string" mandatory="!boolean=false" tagSet="word-set" propId="!int"
displayName="string" binaryScalarType="enum:io.nop.commons.type.BinaryScalarType" defaultValue="string"
xdef:unique-attr="name" xdef:name="ApiMessageFieldModel">
<description xdef:value="string"/>
<schema xdef:ref="/nop/schema/schema/schema.xdef"/>
<option name="!string" xdef:ref="ApiOptionModel" xdef:unique-attr="name"/>
</field>
</message>
</messages>
</api>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。