mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-04 12:07:34 +00:00
docs: API spec generation for Stainless
This commit is contained in:
parent
1d02385e48
commit
0338b4a6eb
4 changed files with 31513 additions and 2 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue