-
Notifications
You must be signed in to change notification settings - Fork 105
Open
Description
Validating the current openapi 3.1 yaml throws an error "attribute components.schemas.EmbeddingResponse.items is not of type object"
This can be fixed by correcting the items attribute this part from:
EmbeddingResponse:
allOf:
- $ref: '#/components/schemas/ResponseBase'
- type: object
properties:
data:
type: array
items:
- $ref: '#/components/schemas/EmbeddingResponseData'
required:
- id
- object
- data
- model
- usage
To:
EmbeddingResponse:
allOf:
- $ref: '#/components/schemas/ResponseBase'
- type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/EmbeddingResponseData'
required:
- id
- object
- data
- model
- usage
Metadata
Metadata
Assignees
Labels
No labels