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
I am trying to use spectral plugin in IntelliJ IDE and also in JetRider. I added the plugin though the market place.
I have added the spectral rule set ( with fully qualified path).
and within the .spectral.yaml file, I have ruleset defined in gitlab.
main openapi.yaml has other reference yaml files under examples, headers, models, parameters, responses. and referred in openapi.yaml.
I would expect that once spectral plugin setting is done, all linting error should come under problems on API specification typing/save. but it does not come. Is there something else needed to view the linting errors. This problem is same in Intellij and JetRider.
Thanks for your response.
The text was updated successfully, but these errors were encountered:
iamrajivgithub
changed the title
During design time, Spectral Rules are not showing up during API Specification design time
During API Specification Design time, Spectral Rules are not showing up during API Specification design time
Jan 18, 2024
iamrajivgithub
changed the title
During API Specification Design time, Spectral Rules are not showing up during API Specification design time
During API Specification Design time, Spectral Rules are not showing up under problems in IDEs/JetRider
Jan 18, 2024
From my observations....this is a problem with "Included path patterns" config param....if you put "**/*openapi.yaml" as first path the .yaml files will be linted....but .json and .yml will not.
workaround: put "**/*{openapi,swagger}.{json,yml,yaml}" in "Included path patterns" param
I have the same problem, with the IntelliJ Plugin. The settings are as follows, but there are not error showing up within the IDE itself. Everything else works fine, when you run the CLI, the error are showing properly, but unfortunately this plugins doesn't do it's job.
Hi ,
Greetings for today.
I am trying to use spectral plugin in IntelliJ IDE and also in JetRider. I added the plugin though the market place.
I have added the spectral rule set ( with fully qualified path).
and within the .spectral.yaml file, I have ruleset defined in gitlab.
main openapi.yaml has other reference yaml files under examples, headers, models, parameters, responses. and referred in openapi.yaml.
I would expect that once spectral plugin setting is done, all linting error should come under problems on API specification typing/save. but it does not come. Is there something else needed to view the linting errors. This problem is same in Intellij and JetRider.
Thanks for your response.
The text was updated successfully, but these errors were encountered: