Skip to content

Conversation

apetresc
Copy link

The OpenAPI specification clearly states that the servers object is in the root, not a child of info. The examples/memory YAML gets this right, but the local_server and main .well-known ones do not.

This isn't a huge breaking problem or anything, but it does prevent tools like openapi-generator from working cleanly without passing in --skip-validate-spec. This simple change fixes it.

Closes #5. Mentioned in #201.

@apetresc
Copy link
Author

Pinging this to hopefully get some attention on it.

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

Successfully merging this pull request may close these issues.

Invalid OpenAPI YAML
1 participant