Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong pointer in error when there is a duplicate key in map error #283

Closed
saharj opened this issue May 10, 2016 · 1 comment
Closed

Wrong pointer in error when there is a duplicate key in map error #283

saharj opened this issue May 10, 2016 · 1 comment

Comments

@saharj
Copy link

saharj commented May 10, 2016

With this YAML:

swagger: '2.0'

info:
  version: "0.0.0"
  title: s1

definitions:
  r1:
    type: object
  r1:
    type: object
  e1:
    type: object

paths:
  /foo:
    get:
      responses:
        204:
          description: none

I get this error:

Duplicated mapping key at line 12, column 3:
      e1:
      ^"

While it should point to on of duplicate keys.

@dervus
Copy link
Collaborator

dervus commented May 10, 2016

Dup: #243

@dervus dervus closed this as completed May 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants