Tonis Tiigi
|
7487dca8a5
|
docs: fix builder-version swagger
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
(cherry picked from commit 8cc0fd811e )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
|
2020-10-27 20:42:13 +01:00 |
|
Nikolay Edigaryev
|
a4e96a486f
|
swagger: fix MemTotal units in SystemInfo endpoint
MemTotal represents bytes, not kilobytes. See Linux[1] and Windows[2]
implementations.
[1]: f50a40e889/pkg/system/meminfo_linux.go (L49)
[2]: f50a40e889/pkg/system/meminfo_windows.go (L40)
Signed-off-by: Nikolay Edigaryev <edigaryev@gmail.com>
(cherry picked from commit 13e0ba700a )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
|
2020-09-14 14:37:54 +02:00 |
|
Sebastiaan van Stijn
|
9eade7d03c
|
docs: API v1.39: move system version response to definitions
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit f2cc755f66 )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
|
2020-07-28 09:36:34 +02:00 |
|
Sebastiaan van Stijn
|
ad0278f002
|
docs: API v1.39: fix type for BuildCache CreatedAt and LastUsedAt
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 9a6402d761 )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
|
2020-07-28 09:22:10 +02:00 |
|
Sebastiaan van Stijn
|
4d9397c268
|
swagger: sync updates to v1.39
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit a8b2272ab3 )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
|
2020-07-23 13:55:09 +02:00 |
|
Sebastiaan van Stijn
|
12b7746a84
|
docs: sync API v1.39 swagger formatting with current version
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 63382e5f3b )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
|
2020-07-23 13:25:33 +02:00 |
|
Sebastiaan van Stijn
|
cb5a2beaff
|
docs: add API versions v1.25 - v1.29, v1.38 - v1.40
Adding separate documents for older API versions, so that these don't have to
be collected from each tag/release branch:
- v1.40 - docker v19.03
- v1.39 - docker v18.09
- v1.38 - docker v18.06
- v1.29 - docker v17.05
- v1.28 - docker v17.04
- v1.27 - docker v17.03
- v1.26 - docker v1.13.1
- v1.25 - docker v1.13.0
Note that:
- API versions v1.30 - v1.37 are yet to be added after the tags and release-
branches from the docker/docker-ce mono-repo have been extracted.
- docker v1.13.0 made the switch from using a markdown file to using swagger
to document the API.
Approach taken:
git mv api/swagger.yaml api/swagger-current.yaml
git checkout upstream/19.03 -- api/swagger.yaml
git mv api/swagger.yaml docs/api/v1.40.yaml
git checkout v18.09.9 -- api/swagger.yaml
git mv api/swagger.yaml docs/api/v1.39.yaml
git checkout v18.06.3-ce -- api/swagger.yaml
git mv api/swagger.yaml docs/api/v1.38.yaml
git checkout v17.05.0-ce -- api/swagger.yaml
git mv api/swagger.yaml docs/api/v1.29.yaml
git checkout v17.04.0-ce -- api/swagger.yaml
git mv api/swagger.yaml docs/api/v1.28.yaml
git checkout v17.03.2-ce -- api/swagger.yaml
git mv api/swagger.yaml docs/api/v1.27.yaml
git checkout v1.13.1 -- api/swagger.yaml
git mv api/swagger.yaml docs/api/v1.26.yaml
git checkout v1.13.0 -- api/swagger.yaml
git mv api/swagger.yaml docs/api/v1.25.yaml
git mv api/swagger-current.yaml api/swagger.yaml
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 6fdbc50084 )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
|
2020-02-25 10:52:59 +01:00 |
|