Skip to content

Commit bccbe82

Browse files
authored
Merge pull request #81 from TEN-framework/fix/interface
fix: interface schema
2 parents f2300ea + d9e40f4 commit bccbe82

File tree

2 files changed

+15
-14
lines changed

2 files changed

+15
-14
lines changed

api/asr-interface.json

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,8 @@
55
"type": "string"
66
},
77
"headers": {
8-
"type": "object"
9-
},
10-
"params": {
11-
"type": "object"
8+
"type": "object",
9+
"properties": {}
1210
},
1311
"dump": {
1412
"type": "bool"
@@ -105,7 +103,8 @@
105103
"type": "string"
106104
},
107105
"asr_info": {
108-
"type": "object"
106+
"type": "object",
107+
"properties": {}
109108
}
110109
}
111110
}
@@ -275,10 +274,12 @@
275274
"type": "string"
276275
},
277276
"headers": {
278-
"type": "object"
277+
"type": "object",
278+
"properties": {}
279279
},
280280
"params": {
281-
"type": "object"
281+
"type": "object",
282+
"properties": {}
282283
},
283284
"dump": {
284285
"type": "bool"
@@ -299,4 +300,4 @@
299300
}
300301
}
301302
]
302-
}
303+
}

api/tts-interface.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,8 @@
55
"type": "string"
66
},
77
"headers": {
8-
"type": "object"
9-
},
10-
"params": {
11-
"type": "object"
8+
"type": "object",
9+
"properties": {}
1210
},
1311
"dump": {
1412
"type": "bool"
@@ -319,10 +317,12 @@
319317
"type": "string"
320318
},
321319
"headers": {
322-
"type": "object"
320+
"type": "object",
321+
"properties": {}
323322
},
324323
"params": {
325-
"type": "object"
324+
"type": "object",
325+
"properties": {}
326326
},
327327
"dump": {
328328
"type": "bool"

0 commit comments

Comments
 (0)