github.com/docker/docker@v299999999.0.0-20200612211812-aaf470eca7b5+incompatible/hack/generate-swagger-api.sh (about)

     1  #!/bin/sh
     2  set -eu
     3  
     4  swagger generate model -f api/swagger.yaml \
     5  	-t api -m types --skip-validator -C api/swagger-gen.yaml \
     6  	-n ErrorResponse \
     7  	-n GraphDriverData \
     8  	-n IdResponse \
     9  	-n ImageDeleteResponseItem \
    10  	-n ImageSummary \
    11  	-n Plugin -n PluginDevice -n PluginMount -n PluginEnv -n PluginInterfaceType \
    12  	-n Port \
    13  	-n ServiceUpdateResponse \
    14  	-n Volume
    15  
    16  swagger generate operation -f api/swagger.yaml \
    17  	-t api -a types -m types -C api/swagger-gen.yaml \
    18  	-T api/templates --skip-responses --skip-parameters --skip-validator \
    19  	-n Authenticate \
    20  	-n ContainerChanges \
    21  	-n ContainerCreate \
    22  	-n ContainerTop \
    23  	-n ContainerUpdate \
    24  	-n ContainerWait \
    25  	-n ImageHistory \
    26  	-n VolumeCreate \
    27  	-n VolumeList