Skip to content

Commit

Permalink
api/schema: Reference ai api file iwthout ./
Browse files Browse the repository at this point in the history
  • Loading branch information
victorges committed Sep 13, 2024
1 parent 41e7b11 commit e9adb58
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/api/src/schema/api-schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ tags:
description: Operations related to tasks api
- name: generate
description: Operations related to AI generate api
$ref: "./ai-api-schema.yaml"
$ref: "ai-api-schema.yaml"
components:
securitySchemes:
apiKey:
Expand Down
10 changes: 5 additions & 5 deletions packages/api/src/schema/db-schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1456,11 +1456,11 @@ components:
- segment-anything-2
request:
oneOf:
- $ref: "./ai-api-schema.yaml#/components/schemas/TextToImageParams"
- $ref: "./ai-api-schema.yaml#/components/schemas/Body_genImageToImage"
- $ref: "./ai-api-schema.yaml#/components/schemas/Body_genImageToVideo"
- $ref: "./ai-api-schema.yaml#/components/schemas/Body_genUpscale"
- $ref: "./ai-api-schema.yaml#/components/schemas/Body_genSegmentAnything2"
- $ref: "ai-api-schema.yaml#/components/schemas/TextToImageParams"
- $ref: "ai-api-schema.yaml#/components/schemas/Body_genImageToImage"
- $ref: "ai-api-schema.yaml#/components/schemas/Body_genImageToVideo"
- $ref: "ai-api-schema.yaml#/components/schemas/Body_genUpscale"
- $ref: "ai-api-schema.yaml#/components/schemas/Body_genSegmentAnything2"
statusCode:
type: integer
description: HTTP status code received from the AI gateway
Expand Down

0 comments on commit e9adb58

Please sign in to comment.