mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-03 09:53:45 +00:00
chore: add deprecated to combined schema
The _filter_combined_schema function was excluding deprecated operations. I updated it to include all operations (deprecated and non-deprecated) for the combined/stainless spec, so these deprecated endpoints are now included. Signed-off-by: Sébastien Han <seb@redhat.com>
This commit is contained in:
parent
73861b504d
commit
500804f0eb
3 changed files with 70 additions and 9 deletions
|
|
@ -3460,6 +3460,38 @@ paths:
|
|||
default:
|
||||
description: Default Response
|
||||
$ref: '#/components/responses/DefaultError'
|
||||
post:
|
||||
tags:
|
||||
- Shields
|
||||
summary: Register Shield
|
||||
description: Register a shield.
|
||||
operationId: register_shield_v1_shields_post
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/_shields_Request'
|
||||
required: true
|
||||
responses:
|
||||
'200':
|
||||
description: A Shield.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Shield'
|
||||
'400':
|
||||
description: Bad Request
|
||||
$ref: '#/components/responses/BadRequest400'
|
||||
'429':
|
||||
description: Too Many Requests
|
||||
$ref: '#/components/responses/TooManyRequests429'
|
||||
'500':
|
||||
description: Internal Server Error
|
||||
$ref: '#/components/responses/InternalServerError500'
|
||||
default:
|
||||
description: Default Response
|
||||
$ref: '#/components/responses/DefaultError'
|
||||
deprecated: true
|
||||
/v1beta/datasetio/append-rows/{dataset_id}:
|
||||
post:
|
||||
tags:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue