How's one to add hyperlinks and tables in the description? #2238
-
when adding hyperlinks or tables in the openapi description, the html syntax is url encoded such that the strings are simply text. How should one go about adding hyperlinks and tables in descriptions? I assume that's supported, but let me know if this isn't supported. for instance, this description tag in the openapi file (from zendesk's helpcenter api): /api/v2/help_center/{locale}/articles/{article_id}:
parameters:
- $ref: '#/components/parameters/OptionalLocale'
- $ref: '#/components/parameters/ArticleId'
...
delete:
operationId: ArchiveArticle
tags:
- Articles
summary: Archive Article
description: |
Archives the article. You can restore the article using the Help Center user interface. {@see <a href='https://support.zendesk.com/hc/en-us/articles/235721587'>Viewing and restoring archived articles</a>}.
Allowed for Agents
responses:
"204":
description: Default success response turns to this once compiled: /**
* {@summary Archive Article}
* Archives the article. You can restore the article using the Help Center user interface. {@see <a href='https://support.zendesk.com/hc/en-us/articles/235721587'>Viewing and restoring archived articles</a>}. #### Allowed for * Agents
*
* @param locale The locale the item is displayed in (required)
* @param articleId The unique ID of the article (required)
* @return Default success response (status code 204)
*/ I've tried using |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
@Jonathan-Zollinger Fixed it here: #2294 But I told you early - please, don't use discussions, because I forgot about it. Create an issue, if you see, that something is wrong or you have ideas for new features |
Beta Was this translation helpful? Give feedback.
-
@Jonathan-Zollinger Also want ot say: by OpenAPI specification, you can't use |
Beta Was this translation helpful? Give feedback.
@Jonathan-Zollinger Fixed it here: #2294
But I told you early - please, don't use discussions, because I forgot about it. Create an issue, if you see, that something is wrong or you have ideas for new features