If Swagger content is using the External Documentation Object, the HTML formatting isn’t correct in AEM Sites:
Swagger Version : 2.0
Example Codeblock in the Guides concpet :
{
"openapi": "3.0.1",
"servers": [
{
"url": "https:google.com",
"description": "Generated server url"
}
],
"tags": [
{
"name": "Search",
"description": "Search Here.",
"externalDocs": {
"description": "Click here to search.",
"url": "google.com"
}
}]
}