summaryrefslogtreecommitdiff
path: root/hack
diff options
context:
space:
mode:
authorSebastiaan van Stijn <thaJeztah@users.noreply.github.com>2023-05-04 19:48:40 +0200
committerGitHub <noreply@github.com>2023-05-04 19:48:40 +0200
commit8a4b095a94d57288ab5be58d2abdb7b84309b508 (patch)
tree291a31c23ff77922da31646630e962899c4d30f2 /hack
parent0e8eea5a70ffce61f391ec9e9bc8324e6e42ff49 (diff)
parent66cf0e3f5575cace57219607d042cc1c4cd536d2 (diff)
downloaddocker-8a4b095a94d57288ab5be58d2abdb7b84309b508.tar.gz
Merge pull request #45353 from thaJeztah/api_container_change_type
api/types/container: create type for changes endpoint
Diffstat (limited to 'hack')
-rwxr-xr-xhack/generate-swagger-api.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/hack/generate-swagger-api.sh b/hack/generate-swagger-api.sh
index 8a4832cbde..d5032178e5 100755
--- a/hack/generate-swagger-api.sh
+++ b/hack/generate-swagger-api.sh
@@ -20,7 +20,9 @@ swagger generate model -f api/swagger.yaml \
-t api -m types/container --skip-validator -C api/swagger-gen.yaml \
-n ContainerCreateResponse \
-n ContainerWaitResponse \
- -n ContainerWaitExitError
+ -n ContainerWaitExitError \
+ -n ChangeType \
+ -n FilesystemChange
swagger generate model -f api/swagger.yaml \
-t api -m types/volume --skip-validator -C api/swagger-gen.yaml \
@@ -32,7 +34,6 @@ swagger generate operation -f api/swagger.yaml \
-t api -a types -m types -C api/swagger-gen.yaml \
-T api/templates --skip-responses --skip-parameters --skip-validator \
-n Authenticate \
- -n ContainerChanges \
-n ContainerTop \
-n ContainerUpdate \
-n ImageHistory