Non puoi selezionare più di 25 argomenti
Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
82 righe
2.0 KiB
82 righe
2.0 KiB
{ |
|
"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" |
|
} |
|
} |
|
} |
|
} |