diff yaml/nginx_api.yaml @ 2501:2b494b8ff72d

Documented the "Entry exists" error in the API.
author Yaroslav Zhuravlev <yar@nginx.com>
date Wed, 12 Feb 2020 15:10:47 +0000
parents 8a9b2efa92aa
children 5280a40d933e
line wrap: on
line diff
--- a/yaml/nginx_api.yaml
+++ b/yaml/nginx_api.yaml
@@ -896,6 +896,10 @@ paths:
           description: Method disabled (*MethodDisabled*)
           schema:
             $ref: '#/definitions/NginxError'
+        '409':
+          description: Entry exists (*EntryExists*)
+          schema:
+            $ref: '#/definitions/NginxError'
         '415':
           description: JSON error (*JsonError*)
           schema:
@@ -1145,7 +1149,9 @@ paths:
           schema:
             $ref: '#/definitions/NginxError'
         '409':
-          description: Key already exists (*KeyvalKeyExists*)
+          description: |
+            Entry exists (*EntryExists*),
+            key already exists (*KeyvalKeyExists*)
           schema:
             $ref: '#/definitions/NginxError'
         '413':
@@ -1602,6 +1608,10 @@ paths:
           description: Method disabled (*MethodDisabled*)
           schema:
             $ref: '#/definitions/NginxError'
+        '409':
+          description: Entry exists (*EntryExists*)
+          schema:
+            $ref: '#/definitions/NginxError'
         '415':
           description: JSON error (*JsonError*)
           schema:
@@ -1851,7 +1861,9 @@ paths:
           schema:
             $ref: '#/definitions/NginxError'
         '409':
-          description: Key already exists (*KeyvalKeyExists*)
+          description: |
+            Entry exists (*EntryExists*),
+            key already exists (*KeyvalKeyExists*)
           schema:
             $ref: '#/definitions/NginxError'
         '413':