From af44bea64a1b7f799a50f0509c0ae010a0405158 Mon Sep 17 00:00:00 2001 From: Nasko Vasilev Date: Thu, 12 Dec 2024 18:07:35 +0100 Subject: [PATCH] Add "format" to the "imageUrlHash" field in the OpenAPI spec because it is a 64 bit integer (https://github.com/Podcastindex-org/docs-api/issues/135) --- api_src/components/properties/imageUrlHash.yaml | 4 ++-- docs/pi_api.json | 3 ++- docs/pi_api.yaml | 3 ++- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/api_src/components/properties/imageUrlHash.yaml b/api_src/components/properties/imageUrlHash.yaml index 200ce33..2423173 100644 --- a/api_src/components/properties/imageUrlHash.yaml +++ b/api_src/components/properties/imageUrlHash.yaml @@ -1,5 +1,5 @@ # language=Markdown description: | - A CRC32 hash of the `image` URL with the protocol (`http://`, `https://`) removed. + A CRC32 hash of the `image` URL with the protocol (`http://`, `https://`) removed. 64bit integer. type: integer -example: 1639321931 +example: 3969216649 diff --git a/docs/pi_api.json b/docs/pi_api.json index da3bc19..8a3677e 100644 --- a/docs/pi_api.json +++ b/docs/pi_api.json @@ -2685,7 +2685,8 @@ "imageUrlHash": { "description": "A CRC32 hash of the `image` URL with the protocol (`http://`, `https://`) removed.\n", "type": "integer", - "example": 1639321931 + "format": "int64", + "example": 3969216649 }, "newestItemPublishTime": { "description": "The time the most recent episode in the feed was published.\n\n\nNote: some endpoints use `newestItemPubdate` while others use `newestItemPublishTime`. \nThey return the same information. See https://github.com/Podcastindex-org/api/issues/3 to track when the property name is updated.\n", diff --git a/docs/pi_api.yaml b/docs/pi_api.yaml index 92324ff..a841071 100644 --- a/docs/pi_api.yaml +++ b/docs/pi_api.yaml @@ -2620,7 +2620,8 @@ components: description: | A CRC32 hash of the `image` URL with the protocol (`http://`, `https://`) removed. type: integer - example: 1639321931 + format: int64 + example: 3969216649 newestItemPublishTime: description: | The time the most recent episode in the feed was published.