manual: Add a missing return type for generate_etag
manual: Fix a typo in a typespec