diff yaml/nginx_api.yaml @ 2133:bb3d2ce5192e

Changed type of fail_timeout and slow_start in API.
author Yaroslav Zhuravlev <yar@nginx.com>
date Thu, 05 Apr 2018 15:49:33 +0300
parents a645aa9f2ebf
children f6e578b1b02d
line wrap: on
line diff
--- a/yaml/nginx_api.yaml	Thu Apr 05 15:49:01 2018 +0300
+++ b/yaml/nginx_api.yaml	Thu Apr 05 15:49:33 2018 +0300
@@ -2527,12 +2527,12 @@
           <a href="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#max_fails">max_fails</a>
           parameter of the HTTP upstream server.
       fail_timeout:
-        type: integer
+        type: string
         description: Same as the
           <a href="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#fail_timeout">fail_timeout</a>
           parameter of the HTTP upstream server.
       slow_start:
-        type: integer
+        type: string
         description: Same as the
           <a href="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#slow_start">slow_start</a>
           parameter of the HTTP upstream server.
@@ -3074,12 +3074,12 @@
           <a href="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#max_fails">max_fails</a>
           parameter of the stream upstream server.
       fail_timeout:
-        type: integer
+        type: string
         description: Same as the
           <a href="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#fail_timeout">fail_timeout</a>
           parameter of the stream upstream server.
       slow_start:
-        type: integer
+        type: string
         description: Same as the
           <a href="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#slow_start">slow_start</a>
           parameter of the stream upstream server.