Skip to content

OpenAPI 3.1.0 support: inconsistent dereferencing when editing in SwaggerEditor@5 #8687

Open
@char0n

Description

@char0n

Steps to Reproduce
If editing the spec, e.g. removing the "d" from value of description on line 12, ref gets rendered as a ref string, and not anymore as the resolved ref.

openapi: 3.1.0
info:
  title: Swagger Petstore - OpenAPI 3.1
  version: '1.0'
components:
  schemas:
    Order:
      type: object
      properties:
        user:
          $ref: '#/components/schemas/User'
          description: child
          maxProperties: 2
    User:
      type: object
      description: parent
      maxProperties: 3
      properties:
        id:
          type: integer
          format: int64
          example: 10
        username:
          type: string
          example: theUser

Actual
image (18) (1)

Expected
image (17) (2)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions