diff yaml/nginx_api.yaml @ 2500:8a9b2efa92aa

Documented the "Method disabled" error in the API.
author Yaroslav Zhuravlev <yar@nginx.com>
date Wed, 12 Feb 2020 15:10:47 +0000
parents 20dbb29cbe05
children 2b494b8ff72d
line wrap: on
line diff
--- a/yaml/nginx_api.yaml	Mon Feb 03 17:04:41 2020 +0000
+++ b/yaml/nginx_api.yaml	Wed Feb 12 15:10:47 2020 +0000
@@ -118,6 +118,10 @@
           description: Unknown version (*UnknownVersion*)
           schema:
             $ref: '#/definitions/NginxError'
+        '405':
+          description: Method disabled (*MethodDisabled*)
+          schema:
+            $ref: '#/definitions/NginxError'
   /connections:
     get:
       tags:
@@ -157,6 +161,10 @@
           description: Unknown version (*UnknownVersion*)
           schema:
             $ref: '#/definitions/NginxError'
+        '405':
+          description: Method disabled (*MethodDisabled*)
+          schema:
+            $ref: '#/definitions/NginxError'
   /slabs/:
     get:
       tags:
@@ -2074,6 +2082,10 @@
           description: Unknown version (*UnknownVersion*)
           schema:
             $ref: '#/definitions/NginxError'
+        '405':
+          description: Method disabled (*MethodDisabled*)
+          schema:
+            $ref: '#/definitions/NginxError'
 ###
 ###DEFINITIONS
 ###