Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

does not render html objects in the published version on parameter object of Open Api document #2578

Open
diecaosrixsus opened this issue Nov 21, 2024 · 0 comments
Labels

Comments

@diecaosrixsus
Copy link

Bug description

When I generate a space that has an Open Api 3.0.0 document and add an Html Tag within the description property of the parameters object, it is rendered in the unpublished version, but it is not displayed in the published version. Images are added that show the behavior.

How to reproduce

"parameters": [
          {
            "in": "header",
            "name": "x-signature",
            "required": true,
            "description": "SHA-256 encrypted signature, <a target='_blank' style='display: inline-block; background-color: #bddbbd; color: black; padding: .125rem .25rem; border-radius: .25rem; text-decoration: none; font-size: 12px; font-weight: 700;' href='../security#security'>See security page</a>",
            "schema": {
              "type": "string"
            },
            "example": "sha256=abc123def456"
          }
        ],

Additional context

unpublished version:

imagen

published version:

imagen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant