Fix @RestApiHeaders

This commit fixes #11. Consider refactor these changes to a new RestApiHeaderDoc class.