deleted redundant swagger schema
This commit is contained in:
parent
1599f86f52
commit
03eabdc3df
@ -250,7 +250,7 @@ public class DashboardController extends BaseController {
|
|||||||
public Dashboard updateDashboardCustomers(
|
public Dashboard updateDashboardCustomers(
|
||||||
@Parameter(description = DASHBOARD_ID_PARAM_DESCRIPTION)
|
@Parameter(description = DASHBOARD_ID_PARAM_DESCRIPTION)
|
||||||
@PathVariable(DASHBOARD_ID) String strDashboardId,
|
@PathVariable(DASHBOARD_ID) String strDashboardId,
|
||||||
@Parameter(description = "JSON array with the list of customer ids, or empty to remove all customers", array = @ArraySchema(schema = @Schema(type = "string")))
|
@Parameter(description = "JSON array with the list of customer ids, or empty to remove all customers")
|
||||||
@RequestBody(required = false) String[] strCustomerIds) throws ThingsboardException {
|
@RequestBody(required = false) String[] strCustomerIds) throws ThingsboardException {
|
||||||
checkParameter(DASHBOARD_ID, strDashboardId);
|
checkParameter(DASHBOARD_ID, strDashboardId);
|
||||||
DashboardId dashboardId = new DashboardId(toUUID(strDashboardId));
|
DashboardId dashboardId = new DashboardId(toUUID(strDashboardId));
|
||||||
@ -268,7 +268,7 @@ public class DashboardController extends BaseController {
|
|||||||
public Dashboard addDashboardCustomers(
|
public Dashboard addDashboardCustomers(
|
||||||
@Parameter(description = DASHBOARD_ID_PARAM_DESCRIPTION)
|
@Parameter(description = DASHBOARD_ID_PARAM_DESCRIPTION)
|
||||||
@PathVariable(DASHBOARD_ID) String strDashboardId,
|
@PathVariable(DASHBOARD_ID) String strDashboardId,
|
||||||
@Parameter(description = "JSON array with the list of customer ids", array = @ArraySchema(schema = @Schema(type = "string")))
|
@Parameter(description = "JSON array with the list of customer ids")
|
||||||
@RequestBody String[] strCustomerIds) throws ThingsboardException {
|
@RequestBody String[] strCustomerIds) throws ThingsboardException {
|
||||||
checkParameter(DASHBOARD_ID, strDashboardId);
|
checkParameter(DASHBOARD_ID, strDashboardId);
|
||||||
DashboardId dashboardId = new DashboardId(toUUID(strDashboardId));
|
DashboardId dashboardId = new DashboardId(toUUID(strDashboardId));
|
||||||
@ -286,7 +286,7 @@ public class DashboardController extends BaseController {
|
|||||||
public Dashboard removeDashboardCustomers(
|
public Dashboard removeDashboardCustomers(
|
||||||
@Parameter(description = DASHBOARD_ID_PARAM_DESCRIPTION)
|
@Parameter(description = DASHBOARD_ID_PARAM_DESCRIPTION)
|
||||||
@PathVariable(DASHBOARD_ID) String strDashboardId,
|
@PathVariable(DASHBOARD_ID) String strDashboardId,
|
||||||
@Parameter(description = "JSON array with the list of customer ids", array = @ArraySchema(schema = @Schema(type = "string")))
|
@Parameter(description = "JSON array with the list of customer ids")
|
||||||
@RequestBody String[] strCustomerIds) throws ThingsboardException {
|
@RequestBody String[] strCustomerIds) throws ThingsboardException {
|
||||||
checkParameter(DASHBOARD_ID, strDashboardId);
|
checkParameter(DASHBOARD_ID, strDashboardId);
|
||||||
DashboardId dashboardId = new DashboardId(toUUID(strDashboardId));
|
DashboardId dashboardId = new DashboardId(toUUID(strDashboardId));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user