llama-stack-mirror/client-sdks/stainless
Sébastien Han 912ee24bdf
fix: convert anyOf with const values to enum types in OpenAPI schema
Add a post-processing step that converts anyOf schemas containing
multiple const string values into proper enum types. This fixes the
Schema/EnumDescriptionNotValid error from Stainless by ensuring enum
schemas are properly formatted instead of using anyOf with const values.

Signed-off-by: Sébastien Han <seb@redhat.com>
2025-11-14 09:56:45 +01:00
..
config.yml fix: pagination config 2025-11-14 09:56:45 +01:00
openapi.yml fix: convert anyOf with const values to enum types in OpenAPI schema 2025-11-14 09:56:45 +01:00
README.md chore: update generator script location 2025-11-14 09:56:04 +01:00

These are the source-of-truth configuration files used to generate the Stainless client SDKs via Stainless.

  • openapi.yml: this is the OpenAPI specification for the Llama Stack API.
  • config.yml: this is the Stainless configuration which instructs Stainless how to generate the client SDKs.

A small side note: notice the .yml suffixes since Stainless uses that suffix typically for its configuration files.

These files go hand-in-hand. As of now, only the openapi.yml file is automatically generated using the scripts/run_openapi_generator.sh script.