Skip to content

patternProperties not being rendered on studio #1223

@menego

Description

@menego

Hello everybody. I do not know if this is a bug or an enhancement but in my current spec I strongly rely on patternProperties and I have noticed that the current version of the studio does not render them correctly.
e.g.:

asyncapi: 3.0.0
info:
  title: Account Service
  version: 1.0.0
components:
  schemas:
    Shadow:
      type: object
      patternProperties:
          "^service:camera:[0-9]{1,}$":
            $ref: "#/components/schemas/Camera"
    Camera:
      type: object
      properties:
        id:
          type: string
          format: uuid

is rendered as a generic Any instead of showing the underlying object spec

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions