Skip to content

Commit 05a60dd

Browse files
committed
feat: update swagger
1 parent 436d26c commit 05a60dd

File tree

3 files changed

+22
-0
lines changed

3 files changed

+22
-0
lines changed

sqle/docs/docs.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22620,6 +22620,10 @@ var doc = `{
2262022620
"v2.DirectAuditReqV2": {
2262122621
"type": "object",
2262222622
"properties": {
22623+
"instance_name": {
22624+
"type": "string",
22625+
"example": "instance1"
22626+
},
2262322627
"instance_type": {
2262422628
"type": "string",
2262522629
"example": "MySQL"
@@ -22632,6 +22636,10 @@ var doc = `{
2263222636
"type": "string",
2263322637
"example": "default"
2263422638
},
22639+
"schema_name": {
22640+
"type": "string",
22641+
"example": "schema1"
22642+
},
2263522643
"sql_content": {
2263622644
"description": "调用方不应该关心SQL是否被完美的拆分成独立的条目, 拆分SQL由SQLE实现",
2263722645
"type": "string",

sqle/docs/swagger.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22604,6 +22604,10 @@
2260422604
"v2.DirectAuditReqV2": {
2260522605
"type": "object",
2260622606
"properties": {
22607+
"instance_name": {
22608+
"type": "string",
22609+
"example": "instance1"
22610+
},
2260722611
"instance_type": {
2260822612
"type": "string",
2260922613
"example": "MySQL"
@@ -22616,6 +22620,10 @@
2261622620
"type": "string",
2261722621
"example": "default"
2261822622
},
22623+
"schema_name": {
22624+
"type": "string",
22625+
"example": "schema1"
22626+
},
2261922627
"sql_content": {
2262022628
"description": "调用方不应该关心SQL是否被完美的拆分成独立的条目, 拆分SQL由SQLE实现",
2262122629
"type": "string",

sqle/docs/swagger.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6505,6 +6505,9 @@ definitions:
65056505
type: object
65066506
v2.DirectAuditReqV2:
65076507
properties:
6508+
instance_name:
6509+
example: instance1
6510+
type: string
65086511
instance_type:
65096512
example: MySQL
65106513
type: string
@@ -6514,6 +6517,9 @@ definitions:
65146517
rule_template_name:
65156518
example: default
65166519
type: string
6520+
schema_name:
6521+
example: schema1
6522+
type: string
65176523
sql_content:
65186524
description: 调用方不应该关心SQL是否被完美的拆分成独立的条目, 拆分SQL由SQLE实现
65196525
example: select * from t1; select * from t2;

0 commit comments

Comments
 (0)