Fix @RestApiHeaders

This commit fixes #11. Consider refactor these changes to a new RestApiHeaderDoc class.
Merge pull request #21 from rvargas/patch-1

Fix @RestApiHeaders