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 Raghotham Murthy
parent 7545e6f669
commit ae9e1c80b5
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(