Ensure swagger doc passes validation + clean up