validator-badge icon indicating copy to clipboard operation
validator-badge copied to clipboard

attribute definitions.Dummy.externalDocs is unexpected

Open maechler opened this issue 7 years ago • 1 comments

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.

maechler avatar Dec 12 '16 07:12 maechler

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

brendo avatar Jan 19 '17 12:01 brendo