Aggiornamento NelmioApi Doc ed annotazioni a OpenAPI 3
Alcune API risultano documentate erroneamente, per esempio viene definito un tipo non corretto
Andrebbero invece usate le annotazioni corrette:
Esempio annotazione errata:
@SWG\Property(description="Creation date time", type="dateTime")
Esempio annotazioni corrette:
* @SWG\Property(description="Document's uuid", type="string", format="uuid")
* @SWG\Property(description="Document's recipient type. Specifies whether the document has been uploaded tby the citizen or generated by the municipality. Accepts values: tenant, user", type="string", example="user")
Vanno quindi verificate le annotazioni SWG sulle entità e sui dto
Seguire istruzioni per aggiornamento annotazioni: https://github.com/nelmio/NelmioApiDocBundle