rapi-doc / RapiDoc

RapiDoc -WebComponent for OpenAPI Spec
https://rapidocweb.com
MIT License
1.71k stars 285 forks source link

Long summaries are truncated after first dot symbol. #933

Closed sokod closed 2 months ago

sokod commented 1 year ago

It is possible to display a long summary in full without truncating it?

mrin9 commented 2 months ago

In RapiDoc, Summaries are used in tight spaces such as Nav Items and for operation headings in view mode. Therefore RapiDoc expects them to be one liner which make sense. therefore it truncates them after the first sentence (after dot)

If you have long summaries consider using the description or if you have a use case where if must show the entire summary even though it may look little off space then do not use dots in the summary. But the current behavior is something our clients thinks is a good trade off between flexibility and simplicity