Skip to content

Only last patternProperties is used if multiple objects of allOf have it #2321

Open
@zdila

Description

@zdila

Describe the bug
Only last patternProperties is used if multiple objects of allOf have it.

To Reproduce

allOf:
  - type: object
    patternProperties:
      "^AAAAAAA_(\\w\\w)":
        type: string
  - type: object
    patternProperties:
      "^BBBBBBB_(\\w\\w)":
        type: string

Only ^BBBBBBB_(\\w\\w) will be mentioned in the generated html file.

Expected behavior

patternProperties should be merged.

Redocly Version(s)

1.0.0-beta.124

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugopenapiQuestions about specification, validity, and edge cases

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions