The linter highlights incorrect lines related to a given issue in the linted OAD. All lines seem to be offset by 1.
Steps to reproduce
- Lint the current version of the OAD example.
- Sort the list of issues by severity.
- Note the line numbers in the Lines column and check whether they correspond to the correct lines in the linted OAD.
Example 1
In the line with Code: wikimedia-response-schema-properties-description, the Lines column contains "428-436" but should contain "429-437". The corresponding highlight in the Linter Results box is also offset by 1.
Example 2
In the line with Code: oas3-valid-media-example, the Lines column contains "638-638" but should contain "639-639", or (even better) "639". The corresponding highlight in the Linter Results box is also offset by 1.
Example 3
In the line with Code: wikimedia-paths-parameter-example-exists (last warning on the sorted list), the Lines column contains "609-623" but should contain "610-624". The corresponding highlight in the Linter Results box is also offset by 1.