redocly-vs-code icon indicating copy to clipboard operation
redocly-vs-code copied to clipboard

Too much spaces in autocomplete

Open AlexVarchuk opened this issue 3 years ago • 0 comments

What happened? When adding a new key to the operation autocompletes added too much spaces.

What should have happened instead?

https://user-images.githubusercontent.com/14113673/190604965-a4142cc2-b07b-4c6c-b40f-89c175d6ce73.mov

Minimal reproducible OpenAPI snippet

  /user:
    post:
      tags:
        - user
      summary: Create user
      description: This can only be done by the logged in user.
      operationId: createUser
      responses:
        default:
          description: successful operation
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/User'
        description: Created user object
        required: true

AlexVarchuk avatar Sep 16 '22 09:09 AlexVarchuk