Skip to content

Commit e4aa25a

Browse files
authored
Fix scopes
1 parent 4d2c465 commit e4aa25a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

openapi-v3/defibrillatori-example.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ components:
198198
tokenUrl: https://as.example/token
199199
scopes:
200200
"operatore": Gestisci i defibrillatori.
201-
"automa": Cambia lo stato di un defibrillatore.
201+
"sistema-IoT": Cambia lo stato di un defibrillatore.
202202
responses:
203203
default:
204204
$ref: https://teamdigitale.github.io/openapi/master/definitions.yaml#/components/responses/default
@@ -256,7 +256,7 @@ paths:
256256
tags:
257257
- manage
258258
security:
259-
- OAuthToken: [operatore, automa]
259+
- OAuthToken: [operatore]
260260
description: |-
261261
Aggiungi un defibrillatore.
262262
requestBody:
@@ -316,7 +316,7 @@ paths:
316316
tags:
317317
- manage
318318
security:
319-
- OAuthToken: [operatore, automa]
319+
- OAuthToken: [operatore, sistema-IoT]
320320
description: |-
321321
Aggiorna un defibrillatore specifico con i dati forniti
322322
* da un operatore (utente autenticato) dell'ente che gestisce il

0 commit comments

Comments
 (0)