Skip to content

Commit 21dd406

Browse files
committed
Update openapi about message pack
Signed-off-by: Kunlin Yu <yukunlin@syriusrobotics.com>
1 parent 5134ec2 commit 21dd406

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

deploy/var/www/dbus2http/schema/dbus2http_openapi.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,11 +139,14 @@ paths:
139139
$ref: '#/components/schemas/MethodCall'
140140
responses:
141141
"200":
142-
description: Method return value serialized as JSON
142+
description: Method return value serialized as JSON or MessagePack
143143
content:
144144
application/json:
145145
schema:
146146
$ref: '#/components/schemas/MethodReply'
147+
application/x-msgpack:
148+
schema:
149+
$ref: '#/components/schemas/MethodReply'
147150
"400":
148151
$ref: '#/components/responses/BadRequest'
149152
"500":

0 commit comments

Comments
 (0)