File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,9 @@ local content_format = types.string + types.array_of(types.one_of({
13
13
}),
14
14
types .shape ({
15
15
type = " image_url" ,
16
- image_url = types .string
16
+ image_url = types .string + types .partial ({
17
+ url = types .string
18
+ })
17
19
})
18
20
}))
19
21
local test_message = types .one_of ({
Original file line number Diff line number Diff line change @@ -13,7 +13,9 @@ empty = (types.nil + types.literal(cjson.null))\describe "nullable"
13
13
14
14
content_format = types. string + types. array_of types. one_of {
15
15
types. shape { type : " text" , text : types. string }
16
- types. shape { type : " image_url" , image_url : types. string }
16
+ types. shape { type : " image_url" , image_url : types. string + types. partial {
17
+ url : types. string
18
+ }}
17
19
}
18
20
19
21
test_message = types. one_of {
You can’t perform that action at this time.
0 commit comments