I see now, we're applying swagger documentation to only modules that contain a `rest.js` file. Can you just document what is happening in here a bit?