diff --git a/apps/emqx_dashboard/src/emqx_dashboard_schema_api.erl b/apps/emqx_dashboard/src/emqx_dashboard_schema_api.erl index 2bc1c5b39..632c8b8d4 100644 --- a/apps/emqx_dashboard/src/emqx_dashboard_schema_api.erl +++ b/apps/emqx_dashboard/src/emqx_dashboard_schema_api.erl @@ -100,28 +100,28 @@ gen_schema(connectors) -> hotconf_schema_json() -> SchemaInfo = #{ - title => <<"EMQX Hot Conf Schema">>, + title => <<"Hot Conf Schema">>, version => ?SCHEMA_VERSION }, gen_api_schema_json_iodata(emqx_mgmt_api_configs, SchemaInfo). bridge_schema_json() -> SchemaInfo = #{ - title => <<"EMQX Data Bridge Schema">>, + title => <<"Data Bridge Schema">>, version => ?SCHEMA_VERSION }, gen_api_schema_json_iodata(emqx_bridge_api, SchemaInfo). actions_schema_json() -> SchemaInfo = #{ - title => <<"EMQX Data Actions and Sources Schema">>, + title => <<"Actions and Sources Schema">>, version => ?SCHEMA_VERSION }, gen_api_schema_json_iodata(emqx_bridge_v2_api, SchemaInfo). connectors_schema_json() -> SchemaInfo = #{ - title => <<"EMQX Connectors Schema">>, + title => <<"Connectors Schema">>, version => ?SCHEMA_VERSION }, gen_api_schema_json_iodata(emqx_connector_api, SchemaInfo). diff --git a/scripts/test/emqx-smoke-test.sh b/scripts/test/emqx-smoke-test.sh index 4430a313a..8177d7b85 100755 --- a/scripts/test/emqx-smoke-test.sh +++ b/scripts/test/emqx-smoke-test.sh @@ -82,8 +82,10 @@ main() { ## The json status feature was added after hotconf and bridges schema API if [ "$JSON_STATUS" != 'NOT_JSON' ]; then check_swagger_json - check_schema_json hotconf "EMQX Hot Conf API Schema" - check_schema_json bridges "EMQX Data Bridge API Schema" + check_schema_json hotconf "Hot Conf Schema" + check_schema_json bridges "Data Bridge Schema" + check_schema_json actions "Actions and Sources Schema" + check_schema_json connectors "Connectors Schema" fi }