drafter icon indicating copy to clipboard operation
drafter copied to clipboard

Show a warning when a resource path does not start in a slash

Open kylef opened this issue 6 years ago • 0 comments

This is really similiar to https://github.com/apiaryio/drafter/issues/350.

Repro:

$ echo '# My Resource [realativePath]' | drafter
element: "parseResult"
content:
  -
    element: "category"
    meta:
      classes:
        element: "array"
        content:
          -
            element: "string"
            content: "api"
      title:
        element: "string"
        content: "My Resource [realativePath]"
    content: []

OK

kylef avatar Feb 06 '19 23:02 kylef