- Swagger UI - http://localhost:8082/swagger-ui.html
- Api doc
LC_ALL: en_US.UTF-8
TZ: Europe/Rome
# getDocuments
curl "http://localhost:8082/api/v1/document" -s
# getDocuments
curl "http://localhost:8082/api/v1/document/doc-1" -s
# delete
curl -X DELETE "http://localhost:8082/api/v1/document/doc-1" -s
# post
curl -X POST "http://localhost:8082/api/v1/document" -d "{\"id\":\"doc-4\",\"name\":\"Appendice\",\"description\":\"Appendice 2\"}" -H "accept: application/json" -H "Content-Type: application/json" -s
# put
curl -X PUT "http://localhost:8082/api/v1/document" -d "{\"id\":\"doc-4\",\"name\":\"Appendice\",\"description\":\"Appendice 2 - correzione\"}" -H "accept: application/json" -H "Content-Type: application/json" -s