Skip to content

Error marker appears on first child instead of parent #94

@tedepstein

Description

@tedepstein

This Swagger spec includes an error on line 54, introduced by removing the leading slash from the /pets/{petId} path. The problem reported is object has properties "pets/{petId}" which are not allowed.

Within the limitations of the current validation, we would expect this error to appear on the paths property on line 7, which is the parent object having the invalid property. However, it appears on line 8, which is the first child of paths (and first sibling of the offending property).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions