You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Bug] Handle the '\r\n' newline correctly
### Motivation
Fixes#143, which tracks including the '\r\n' newline in a description in the OpenAPI document.
### Modifications
Replaces the '\r\n' character with '\n' before rendering comments, as '\n' is handled properly.
### Result
OpenAPI documents that include '\r\n' in a description produce compiling code now.
### Test Plan
Added a unit test for this case.
Reviewed by: simonjbeaumont
Builds:
✔︎ pull request validation (5.8) - Build finished.
✔︎ pull request validation (5.9) - Build finished.
✔︎ pull request validation (docc test) - Build finished.
✔︎ pull request validation (integration test) - Build finished.
✔︎ pull request validation (nightly) - Build finished.
✔︎ pull request validation (soundness) - Build finished.
#169
0 commit comments