Skip to content

Conversation

@theAnuragMishra
Copy link

Description

Changes proposed in this pull request:

  • the current implementation of SchemaProperties component skips and returns null if properties is undefined which shows no patternProperties even if they are present
  • this pr converts properties and patternProperties to empty objects in case they are undefined. If there's nothing to show, Object.entries maps nothing and nothing is rendered which is desired.
  • this fixes the bug where patternProperties is omitted when properties is undefined.

Related issue(s)
closes #1197

@sonarqubecloud
Copy link

sonarqubecloud bot commented Jan 3, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

patternProperties is ignored when properties is absent

1 participant