Fixed a small issue in the generated api doc

It's not really a big deal but the namespace declaration in the generated api docs had a duplicated assignment.