swagger-api / swagger.io-docs

The content of swagger.io
https://swagger.io/docs/
1.56k stars 400 forks source link

`externalDocs` property is not part of `info` object #314

Closed rgxcp closed 3 years ago

rgxcp commented 3 years ago

OpenAPI Version

3.0

Description

According the API General Info specification from this link https://swagger.io/docs/specification/api-general-info/, you can add externalDocs property inside the info object. I've checked and tested it, it doesn't work and gave me an error.

externalDocs property must live in the root object, not in the info object.

hkosova commented 3 years ago

Thanks for the bug report! This issue is tracked in #232 so I'll close this one as a duplicate.