changeset 2132:a645aa9f2ebf

Changed type of HTTP error code to integer in API.
author Yaroslav Zhuravlev <yar@nginx.com>
date Thu, 05 Apr 2018 15:49:01 +0300
parents dbaf3950f8e9
children bb3d2ce5192e
files xml/en/docs/http/ngx_http_api_module.xml yaml/nginx_api.yaml
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_api_module.xml
+++ b/xml/en/docs/http/ngx_http_api_module.xml
@@ -2898,7 +2898,7 @@ HTTP method.
 <tag-desc>
 <list type="tag">
 <tag-name>
-<literal>status</literal> (<literal>string</literal>)
+<literal>status</literal> (<literal>integer</literal>)
 </tag-name>
 <tag-desc>
 HTTP error code.
--- a/yaml/nginx_api.yaml
+++ b/yaml/nginx_api.yaml
@@ -3156,7 +3156,7 @@ definitions:
         type: object
         properties:
           status:
-            type: string
+            type: integer
             description: HTTP error code.
           text:
             type: string