The following link contains an example at the bottom, that starts with "openapi: 3.0.0".
If I paste that example into https://editor.swagger.io/, why is it throwing an error at line 8? If that's normal or correct, how is the documented example supposed to be used?
Go to Solution.
I have fixed the example in the docs - the error was that the "servers" definition was missing the "url" key:
- url: https://hooks.slack.com
The GitHub repository is the recommended place to report issues with swagger.io docs, but we monitor this forum as well.
View solution in original post
Not sure if this was the right forum, so posted also/instead at https://github.com/swagger-api/swagger.io/issues/269