konveyor / tackle-pathfinder

Tackle Pathfinder application
Apache License 2.0
16 stars 23 forks source link

No risk information inside assessment's questionnaire #48

Closed carlosthe19916 closed 3 years ago

carlosthe19916 commented 3 years ago

The current endpoint /assessments/{id} returns the whole content of an assessment including questions, answers, etc. However, the risk associated with each question/answer is not present in the response. The risk field is required for creating the "Review" page in the UI.

This is an example of the current response from /assessments/{id} https://gist.github.com/carlosthe19916/1b8d4ff99fcd97ae5dc8a6c658010742

Please add the risk field to the content of an assessment.