From 9a6402d761bc88bcf2c044c90a5d685e9e2cbc98 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Mon, 27 Jul 2020 12:13:27 +0200 Subject: [PATCH] docs: API v1.39: fix type for BuildCache CreatedAt and LastUsedAt Signed-off-by: Sebastiaan van Stijn --- docs/api/v1.39.yaml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/docs/api/v1.39.yaml b/docs/api/v1.39.yaml index fa315fd5f5..2f2baa6226 100644 --- a/docs/api/v1.39.yaml +++ b/docs/api/v1.39.yaml @@ -1714,12 +1714,24 @@ definitions: Shared: type: "boolean" Size: + description: | + Amount of disk space used by the build cache (in bytes). type: "integer" CreatedAt: - type: "integer" + description: | + Date and time at which the build cache was created in + [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format with nano-seconds. + type: "string" + format: "dateTime" + example: "2016-08-18T10:44:24.496525531Z" LastUsedAt: - type: "integer" + description: | + Date and time at which the build cache was last used in + [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format with nano-seconds. + type: "string" + format: "dateTime" x-nullable: true + example: "2017-08-09T07:09:37.632105588Z" UsageCount: type: "integer"