diff yaml/nginx_api.yaml @ 2493:407147d8020f

Documented 413 error for PATCH and POST methods in the API.
author Yaroslav Zhuravlev <yar@nginx.com>
date Thu, 19 Dec 2019 16:29:20 +0300
parents 98fd810c13e0
children 78d4e25adf49
line wrap: on
line diff
--- a/yaml/nginx_api.yaml
+++ b/yaml/nginx_api.yaml
@@ -1031,6 +1031,10 @@ paths:
           description: Key already exists (*KeyvalKeyExists*)
           schema:
             $ref: '#/definitions/NginxError'
+        '413':
+          description: Request Entity Too Large
+          schema:
+            $ref: '#/definitions/NginxError'
         '415':
           description: JSON error (*JsonError*)
           schema:
@@ -1084,6 +1088,10 @@ paths:
           description: Method disabled (*MethodDisabled*)
           schema:
             $ref: '#/definitions/NginxError'
+        '413':
+          description: Request Entity Too Large
+          schema:
+            $ref: '#/definitions/NginxError'
         '415':
           description: JSON error (*JsonError*)
           schema:
@@ -1687,6 +1695,10 @@ paths:
           description: Key already exists (*KeyvalKeyExists*)
           schema:
             $ref: '#/definitions/NginxError'
+        '413':
+          description: Request Entity Too Large
+          schema:
+            $ref: '#/definitions/NginxError'
         '415':
           description: JSON error (*JsonError*)
           schema:
@@ -1740,6 +1752,10 @@ paths:
           description: Method disabled (*MethodDisabled*)
           schema:
             $ref: '#/definitions/NginxError'
+        '413':
+          description: Request Entity Too Large
+          schema:
+            $ref: '#/definitions/NginxError'
         '415':
           description: JSON error (*JsonError*)
           schema: