Open pavelnikonorov opened 2 weeks ago
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