diff --git a/specification/communication/data-plane/Microsoft.CommunicationServicesTurn/preview/2021-02-22-preview1/CommunicationTurn.json b/specification/communication/data-plane/Microsoft.CommunicationServicesTurn/preview/2021-02-22-preview1/CommunicationTurn.json index 35affa23fbdd..d9dba569baa5 100644 --- a/specification/communication/data-plane/Microsoft.CommunicationServicesTurn/preview/2021-02-22-preview1/CommunicationTurn.json +++ b/specification/communication/data-plane/Microsoft.CommunicationServicesTurn/preview/2021-02-22-preview1/CommunicationTurn.json @@ -61,8 +61,11 @@ "type": "object", "properties": { "urls": { - "description": "URL of the server.", - "type": "string" + "description": "List of TURN server URLs.", + "type": "array", + "items": { + "type": "string" + } }, "username": { "description": "User account name which uniquely identifies the credentials.", diff --git a/specification/communication/data-plane/Microsoft.CommunicationServicesTurn/preview/2021-02-22-preview1/examples/IssueTurnCredentials.json b/specification/communication/data-plane/Microsoft.CommunicationServicesTurn/preview/2021-02-22-preview1/examples/IssueTurnCredentials.json index 97c1b3d68e95..8c205ecee230 100644 --- a/specification/communication/data-plane/Microsoft.CommunicationServicesTurn/preview/2021-02-22-preview1/examples/IssueTurnCredentials.json +++ b/specification/communication/data-plane/Microsoft.CommunicationServicesTurn/preview/2021-02-22-preview1/examples/IssueTurnCredentials.json @@ -10,7 +10,9 @@ "body": { "turnServers": [ { - "urls": "turn:131.107.255.255:3478", + "urls": [ + "turn:131.107.255.255:3478" + ], "username": "AgAAJNOeygwB1uVGvuwAVMHV4PLhYDgY66Fg1dUZvQ4AAAAEhXrhc8uJFjOK8lxEsZk3KIpWxc0=", "credential": "9rl8ablFWj6/aqSuPLgLykLZKqw=" }