Broken JSON schema links
gokerakc opened this issue · 3 comments
Describe the bug.
There are broken links in the sns and sqs binding schemas.
You can see some of the broken links below:
- http://asyncapi.com/bindings/sns/0.1.0/operation.json#/definitions/deliveryPolicy
- https://www.asyncapi.com/bindings/sns/0.1.0/operation.json#/definitions/identifier
- http://asyncapi.com/bindings/sns/0.1.0/operation.json#/definitions/consumer
- http://asyncapi.com/bindings/sqs/0.2.0/operation.json#/definitions/policy
It seems like there is a problem with the /bindings path.
This bug affects spec-json-schemas repo (I've also created a similar issue there: asyncapi/spec-json-schemas#493).
Expected behavior
Links should return schemas.
Screenshots
How to Reproduce
- Click the link
- Get a 404 response
🥦 Browser
Google Chrome
👀 Have you checked for similar open issues?
- I checked and didn't find similar issue
🏢 Have you read the Contributing Guidelines?
- I have read the Contributing Guidelines
Are you willing to work on this issue ?
None
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.
@gokerakc Getting 404 Error means it is not getting the operation.json
file and I think we have to make that operation.json file to handle the routes.
Hey @Vishal2002!
I guess external ref links are not needed at all because we already have the definition of the properties within the same file.
For example, the definition of the deliveryPolicy exists here but somehow ref items (here) use a broken link instead of pointing to that definition.
I'll update the JSON schema to fix the issue and close this one since the problem is not related to the website repo.