61 Star 84 Fork 10

fastjrun / demo

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
fastjrun-apiworld-schema.xsd 1.95 KB
一键复制 编辑 原始数据 按行查看 历史
fastjrun 提交于 2022-01-30 22:59 . 升级代码生成插件版本
<?xml version="1.0"?>
<!--
~ Copyright (C) 2019 fastjrun, Inc. All Rights Reserved.
-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:include schemaLocation="fastjrun-schema.xsd"/>
<xs:element name="bundle">
<xs:complexType>
<xs:sequence>
<xs:element ref="packets" minOccurs="0"/>
<xs:element ref="services" minOccurs="0"/>
<xs:element ref="controllers" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="name" type="xs:string" default="快嘉接口定义规范"/>
</xs:complexType>
</xs:element>
<xs:element name="controllers">
<xs:complexType>
<xs:choice>
<xs:element name="controller" type="controller" maxOccurs="unbounded"/>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:complexType name="controller">
<xs:all>
<xs:element name="service">
<xs:complexType>
<xs:attribute name="name" type="xs:string" use="required"/>
<xs:attribute name="ref" type="xs:string"/>
</xs:complexType>
</xs:element>
</xs:all>
<xs:attribute name="type" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="CustomApi"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="name" type="xs:string" use="required"/>
<xs:attribute name="path" type="xs:string" use="required"/>
<xs:attribute name="version" type="xs:string"/>
<xs:attribute name="clientName" type="xs:string" use="required"/>
<xs:attribute name="remark" type="xs:string" use="required"/>
<xs:attribute name="tags" type="xs:string" use="required"/>
<xs:attribute name="new" type="xs:boolean" default="true"/>
</xs:complexType>
</xs:schema>
Java
1
https://gitee.com/fastjrun/demo.git
git@gitee.com:fastjrun/demo.git
fastjrun
demo
demo
master

搜索帮助