Every time that we run `rake canvas:compile_assets` task, the file
data_service_canvas_logged.md changes, where the brake line is removed
from the body attribute.
This behavior does not occurs while using the `rake doc:api` task.
After some investigation, we notice that to solve this issue we need to:
* load the json initializer (config/initializers/json) at the `doc:api` task;
* format the JSON file properly;
* fix the data_service_canvas_logged.md file to the correct version;
closes INTEROP-6346
flag=none
test plan:
* checkout this patch;
* run rake canvas:compile_assets and check that the file
data_service_canvas_logged.md doesn't change anymore;
* run rake doc:api and check that the file
data_service_canvas_logged.md doesn't change anymore;
Change-Id: I8cb1e3cb5d9527205827fa25b74e6da3319f65ab
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/253036
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Robin Kuss <rkuss@instructure.com>
Reviewed-by: Xander Moffatt <xmoffatt@instructure.com>
QA-Review: Robin Kuss <rkuss@instructure.com>
Product-Review: Wagner Goncalves <wagner.goncalves@instructure.com>