TypeExtension isn't available to configurable rules #1223
Labels
configurable rules
governance
Issues relating to problems with or requests for API governance/linting/decorating
p2
Type: Bug
Something isn't working
Describe the bug
I used a custom plugin and added a new type to my type tree. I expected to be able to use the type as a subject in a configurable rule, but I get the error ``type
can be one of the following only: "any", "Root", "Tag", "TagList", ...
as if my new type isn't available. I think the type is correctly added because the `spec` rule picks up if the structure of the data isn't correct.To Reproduce
Steps to reproduce the behavior:
plugins/type-extension.js
that contains the following code:redocly.yaml
fileredocly lint openapi.yaml
Expected behavior
I want to be able to write a configurable rule that uses the new type.
Redocly Version(s)
1.0.0
Node.js
Version(s)v16.20.0
The text was updated successfully, but these errors were encountered: