Skip to content

OAS 3.0: Odd animation when expanding callbacks #3450

@hkosova

Description

@hkosova

Version: ft/oas3 branch

The first time the "Callbacks" section is expanded or collapsed, the animation behaves oddly.

callback-animation

Steps to reproduce:

  1. Load the spec below into the UI.
  2. Expand the POST.
  3. Switch to the Callbacks tab.
  4. Expand the callback.
  5. Collapse the callback.
openapi: 3.0.0
info:
  title: A simple webhook subscription
  version: 1.0.0
paths:
  /subscribe:
    post:
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                url:
                  type: string
                  format: uri
      responses:
        '201':
          description: Created subscription to webhook
      callbacks:
        mainHook:
          '$request.body#/url':
            post:
              responses:
                '200':
                  description: webhook successfully processed

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions