You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Welcome to AsyncAPI. Thanks a lot for reporting your first issue. Please check out our contributors guide and the instructions about a basic recommended setup useful for opening a pull request. Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.
@mxr576 the library you linked does not support JSON Schema draft 7 which the documents are written in, you need to down grade the schema before using the validator.
Describe the bug
I am building a validator in PHP based on https://github.com/justinrainbow/json-schema and that package and PHP in general turned out to be more strict regarding schema validation than Javascript. Therefore I have a strong gut feeling that the issue that the above-mentioned library reports when it tries to validate https://github.com/asyncapi/spec/blob/v2.6.0/examples/streetlights-kafka.yml on https://github.com/asyncapi/spec-json-schemas/blob/v6.4.0/schemas/2.6.0-without-%24id.json are in the schema definitions and not bugs in the validator.
By making the following dummy changes to JSON schema, these reported issue goes away.
Every occurrence of
"items": true
in an array type should be audited and fixed properly.How to Reproduce
Steps to reproduce the issue. Attach all resources that can help us understand the issue:
Expected behavior
A clear and concise description of what you expected to happen.
The text was updated successfully, but these errors were encountered: