Browse code

Merge pull request #41267 from thaJeztah/swagger_fix_buildcache_types

Brian Goff authored on 2020/07/28 04:02:53
Showing 3 changed files
... ...
@@ -1908,12 +1908,24 @@ definitions:
1908 1908
       Shared:
1909 1909
         type: "boolean"
1910 1910
       Size:
1911
+        description: |
1912
+          Amount of disk space used by the build cache (in bytes).
1911 1913
         type: "integer"
1912 1914
       CreatedAt:
1913
-        type: "integer"
1915
+        description: |
1916
+          Date and time at which the build cache was created in
1917
+          [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format with nano-seconds.
1918
+        type: "string"
1919
+        format: "dateTime"
1920
+        example: "2016-08-18T10:44:24.496525531Z"
1914 1921
       LastUsedAt:
1915
-        type: "integer"
1922
+        description: |
1923
+          Date and time at which the build cache was last used in
1924
+          [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format with nano-seconds.
1925
+        type: "string"
1926
+        format: "dateTime"
1916 1927
         x-nullable: true
1928
+        example: "2017-08-09T07:09:37.632105588Z"
1917 1929
       UsageCount:
1918 1930
         type: "integer"
1919 1931
 
... ...
@@ -1815,12 +1815,24 @@ definitions:
1815 1815
       Shared:
1816 1816
         type: "boolean"
1817 1817
       Size:
1818
+        description: |
1819
+          Amount of disk space used by the build cache (in bytes).
1818 1820
         type: "integer"
1819 1821
       CreatedAt:
1820
-        type: "integer"
1822
+        description: |
1823
+          Date and time at which the build cache was created in
1824
+          [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format with nano-seconds.
1825
+        type: "string"
1826
+        format: "dateTime"
1827
+        example: "2016-08-18T10:44:24.496525531Z"
1821 1828
       LastUsedAt:
1822
-        type: "integer"
1829
+        description: |
1830
+          Date and time at which the build cache was last used in
1831
+          [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format with nano-seconds.
1832
+        type: "string"
1833
+        format: "dateTime"
1823 1834
         x-nullable: true
1835
+        example: "2017-08-09T07:09:37.632105588Z"
1824 1836
       UsageCount:
1825 1837
         type: "integer"
1826 1838
 
... ...
@@ -1874,12 +1874,24 @@ definitions:
1874 1874
       Shared:
1875 1875
         type: "boolean"
1876 1876
       Size:
1877
+        description: |
1878
+          Amount of disk space used by the build cache (in bytes).
1877 1879
         type: "integer"
1878 1880
       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"
1880 1887
       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"
1882 1893
         x-nullable: true
1894
+        example: "2017-08-09T07:09:37.632105588Z"
1883 1895
       UsageCount:
1884 1896
         type: "integer"
1885 1897