Skip to content

Level1Items or Level1items #2700

@gilzow

Description

@gilzow

Describe the bug
When attempting to verify my config file with redocly check-config it states:

❯ redocly --version
1.34.4
❯ redocly check-config

[1] .redocly.yaml:56:9 at #/theme/openapi/theme/sidebar/level1Items

Property `level1Items` is not expected here.

Did you mean: level1items ?

54 |   groupItems:
55 |     textTransform: 'none'
56 |   level1Items:
57 |     textTransform: 'none'
58 | rightPanel:

Error was generated by the configuration spec rule.


❌ Your config has 1 error.

Expected behavior
Documents state it should be level1Items

Minimal reproducible OpenAPI snippet(if possible)
N/A

Additional context
I've inherited a project using an old version of redocly where they were passing in all configuration options as parameters. I'm working on updating the version in use, moving all config to the .redocly.yaml config file. This is the only item that is being flagged. Changing it to level1items in the config file does allow me to retrieve a "Your config is valid" status, but this seems to be inconsistent with the docs as well as other locations where this particular property is used/mentioned.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions