mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
swagger: Disable ImageSummary model generation
Our version of go-swagger doesn't handle the `omitempty` correctly for the new field. Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
This commit is contained in:
@@ -26,8 +26,9 @@ swagger generate model -f api/swagger.yaml \
|
||||
|
||||
swagger generate model -f api/swagger.yaml \
|
||||
-t api -m types/image --skip-validator -C api/swagger-gen.yaml \
|
||||
-n ImageDeleteResponseItem \
|
||||
-n ImageSummary
|
||||
-n ImageDeleteResponseItem
|
||||
#-n ImageSummary TODO: Restore when go-swagger is updated
|
||||
# See https://github.com/moby/moby/pull/47526#discussion_r1551800022
|
||||
|
||||
swagger generate model -f api/swagger.yaml \
|
||||
-t api -m types/network --skip-validator -C api/swagger-gen.yaml \
|
||||
|
||||
Reference in New Issue
Block a user