sway: ptr must be a JSON Pointer

Not sure what is going on over here. I have double checked and the references are correct. Not sure why sway (or json-refs internally) is not able to resolve the references.

The reference in question in the swagger spec and the referenced relative-remote file is here

Note: I did provide the raw-github urls… Using the actual links in the above statement so that I can point to the line numbers.

Errors received

[ { code: 'UNRESOLVABLE_REFERENCE',
       message: 'Reference could not be resolved: ../examples/RelationshipsDelete.json',
       path:
        [ 'paths',
          '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/relationships/{relationshipName}',
          'delete',
          'x-ms-examples',
          'Relationships_Delete',
          '$ref' ],
       error: 'ptr must be a JSON Pointer' },
     { code: 'UNRESOLVABLE_REFERENCE',
       message: 'Reference could not be resolved: ../examples/RelationshipLinksDelete.json',
       path:
        [ 'paths',
          '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/relationshipLinks/{relationshipLinkName}',
          'delete',
          'x-ms-examples',
          'RelationshipLinks_Delete',
          '$ref' ],
       error: 'ptr must be a JSON Pointer' } ]

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 22 (12 by maintainers)

Most upvoted comments

I’m hoping within a few days.