elements icon indicating copy to clipboard operation
elements copied to clipboard

tagged entries in left navigation are not expanded automatically

Open jschaefer77 opened this issue 2 years ago • 1 comments

Context

Current Behavior

If I use markdown links in a tagged endpoint description fields to link to other tagged endpoint, the target endpoint shows up but the the first level navigation entry does not expand automatically.

Expected Behavior

First level navigation entries should expand / unfold automatically.

Possible Workaround/Solution

no workaround possible

Steps to Reproduce

  1. Create two endpoints
  2. Tag each endpoint using another tag
  3. Link between endpoints by using a markdown link the description field

I added some images to visualize the problem.

Environment

  • Version used: 7.5.13
  • Environment name and version (e.g. Chrome 39, node.js 5.4): Tested in Chrome v99.x and Firefox 91.7.0
  • Operating System and version (desktop or mobile): desktop, windows 10 enterprise
  • Link to your environment/workspace/project Step1 step2 :

jschaefer77 avatar Apr 01 '22 06:04 jschaefer77

To reproduce. Here a simple oas example.

`openapi: 3.0.0 info: title: LinkTest version: '1.0' servers:

  • url: 'http://localhost:3000' paths: '/users/{userId}': parameters:
    • schema: type: integer name: userId in: path required: true description: Id of an existing user. get: summary: Get User Info by User ID tags:

      • user test 1 responses: '200': description: User Found content: application/json: schema: type: object examples: {} '404': description: User Not Found operationId: get-users-userId description: |- Retrieve the information of the user with the matching user ID.

      Click here to see how to create a user. /user: post: summary: Create New User operationId: post-user responses: '200': description: User Created content: application/json: schema: type: object examples: {} '400': description: Missing Required Information '409': description: Email Already Taken requestBody: content: application/json: schema: type: object examples: {} description: Post the necessary fields for the API to create a new user. description: |- Create a new user.

      Click here to see how to get a user. tags:

      • user test 2 components: schemas: {} tags:
  • name: user test 1
  • name: user test 2 `

jschaefer77 avatar Apr 01 '22 06:04 jschaefer77

This seems to be working fine now.

mnaumanali94 avatar Mar 29 '23 14:03 mnaumanali94