29705a25ce
- Tweaked how books are passed on update to prevent unassignment if parameter is not provided. - Added books to validation so they show in docs. - Added request/response examples. - Added tests to cover. - Added child book info to shelf info. Review of #1908
5 lines
No EOL
112 B
JSON
5 lines
No EOL
112 B
JSON
{
|
|
"name": "My updated shelf",
|
|
"description": "This is my update shelf with some books",
|
|
"books": [5,1,3]
|
|
} |