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
Describe the bug
This issue is a duplicate of issue 1150 which was closed as fixed. The description of a tag renders incorrectly. Headers are duplicated. Only the first header is used as an anchor for the sidebar.
This issue isn't present in redoc-cli@0.13.3 but is present in redoc-cli@0.13.5 and later.
Expected behavior
See the screenshot from 0.13.3.
Minimal reproducible OpenAPI snippet(if possible)
A snippet I used for the screenshots:
openapi: 3.1.0
servers:
- url: http://server.com
description: the server
info:
title: Issue
version: 1.0.0
description: minimum spec
tags:
- name: Example
description: >-
This section describes things.
## A
A text.
<SchemaDefinition schemaRef="#/components/schemas/model"/>
## B
B text.
<SchemaDefinition schemaRef="#/components/schemas/model"/>
## C
C text.
<SchemaDefinition schemaRef="#/components/schemas/model"/>
components:
schemas:
model:
type: object
properties:
value:
type: string
description: a value
pattern: >-
[ \r\n\t\S]+
Screenshots redoc-cli@0.13.3 (Works as expected)
redoc-cli@0.13.5 (Duplicated headers)
The text was updated successfully, but these errors were encountered:
Describe the bug
This issue is a duplicate of issue 1150 which was closed as fixed. The
description
of atag
renders incorrectly. Headers are duplicated. Only the first header is used as an anchor for the sidebar.This issue isn't present in
redoc-cli@0.13.3
but is present inredoc-cli@0.13.5
and later.Expected behavior
See the screenshot from
0.13.3
.Minimal reproducible OpenAPI snippet(if possible)
A snippet I used for the screenshots:
Screenshots
redoc-cli@0.13.3
(Works as expected)redoc-cli@0.13.5
(Duplicated headers)The text was updated successfully, but these errors were encountered: