Parameter defines it's own reference property
jonaslagoni opened this issue ยท 7 comments
Describe the bug
Similar to #164 we have a problem with parameter
defining it's own reference property:
spec-json-schemas/schemas/2.3.0.json
Line 554 in a8a5583
Expected behavior
Parameters should use:
"additionalProperties": {
"oneOf": [{"$ref": "#/definitions/parameter"}, {"$ref": "#/definitions/Reference"}]
},
This issue has been automatically marked as stale because it has not had recent activity ๐ด
It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation.
There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model.
Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here.
Thank you for your patience โค๏ธ
This issue has been automatically marked as stale because it has not had recent activity ๐ด
It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation.
There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model.
Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here.
Thank you for your patience โค๏ธ
@jonaslagoni just to clarify the scope.
what you mean is basically:
- remove https://github.com/asyncapi/spec-json-schemas/blob/master/definitions/2.5.0/parameter.json#L21
- modify https://github.com/asyncapi/spec-json-schemas/blob/master/definitions/2.5.0/parameters.json#L3 so it looks like https://github.com/asyncapi/spec-json-schemas/blob/master/definitions/2.5.0/servers.json#L4 where
$ref
isoneOF
right?
Yep ๐
Hi, I get the message on hacktoberfest.com that the repository is not participating in Hacktoberfest 2022. @derberg Can you please confirm? Thanks
@mastdev we definitely are. It was maybe because hacktoberfest
topic on the repo was missing. But as you can see, proper label is there. You can pick it up. It is a nice learning if you did not know JSON Schema before.
๐ This issue has been resolved in version 4.0.1 ๐
The release is available on:
Your semantic-release bot ๐ฆ๐