# HG changeset patch # User Yaroslav Zhuravlev # Date 1522932541 -10800 # Node ID a645aa9f2ebf42cb69f5248e78902227adc89a44 # Parent dbaf3950f8e9fa002dd6e2c6635656efd6c87b27 Changed type of HTTP error code to integer in API. diff -r dbaf3950f8e9 -r a645aa9f2ebf xml/en/docs/http/ngx_http_api_module.xml --- a/xml/en/docs/http/ngx_http_api_module.xml Wed Apr 04 19:35:25 2018 +0300 +++ b/xml/en/docs/http/ngx_http_api_module.xml Thu Apr 05 15:49:01 2018 +0300 @@ -2898,7 +2898,7 @@ -status (string) +status (integer) HTTP error code. diff -r dbaf3950f8e9 -r a645aa9f2ebf yaml/nginx_api.yaml --- a/yaml/nginx_api.yaml Wed Apr 04 19:35:25 2018 +0300 +++ b/yaml/nginx_api.yaml Thu Apr 05 15:49:01 2018 +0300 @@ -3156,7 +3156,7 @@ type: object properties: status: - type: string + type: integer description: HTTP error code. text: type: string