style: fix wording, typos, punctuation etc

This commit is contained in:
Stefan Strigler 2023-10-04 14:41:00 +02:00 committed by Zaiming (Stone) Shi
parent 7641c22455
commit 4e05b1f013
1 changed files with 16 additions and 16 deletions

View File

@ -1,62 +1,62 @@
emqx_connector_api {
desc_api1.desc:
"""List all created connectors"""
"""List all created connectors."""
desc_api1.label:
"""List All Connectors"""
desc_api2.desc:
"""Create a new connector by type and name"""
"""Create a new connector by type and name."""
desc_api2.label:
"""Create Connector"""
desc_api3.desc:
"""Get a connector by Id"""
"""Get a connector by id."""
desc_api3.label:
"""Get Connector"""
desc_api4.desc:
"""Update a connector by Id"""
"""Update a connector by id."""
desc_api4.label:
"""Update Connector"""
desc_api5.desc:
"""Delete a connector by Id"""
"""Delete a connector by id."""
desc_api5.label:
"""Delete Connector"""
desc_api6.desc:
"""Reset a connector metrics by Id"""
"""Reset a connector metrics by id."""
desc_api6.label:
"""Reset Connector Metrics"""
desc_api7.desc:
"""Stop/Restart connectors on all nodes in the cluster."""
"""Stop/restart connectors on all nodes in the cluster."""
desc_api7.label:
"""Cluster Connector Operate"""
desc_api8.desc:
"""Stop/Restart connectors on a specific node."""
"""Stop/restart connectors on a specific node."""
desc_api8.label:
"""Node Connector Operate"""
desc_api9.desc:
"""Test creating a new connector by given ID </br>
The ID must be of format '{type}:{name}'"""
"""Test creating a new connector by given id.</br>
The id must be of format '{type}:{name}'."""
desc_api9.label:
"""Test Connector Creation"""
desc_connector_metrics.desc:
"""Get connector metrics by Id"""
"""Get connector metrics by id."""
desc_connector_metrics.label:
"""Get Connector Metrics"""
@ -68,31 +68,31 @@ desc_enable_connector.label:
"""Cluster Connector Enable"""
desc_param_path_enable.desc:
"""Whether to enable this connector"""
"""Whether to enable this connector."""
desc_param_path_enable.label:
"""Enable connector"""
desc_param_path_id.desc:
"""The connector Id. Must be of format {type}:{name}"""
"""The connector id. Must be of format {type}:{name}."""
desc_param_path_id.label:
"""Connector ID"""
desc_param_path_node.desc:
"""The node name, e.g. emqx@127.0.0.1"""
"""The node name, e.g. 'emqx@127.0.0.1'."""
desc_param_path_node.label:
"""The node name"""
desc_param_path_operation_cluster.desc:
"""Operations can be one of: stop, restart"""
"""Operations can be one of: 'stop' or 'restart'."""
desc_param_path_operation_cluster.label:
"""Cluster Operation"""
desc_param_path_operation_on_node.desc:
"""Operations can be one of: stop, restart"""
"""Operations can be one of: 'stop' or 'restart'."""
desc_param_path_operation_on_node.label:
"""Node Operation """