Skip to content
This repository was archived by the owner on Oct 13, 2023. It is now read-only.

Commit 81bd78b

Browse files
committed
swagger: fix type for BuildCache CreatedAt and LastUsedAt
Signed-off-by: Sebastiaan van Stijn <github@gone.nl> (cherry picked from commit 61b770a63dce5c83d63e7f28daa381b17b477a1c) Signed-off-by: Sebastiaan van Stijn <github@gone.nl> Upstream-commit: e1ae07b7a06e7fabd021939b5375da2b6b66f06d Component: engine
1 parent 820098f commit 81bd78b

1 file changed

Lines changed: 14 additions & 2 deletions

File tree

components/engine/api/swagger.yaml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1874,12 +1874,24 @@ definitions:
18741874
Shared:
18751875
type: "boolean"
18761876
Size:
1877+
description: |
1878+
Amount of disk space used by the build cache (in bytes).
18771879
type: "integer"
18781880
CreatedAt:
1879-
type: "integer"
1881+
description: |
1882+
Date and time at which the build cache was created in
1883+
[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format with nano-seconds.
1884+
type: "string"
1885+
format: "dateTime"
1886+
example: "2016-08-18T10:44:24.496525531Z"
18801887
LastUsedAt:
1881-
type: "integer"
1888+
description: |
1889+
Date and time at which the build cache was last used in
1890+
[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format with nano-seconds.
1891+
type: "string"
1892+
format: "dateTime"
18821893
x-nullable: true
1894+
example: "2017-08-09T07:09:37.632105588Z"
18831895
UsageCount:
18841896
type: "integer"
18851897

0 commit comments

Comments
 (0)