-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid Syntax in includeResultsetResponses
#136
Comments
Hi Daniel Please do the PR. |
@jordi @datsirul While in principle it is great to spot & correct this, the overarching question we had previously was about maintaining the OpenAPI documents at all. In the Ascona developer session the conclusion was basically that:
... just paraphrasing & YMMV on some of the arguments. But the longstanding question about ditching OpenAPI in one of the next releases should be answered (which it was) and documented as the path forward. OTOH it could be nice to keep OpenAPI docs as generated artifacts, but not as edited ones... |
|
Fixed invalid syntax in `includeResultsetResponses` #136
The endpoints that use the
includeResultsetResponses
parameter contain invalid OpenAPI syntax.These include the following files:
analyses/endpoints.yaml
biosamples/endpoints.yaml
genomicVariations/endpoints.yaml
individuals/endpoints.yaml
runs/endpoints.yaml
Existing Syntax:
Corrected Syntax:
As this object is a parameter definition, it should be defined as a
parameter
object in the OpenAPI specification. The correct syntax should be:Reference:
OpenAPI Specification - Describing Parameters
Note:
After fixing the
.yaml
files, the.json
should be fixed as well by running the schema conversion script located in the bin folder.The text was updated successfully, but these errors were encountered: