openapi-delphi-generator
openapi-delphi-generator copied to clipboard
Missing JSON schema type 2
Hello,
I tried to import the OpenApi schema from qdrant, a vector database to be used on OpenAI embeddings. I got an error message running the importer:
EJSchemaReaderException: Missing JSON schema type at $.components.schemas.CollectionConfig.properties.quantization_config
Thanks for any help.
That's because such property $.components.schemas.CollectionConfig.properties.quantization_config contains this specification:
"quantization_config": {
"default": null,
"anyOf": [
{
"$ref": "#/components/schemas/QuantizationConfig"
},
{
"nullable": true
}
]
}
anyOf is not currently supported by OpenAPI Delphi Generator.
Thanks for the quick response. I will study the source to check if i can contribute somehow. I´will let you know...