Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
appbuild
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
appbuild
Commits
091c103a
Commit
091c103a
authored
1 year ago
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加apipost生成接口文档逻辑
parent
0aa14217
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
51 additions
and
1 deletion
+51
-1
appbuild-manager/src/main/resources/template/doc/apipost.md.ftl
...ld-manager/src/main/resources/template/doc/apipost.md.ftl
+51
-1
No files found.
appbuild-manager/src/main/resources/template/doc/apipost.md.ftl
View file @
091c103a
...
@@ -117,7 +117,7 @@
...
@@ -117,7 +117,7 @@
"value": "123456"
"value": "123456"
}
}
],
],
"raw":"
{\n\t\"loginName\": \"qixgyzp\",\n\t\"password\": \"ccfxeecffldl\",\n\t\"securityCode\": \"rjkw\"\n}
",
"raw":"",
"raw_para":[
"raw_para":[
],
],
...
@@ -1984,6 +1984,47 @@
...
@@ -1984,6 +1984,47 @@
}
}
</#if>
</#if>
</#list>
</#list>
<#if table.subTable?? && table.tplCategory=="sub" >
,
{
"description": "${table.subTable.functionName}列表",
"is_checked": 1,
"key": "${table.subTable.className?uncap_first}List",
"type": "array",
"not_null": "-1",
"field_type": "array",
"value": ""
}
<#list table.subTable.columns as column >
<#if !column.isSuperColumn(column.javaField)>
,
{
"value": "",
"not_null": "-1",
"is_checked": 1,
"key": "array[0].${column.javaField}",
<#if column.javaType=="String">
"field_type":"string",
"type":"string",
<#elseif column.javaType == "Long"|| column.javaType=="Integer">
"field_type":"integer",
"type":"integer",
<#elseif column.javaType == "BigDecimal">
"field_type":"number",
"type":"number",
<#elseif column.javaType == "Date">
"field_type":"string",
"type":"string",
<#else>
"field_type":"string",
"type":"string",
</#if>
"description": "${column.columnComment}"
}
</#if>
</#list>
</#if>
],
],
"raw":"",
"raw":"",
"raw_para":[],
"raw_para":[],
...
@@ -2402,6 +2443,15 @@
...
@@ -2402,6 +2443,15 @@
"body":{
"body":{
"mode":"json",
"mode":"json",
"parameter":[
"parameter":[
{
"description": "数组根节点",
"is_checked": 1,
"key": "array",
"type": "array",
"not_null": "1",
"field_type": "array",
"value": ""
},
{
{
"description":"${table.pkColumn.javaField}为空时为新增,否则为更新",
"description":"${table.pkColumn.javaField}为空时为新增,否则为更新",
"field_type":"integer",
"field_type":"integer",
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment