docs: API spec generation for Stainless (#3655)

# What does this PR do?
* Adds stainless-llama-stack-spec.yaml for Stainless client generation,
which comprises stable + experimental APIs

## Test Plan
* Manual generation
This commit is contained in:
Alexey Rybak 2025-10-02 09:25:09 -07:00 committed by GitHub
parent 1d02385e48
commit 24ee577cb0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 31513 additions and 2 deletions

View file

@ -948,6 +948,10 @@ class Generator:
# Include only deprecated endpoints
if deprecated:
filtered_operations.append(op)
elif self.options.stability_filter == "stainless":
# Include both stable (v1 non-deprecated) and experimental (v1alpha, v1beta) endpoints
if (stability_level == "v1" and not deprecated) or stability_level in ["v1alpha", "v1beta"]:
filtered_operations.append(op)
operations = filtered_operations
print(