fix(bridge): update qos fields for swagger examples

This commit is contained in:
Shawn 2021-12-17 21:41:25 +08:00
parent 0699682f38
commit 7bcd38c101
1 changed files with 2 additions and 2 deletions

View File

@ -172,8 +172,8 @@ info_example_basic(mqtt, ingress) ->
remote_topic => <<"aws/#">>, remote_topic => <<"aws/#">>,
remote_qos => 1, remote_qos => 1,
local_topic => <<"from_aws/${topic}">>, local_topic => <<"from_aws/${topic}">>,
local_qos => <<"${qos}">>,
payload => <<"${payload}">>, payload => <<"${payload}">>,
qos => <<"${qos}">>,
retain => <<"${retain}">> retain => <<"${retain}">>
}; };
info_example_basic(mqtt, egress) -> info_example_basic(mqtt, egress) ->
@ -182,8 +182,8 @@ info_example_basic(mqtt, egress) ->
direction => egress, direction => egress,
local_topic => <<"emqx/#">>, local_topic => <<"emqx/#">>,
remote_topic => <<"from_emqx/${topic}">>, remote_topic => <<"from_emqx/${topic}">>,
remote_qos => <<"${qos}">>,
payload => <<"${payload}">>, payload => <<"${payload}">>,
qos => 1,
retain => false retain => false
}. }.