llama-stack-mirror/client-sdks/stainless
Sébastien Han 01f441b3ac
fix: duplicate union type declarations for Stainless codegen
Extract duplicate union types to shared schema references and remove
duplicate references within unions to fix Stainless duplicate declaration
warnings.

Fixes:
https://www.stainless.com/docs/reference/diagnostics#Python/DuplicateDeclaration

Signed-off-by: Sébastien Han <seb@redhat.com>
2025-11-14 09:56:44 +01:00
..
config.yml chore(stainless): add config for file header (#4126) 2025-11-12 11:39:21 -05:00
openapi.yml fix: duplicate union type declarations for Stainless codegen 2025-11-14 09:56:44 +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.