Skip to content

Commit b3d3cba

Browse files
authored
fixed typo and response mismatch (#340)
1 parent 9283562 commit b3d3cba

File tree

2 files changed

+20
-13
lines changed

2 files changed

+20
-13
lines changed

openapi-spec/crapi-openapi-spec.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3191,7 +3191,7 @@
31913191
},
31923192
"ProfileVideo" : {
31933193
"type" : "object",
3194-
"required" : [ "id", "video_name", "converstion_params", "video", "user" ],
3194+
"required" : [ "id", "video_name", "conversion_params" ],
31953195
"properties" : {
31963196
"id" : {
31973197
"type" : "number"
@@ -3207,6 +3207,9 @@
32073207
},
32083208
"user" : {
32093209
"$ref" : "#/components/schemas/User"
3210+
},
3211+
"profileVideo" : {
3212+
"type" : "string"
32103213
}
32113214
},
32123215
"example" : {

services/chatbot/src/resources/crapi-openapi-spec.json

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1011,9 +1011,7 @@
10111011
"required": [
10121012
"id",
10131013
"video_name",
1014-
"converstion_params",
1015-
"video",
1016-
"user"
1014+
"conversion_params"
10171015
],
10181016
"properties": {
10191017
"id": {
@@ -1042,6 +1040,9 @@
10421040
"required": [
10431041
"email"
10441042
]
1043+
},
1044+
"profileVideo" : {
1045+
"type" : "string"
10451046
}
10461047
},
10471048
"example": {
@@ -1111,9 +1112,7 @@
11111112
"required": [
11121113
"id",
11131114
"video_name",
1114-
"converstion_params",
1115-
"video",
1116-
"user"
1115+
"conversion_params"
11171116
],
11181117
"properties": {
11191118
"id": {
@@ -1142,6 +1141,9 @@
11421141
"required": [
11431142
"email"
11441143
]
1144+
},
1145+
"profileVideo" : {
1146+
"type" : "string"
11451147
}
11461148
},
11471149
"example": {
@@ -1234,9 +1236,7 @@
12341236
"required": [
12351237
"id",
12361238
"video_name",
1237-
"converstion_params",
1238-
"video",
1239-
"user"
1239+
"conversion_params"
12401240
],
12411241
"properties": {
12421242
"id": {
@@ -1265,6 +1265,9 @@
12651265
"required": [
12661266
"email"
12671267
]
1268+
},
1269+
"profileVideo" : {
1270+
"type" : "string"
12681271
}
12691272
},
12701273
"example": {
@@ -5061,9 +5064,7 @@
50615064
"required": [
50625065
"id",
50635066
"video_name",
5064-
"converstion_params",
5065-
"video",
5066-
"user"
5067+
"conversion_params"
50675068
],
50685069
"properties": {
50695070
"id": {
@@ -5092,6 +5093,9 @@
50925093
"required": [
50935094
"email"
50945095
]
5096+
},
5097+
"profileVideo" : {
5098+
"type" : "string"
50955099
}
50965100
},
50975101
"example": {

0 commit comments

Comments
 (0)