You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If you have a nested object with patternProperties defined, but no properties, the patternProperties definition is not shown.
Expected behavior
The patternProperties should show regardless of whether other properties have been defined on the same object.
Minimal reproducible OpenAPI snippet(if possible)
If you uncomment the definition of the hello property in the following, both hello and the patternProperties definition show as expected:
openapi: 3.1.0info:
version: 1.0.0title: Example.comservers:
- url: 'https://{tenant}/api/v1'paths:
'/users/{username}':
get:
summary: Get user by user nameresponses:
'200':
description: Successcontent:
application/json:
schema:
properties:
test:
type: object#properties:# hello:# type: integerpatternProperties:
.*:
type: integer
Screenshots patternProperties not shown:
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
If you have a nested object with
patternProperties
defined, but noproperties
, thepatternProperties
definition is not shown.Expected behavior
The
patternProperties
should show regardless of whether other properties have been defined on the same object.Minimal reproducible OpenAPI snippet(if possible)
If you uncomment the definition of the
hello
property in the following, bothhello
and thepatternProperties
definition show as expected:Screenshots
patternProperties
not shown:Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: