-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Descriptions should be plain text (no HTML tags, no markdown tags, etc) #701
Comments
@Sandido: Should this be generalized to "Swagger descriptions should be plain-text"? I'm not sure there's an exact definition of what is or isn't "plain-text", but we can try to disallow common mistakes like:
Adding a rule specifically for |
@Sandido: Ping |
@mikeharder , Html formatting is an issue as seen with the < b r >. Based on the email thread I shared, I don't think markdown formatting is supported but haven't seen specific instances of this so I can't give a recommendation on that. |
Lint rule description
<br>
cannot be processed by upstream Autorest and SDK doc generators and is therefore not allowed.Related swagger example
Category
SDK
Severity level
Error
Applies to
Management plane API spec
How to fix the violation
Remove the
<br>
tags and format your text as plain text.What't the impact if breaking the rule
The
<br>
tags will appear as plain text on all documentation and code upstream of the swagger specs (SDK, client tools). This is confusing to customers and degrades the development experience.The text was updated successfully, but these errors were encountered: