Prevents access to files outside of the doc/api folder and retrieves only .json files
Makes the whole project rubocop compliant