From 98f027813f97da0a49513feda41bedb6986ffdb3 Mon Sep 17 00:00:00 2001 From: Niel Drummond Date: Wed, 16 Mar 2022 06:27:45 +0000 Subject: [PATCH] api: swagger: add IPAMConfig on IPAM Signed-off-by: Niel Drummond --- api/swagger.yaml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/api/swagger.yaml b/api/swagger.yaml index 28f08cc3a3..8074303215 100644 --- a/api/swagger.yaml +++ b/api/swagger.yaml @@ -2035,15 +2035,27 @@ definitions: ``` type: "array" items: - type: "object" - additionalProperties: - type: "string" + $ref: "#/definitions/IPAMConfig" Options: description: "Driver-specific options, specified as a map." type: "object" additionalProperties: type: "string" + IPAMConfig: + type: "object" + properties: + Subnet: + type: "string" + IPRange: + type: "string" + Gateway: + type: "string" + AuxiliaryAddresses: + type: "object" + additionalProperties: + type: "string" + NetworkContainer: type: "object" properties: