replaced guids with a ref

This commit is contained in:
JasonLandbridge
2025-06-03 13:42:56 +02:00
parent 170f39cb80
commit 315ef8fd2f
5 changed files with 30 additions and 38 deletions

View File

@@ -0,0 +1,25 @@
type: object
properties:
Guid:
x-speakeasy-name-override: guids
type: array
items:
type: object
required:
- id
properties:
id:
type: string
description: |
The unique identifier for the Guid. Can be prefixed with imdb://, tmdb://, tvdb://
pattern: "^(imdb|tmdb|tvdb)://.+$"
example:
imdbExample:
summary: IMDB example
value: imdb://tt13015952
tmdbExample:
summary: TMDB example
value: tmdb://2434012
tvdbExample:
summary: TVDB example
value: tvdb://7945991

View File

@@ -1,10 +1,8 @@
type: object
required:
- image
description: "The URL for the rating image, for example from IMDb."
properties:
image:
type: string
description: "The URL for the rating image, for example from IMDb."
example: "imdb://image.rating"