From 61b770a63dce5c83d63e7f28daa381b17b477a1c Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Mon, 27 Jul 2020 12:10:44 +0200 Subject: [PATCH] swagger: fix type for BuildCache CreatedAt and LastUsedAt Signed-off-by: Sebastiaan van Stijn --- api/swagger.yaml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/api/swagger.yaml b/api/swagger.yaml index 1f06db83b4..2115bc73d3 100644 --- a/api/swagger.yaml +++ b/api/swagger.yaml @@ -1908,12 +1908,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"