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

attribute definitions.Dummy.externalDocs is unexpected #97

Open
maechler opened this issue Dec 12, 2016 · 1 comment
Open

attribute definitions.Dummy.externalDocs is unexpected #97

maechler opened this issue Dec 12, 2016 · 1 comment

Comments

@maechler
Copy link

The online validator is throwing an error on the attribute externalDocs on an entity definition, although it is explicitly allowed by the spec: http://swagger.io/specification/#schemaObject

I have an online example to show that issue: http://www.bit9.ch/apiplatform.json

http://online.swagger.io/validator/debug?url=http://www.bit9.ch/apiplatform.json

{
  "messages": [
    "attribute definitions.Dummy.externalDocs is unexpected",
    "attribute definitions.Dummy_be35824b9d92d1dfc6f78fe086649b8f.externalDocs is unexpected"
  ]
}

I also tested it with the release 1.0.4 locally, having the same result.

@brendo
Copy link

brendo commented Jan 19, 2017

I have also encountered this issue. The same schema subsequently passed the swagger-tools validator CLI though.

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