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

SwaggerEditor@next: double scrollbar in validation pane #3625

Closed
char0n opened this issue Nov 8, 2022 · 1 comment
Closed

SwaggerEditor@next: double scrollbar in validation pane #3625

char0n opened this issue Nov 8, 2022 · 1 comment

Comments

@char0n
Copy link
Member

char0n commented Nov 8, 2022

Q&A (please complete the following information)

image

Example Swagger/OpenAPI definition:

openapi: 3.1.0
info:
  title: deref
  version: 1.0.0
servers:
  - description: local
    url: http://localhost:8082/
paths:
  /a:
    get:
      operationId: aget
      parameters:
        - $ref: '#/components/parameters/userId'
    post:
      operationId: apost
  /b:
    get:
      operationId: bget
      parameters:
        - $ref: '#/components/parameters/userId'
    post:
      operationId: bpost
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/foo'
components:
  links: 
    test1: 
      $ref: 'http://example.com'
      test: 3
  schemas:
    foo:
      type: string
    bar:
      $id: http://localhost:8082/
      type: string
  parameters:
    userId:
      $ref: '#/components/parameters/indirection1'
      description: override
    indirection1:
      $ref: '#/components/parameters/indirection2'
      summary: indirect summary
    indirection2:
      $ref: '#/components/parameters/userIdRef'
      summary: indirect summary
    userIdRef:
      name: userId
      in: query
      description: ID of the user
      required: true
    externalRef:
      $ref: ./ex.json#/externalParameter
      description: another ref

Describe the bug you're encountering

I see double scrollbars in validation pane

Expected behavior

No double scrollbars in validation pane

Screenshots

image

@char0n
Copy link
Member Author

char0n commented Jun 20, 2023

Closed by #4234

@char0n char0n closed this as completed Jun 20, 2023
swagger-bot pushed a commit that referenced this issue Jun 30, 2023
# [5.0.0-alpha.66](v5.0.0-alpha.65...v5.0.0-alpha.66) (2023-06-30)

### Bug Fixes

* **layout:** remove double-scrollbar in validation pane ([#4234](#4234)) ([456091b](456091b)), closes [#3625](#3625)
* **monaco-language-apidom:** fix regression in DocumentSymbolProvider ([#4250](#4250)) ([490c11e](490c11e))

### Features

* **editor-monaco:** add informative display of linting issues ([#4235](#4235)) ([23b4f40](23b4f40))
* **preview-asyncapi:** translate parser errors to monaco editor markers ([#4231](#4231)) ([f8b5e79](f8b5e79)), closes [#3871](#3871)

### Performance Improvements

* **preview-swagger-ui:** improve OpenAPI 3.1 rendering performance ([#4220](#4220)) ([c69e867](c69e867))
swagger-bot pushed a commit that referenced this issue Jul 17, 2023
# [5.0.0-alpha.68](v5.0.0-alpha.67...v5.0.0-alpha.68) (2023-07-17)

### Bug Fixes

* **editor-content-fixtures:** amend OpenAPI 3.1 Petstore fixture ([#4278](#4278)) ([e12b861](e12b861))
* fix critial bug in OpenAPI 3.1.0 resolution ([#4276](#4276)) ([6fec9ad](6fec9ad))
* **layout:** allow scrolling within validation table ([#4277](#4277)) ([a54403d](a54403d)), closes [#3625](#3625)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant