Closed fnitu closed 2 years ago
Hi,
Two new field types have been added:
New types TEXTAREA_BIG and TEXTAREA_SHORT must be taken into consideration on server
error: "Bad Request" message: "JSON parse error: Cannot deserialize value of type
ro.siit.model.QuestionTypefrom String \"TEXTAREA_SHORT\": not one of the values accepted for Enum class: [CHECKBOXES, RADIO, SELECT]; nested exception is com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot deserialize value of type
ro.siit.model.QuestionTypefrom String \"TEXTAREA_SHORT\": not one of the values accepted for Enum class: [CHECKBOXES, RADIO, SELECT]\n at [Source: (PushbackInputStream); line: 1, column: 31] (through reference chain: ro.siit.payload.QuestionRequest[\"type\"])" path: "/api/admin/quizzes/questions/11/update" status: 400 timestamp: 1638296211609
The expected payload for the settings property should be an array of objects (just like the options property)
"settings": [ { "name": "string", "value": "string" } ]
Please check out the swagger documentation: https://edu-hospice-api.herokuapp.com/swagger-ui.html#/quiz-controller/updateQuestionUsingPUT
All points from description have been implemented.
Must have
Nice to have: