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
Put some text before <details>, and add <br/> before and after <code>...</code>
/// <summary>My work api</summary>
/// <remarks>
/// You need put some text before "details" tag can reomve the long space string in output
/// <details>
/// <summary>Details Title</summary><br/>
/// <code>
/// {
/// "Prop1":1,
/// "Prop2":[]
/// }
/// </code><br/>
/// </details>
/// </remarks>
And looks fine:
The text was updated successfully, but these errors were encountered:
Flithor
changed the title
[Bug]: Put <details> into remark and with <code> content make strange display
[Bug]: Put <details> into remarks with <code>, the display content has strange display
Sep 12, 2024
Flithor
changed the title
[Bug]: Put <details> into remarks with <code>, the display content has strange display
[Bug]: Put <details> into remarks with <code>, the display of content is looks strange
Sep 12, 2024
Describe the bug
the example api documentation
And I got this:
ther part in json is this:
Test OpenApi on swagger-ui test see here: swagger-api/swagger-ui#4977 (comment)
The workaround:
Put some text before
<details>
, and add<br/>
before and after<code>...</code>
And looks fine:
The text was updated successfully, but these errors were encountered: