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
Currently, the IDE inspections are triggered indiscriminately on any YAML/JSON files matching the configured file pattern. Unfortunately, this leads to inspections on files that are not OpenAPI specifications. This makes it really awkward when working on different projects where the pattern may not be the same and it would be more convenient to use a generic file pattern like **.yaml.
It would be good if inspections could only trigger if the plugin detects that the current file is a valid OpenAPI specification e.g. if there is an openapi property, or some other heuristics. This way, we could use a more generic file pattern without getting inspection warnings in files that aren't OpenAPI specifications.
The text was updated successfully, but these errors were encountered:
Currently, the IDE inspections are triggered indiscriminately on any YAML/JSON files matching the configured file pattern. Unfortunately, this leads to inspections on files that are not OpenAPI specifications. This makes it really awkward when working on different projects where the pattern may not be the same and it would be more convenient to use a generic file pattern like
**.yaml
.It would be good if inspections could only trigger if the plugin detects that the current file is a valid OpenAPI specification e.g. if there is an
openapi
property, or some other heuristics. This way, we could use a more generic file pattern without getting inspection warnings in files that aren't OpenAPI specifications.The text was updated successfully, but these errors were encountered: