{ "openapi":"3.0.2", "info": { "title":"TUTTOGARE", "version":"3.0" }, "servers": [ { "url": "/api/advanced/latest" } ], "security": [{ "basicAuth": [] }], "components": { "schemas": { "standardResponse": { "allOf": [{ "type": "array", "items": { "type": "object", "properties": { "codice": { "title": "Codice", "type": "number", "format": "int64", "description": "Codice dell'elemento memorizzato" }, "note": { "title": "Note", "type": "string", "description": "Note sull'operazione effettuata in formato testuale o JSON" } } } }] }, "errorResponse": { "properties": { "errorCode": { "type": "string", "description": "Codice errore" }, "errorDescription": { "oneOf": [ { "title": "Descrizione dell'errore", "type": "string" }, { "title": "Array degli errori riscontrati", "type": "object", "properties": { "#idCampo#" : { "type":"object", "description": "Nome del campo con errore", "properties": { "descrizione": { "type": "string", "description": "Descrizione dell'errore riscontrato" } } } } } ] }, "transactionID": { "type": "number", "description": "Identificativo della richiesta all'interno del sistema" } } } }, "securitySchemes": { "basicAuth": { "type": "http", "scheme": "basic" } } } }