Skip to content
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

Schema urgent fixes to main: type => set type and definitions -> $defs #183

Merged
merged 61 commits into from
Dec 12, 2024

Conversation

costero-e
Copy link
Collaborator

Opening the official push of the last schema urgent fixes to main, just to take the initiative. We will need to find in which milestone we suit this and tag it before merging.

costero-e and others added 30 commits July 10, 2024 14:12
The OpenAPI `endpoints` files included a number of leftover or potentially misleading descripions, e.g.:
* "get a list of..." as description for responses, although responses depend on granularity and delivered in different Beacon response schemas
* frequent use of "variant" instead "variation"
* some wrong labels (e.g. C&P errors or leftover "examples" response)

Additionally the leftover commented lines from the yamlerRunner have been removed.
* clarifications, rewording, example
* no schema changes
This aligns the use of the "definitions" parameter to the "$defs" keyword as required from https://json-schema.org/draft/2020-12/schema

Editing of the YAML files with conversion... Additional changes include a change in the beaconYamler.py utility (use of system Python instead of fixed path) and a few updates of json files due to previous manual editing and now re-arranged parameter order after autoconversion from yaml.
This addresses #159 - see comments there.
Changelog updated with 2.1.1 milestone
…gTerms-definitions

remove conflicting specifications in filteringTerms
This fixes a well hidden example. Thanks to @Deepthi-v-s for #177
This commit re-writes some of the root descriptions of the response type schemas (mostly) into slightly more verbose and formatted texts. Besides the "documentation is good" paradigm one reason is the intended use of these for generating documentation pages - see the (under construction) rendering at https://bycon.progenetix.org/generated/beacon-responses/
mbaudis and others added 25 commits November 24, 2024 20:36
Adding links in changelog to point to each of the beacon v2 versions
fix invalid aCollectionOf property definition
Invalid Syntax in `beaconErrorResponse.yaml` #135
Fixed invalid syntax in `examples` #140
Fixed invalid syntax in `securityLevels` #137
Fixed invalid syntax in `includeResultsetResponses` #136
Fixed invalid Syntax in `filtering_terms` response #138
@costero-e costero-e added this to the 2.1.1 milestone Dec 12, 2024
@gsfk gsfk self-requested a review December 12, 2024 16:42
@costero-e costero-e merged commit e7ca12a into main Dec 12, 2024
1 check passed
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.

7 participants