This pull request introduces the following 4 changes to the API:
Change a variable name in the Errata request DTO to better reflect the parameter usage.
Fix the population of the context hashmap being used to populate the HTML templates of the questionnaires, specially the healthcare professional name and their license number (used in the download as PDF endpoint).
Fix the 'get all questionnaire responses' endpoint to properly expose the related healthcare professional's details.
Technical details
For the previously stated changes, specifically:
The JSON request payload for the POST (create) errata endpoint now will look like this:
Description
This pull request introduces the following 4 changes to the API:
Technical details
For the previously stated changes, specifically:
POST
(create) errata endpoint now will look like this:for further details of the errata feature, take a look at #113 and #121.
GET
'all questionnaire responses' endpoint now will look as follows (only changes the name of variables):route and route parameters are left untouched.
Related issues
@Barbara-Alvarez
Related developers
@RodrigoCba96 @cquevedox