Open jhendrixMSFT opened 3 years ago
I'm not sure that this is due to comment HTML parsing. If I dump the code-mode-v4.yaml I see:
language:
default:
name: PetAPTrue
description: Dictionary of <any>
go:
name: PetAPTrue
description: Dictionary of
elementIsPtr: false
marshallingFormat: json
where Go's description is cut off.
If I run this against C#, the yaml contains:
language: !Languages
default:
name: PetAPTrue
description: Dictionary of <any>
Here are both code models, though we are just parsing additionalProperties from testserver.
Raised to autorest core for research - https://github.com/Azure/autorest/issues/4233
In
transform.ts:parseComments()
, the conversion to HTML then text can strip some content that appears to be HTML tags.E.g. in additionalProperties.json in the test server, the description "Dictionary of" is munged into "Dictionary of ".