From 51b83ae8fb9405abcecd6647e0339995752928a0 Mon Sep 17 00:00:00 2001 From: allencloud Date: Tue, 6 Dec 2016 14:36:50 +0800 Subject: [PATCH] add 403 for endpoint network create Signed-off-by: allencloud (cherry picked from commit 0d21e24b9fb90ea804ba37af303de7547743ba2b) Signed-off-by: Victor Vieux --- api/swagger.yaml | 4 ++++ docs/api/v1.24.md | 1 + 2 files changed, 5 insertions(+) diff --git a/api/swagger.yaml b/api/swagger.yaml index d159ea9d85..13699db2c8 100644 --- a/api/swagger.yaml +++ b/api/swagger.yaml @@ -6133,6 +6133,10 @@ paths: example: Id: "22be93d5babb089c5aab8dbc369042fad48ff791584ca2da2100db837a1c7c30" Warning: "" + 403: + description: "operation not supported for pre-defined networks" + schema: + $ref: "#/definitions/ErrorResponse" 404: description: "plugin not found" schema: diff --git a/docs/api/v1.24.md b/docs/api/v1.24.md index e99a7c25f8..85c7e83acc 100644 --- a/docs/api/v1.24.md +++ b/docs/api/v1.24.md @@ -3320,6 +3320,7 @@ Content-Type: application/json **Status codes**: - **201** - no error +- **403** - operation not supported for pre-defined networks - **404** - plugin not found - **500** - server error