11get :
2- summary : ritorna l'aliquota con ID
3- description : Ritorna l'aliquota richiesta con ID passato via path param
2+ summary : Get the VAT tax by ID
3+ description : Return info about the tax associated with the passed ID
44 tags :
55 - taxes
66 parameters :
1212 operationId : getTax
1313 responses :
1414 200 :
15- description : " Aliquota IVA con ID "
15+ description : " Tax returned "
1616 content :
1717 application/json :
1818 schema :
2323 data : { id: "1", value: 4, description: "IVA Beni Essenziali" },
2424 }
2525 400 :
26- description : " Aliquota IVA con ID non presente "
26+ description : " Tax ID not present "
2727 content :
2828 application/json :
2929 schema :
3535 }
3636
3737patch :
38- summary : Aggiorna il valore percentuale o la descrizione dell'aliquota
39- description : Aggiorna percentuale o descrizione aliquota IVA tramite ID
38+ summary : Update tax
39+ description : Update value or description of the taxes associated with the passed ID
4040 tags :
4141 - taxes
4242 operationId : updateTax
@@ -61,14 +61,14 @@ patch:
6161 example : { id: "3", value: 22.5 }
6262 responses :
6363 200 :
64- description : " Aliquota IVA Aggiornata "
64+ description : " Update successful "
6565 content :
6666 application/json :
6767 schema :
6868 $ref : " ../schemas/response.json#/response"
6969 example : { status: "success", message: "Aliquota IVA aggiornata" }
7070 400 :
71- description : " Aliquota IVA non aggiornata "
71+ description : " request error "
7272 content :
7373 application/json :
7474 schema :
8080 }
8181
8282delete :
83- summary : Rimuove l'aliquota IVA identificata dall'ID passato
84- description : Rimuove l'aliquota IVA identificata dall'ID passato
83+ summary : Delete tax
84+ description : Remove the tax associated with the passed ID
8585 tags :
8686 - taxes
8787 operationId : removeTax
@@ -103,14 +103,14 @@ delete:
103103 type : boolean
104104 responses :
105105 200 :
106- description : " Aliquota IVA rimossa "
106+ description : " Tax deleted "
107107 content :
108108 application/json :
109109 schema :
110110 $ref : " ../schemas/response.json#/response"
111111 example : { status: "success", message: "Aliquota IVA rimossa" }
112112 400 :
113- description : " Aliquota IVA non rimossa "
113+ description : " request error "
114114 content :
115115 application/json :
116116 schema :
0 commit comments