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
Manually curate the generated models, ensuring that they are complete and correct; also check the DRS specification for any constraints described in plain text (e.g., in the description properties of the OpenAPI models), as these will generally not be considered during code generation
There is some incompatibility issue between the generator and the yaml file, given the model generation command, it stopped in error state, add gave a hint to bypass validation. So maybe use in the code a Java class instead of type string 🤔
The error: -attribute tags.description is not of type 'string'
The used command: ./utils/build_models.sh https://raw.githubusercontent.com/ga4gh/data-repository-service-schemas/refs/heads/master/openapi/data_repository_service.openapi.yaml drs lib/src/clients/drs
Work around could be to add the flag --skip-validate-spe to the open API generator openapi-generator-cli generate in the script build_models.sh to generate models. That generates some files.
Add the necessary models for supporting the GA4GH Data Registry Service (DRS) API, version 1.4.0.
This issue requires addressing the following steps:
./lib/src/clients/drs
folder for the DRS SDK clientas_str
method in./lib/src/clients/mod.rs
description
properties of the OpenAPI models), as these will generally not be considered during code generationAdditional context
The text was updated successfully, but these errors were encountered: