Open gajones155 opened 4 years ago
Relatedly, for parent
fields that can have multiple resource types (due to (google.api.resource_reference).child_type = ...
), it seems like it would be better to avoid having to re-list all possible formats.
but when I generate documentation this results in duplicate lines in the generated HTML documentation, e.g.
I did not know this! Is this true for everyone or only certain documentation generators?
Further, the format differs in that one contains
{account}
and the other{account_id}
. Which format is preferred?
{account}
Included whenever --appendFormatStringForFieldSeg=True
(it's False
by default).
See buildFlatSubpathString
in the docgen code for where this is done.
AIP-131 encourages a comment line
but when I generate documentation this results in duplicate lines in the generated HTML documentation, e.g.
"The resource name of the requested account. Format:
accounts/{account}
It takes the formaccounts/{account_id}
."Further, the format differs in that one contains
{account}
and the other{account_id}
. Which format is preferred?