Mercurial > hg > nginx-site
diff yaml/nginx_api.yaml @ 2047:593dfdc524ae
Documented the 405 error (Method Disabled) in yaml.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Wed, 06 Sep 2017 15:15:38 +0300 |
parents | a810103f8a75 |
children | 116994597b0e |
line wrap: on
line diff
--- a/yaml/nginx_api.yaml Wed Sep 27 21:55:34 2017 +0300 +++ b/yaml/nginx_api.yaml Wed Sep 06 15:15:38 2017 +0300 @@ -224,6 +224,10 @@ description: Slab not found (*SlabNotFound*) schema: $ref: '#/definitions/NginxError' + '405': + description: Method disabled (*MethodDisabled*) + schema: + $ref: '#/definitions/NginxError' /http/: get: tags: @@ -270,6 +274,10 @@ responses: '204': description: Success + '405': + description: Method disabled (*MethodDisabled*) + schema: + $ref: '#/definitions/NginxError' /http/server_zones/: get: tags: @@ -338,6 +346,10 @@ description: Server zone not found (*ServerZoneNotFound*) schema: $ref: '#/definitions/NginxError' + '405': + description: Method disabled (*MethodDisabled*) + schema: + $ref: '#/definitions/NginxError' /http/caches/: get: tags: @@ -406,6 +418,10 @@ description: Cache not found (*CacheNotFound*) schema: $ref: '#/definitions/NginxError' + '405': + description: Method disabled (*MethodDisabled*) + schema: + $ref: '#/definitions/NginxError' /http/upstreams/: get: tags: @@ -485,6 +501,10 @@ description: Upstream not found (*UpstreamNotFound*) schema: $ref: '#/definitions/NginxError' + '405': + description: Method disabled (*MethodDisabled*) + schema: + $ref: '#/definitions/NginxError' '/http/upstreams/{httpUpstreamName}/servers/': parameters: - name: httpUpstreamName @@ -566,6 +586,10 @@ description: Upstream not found (*UpstreamNotFound*) schema: $ref: '#/definitions/NginxError' + '405': + description: Method disabled (*MethodDisabled*) + schema: + $ref: '#/definitions/NginxError' '415': description: JSON error (*JsonError*) schema: @@ -661,6 +685,10 @@ server with ID “**id**” does not exist (*UpstreamServerNotFound*) schema: $ref: '#/definitions/NginxError' + '405': + description: Method disabled (*MethodDisabled*) + schema: + $ref: '#/definitions/NginxError' '415': description: JSON error (*JsonError*) schema: @@ -692,6 +720,10 @@ server with ID “**id**” does not exist (*UpstreamServerNotFound*) schema: $ref: '#/definitions/NginxError' + '405': + description: Method disabled (*MethodDisabled*) + schema: + $ref: '#/definitions/NginxError' /http/keyvals/: get: tags: @@ -782,6 +814,10 @@ description: Keyval not found (*KeyvalNotFound*) schema: $ref: '#/definitions/NginxError' + '405': + description: Method disabled (*MethodDisabled*) + schema: + $ref: '#/definitions/NginxError' '409': description: Key already exists (*KeyvalKeyExists*) schema: @@ -823,6 +859,10 @@ keyval key not found (*KeyvalKeyNotFound*) schema: $ref: '#/definitions/NginxError' + '405': + description: Method disabled (*MethodDisabled*) + schema: + $ref: '#/definitions/NginxError' '415': description: JSON error (*JsonError*) schema: @@ -842,6 +882,10 @@ description: Keyval not found (*KeyvalNotFound*) schema: $ref: '#/definitions/NginxError' + '405': + description: Method disabled (*MethodDisabled*) + schema: + $ref: '#/definitions/NginxError' /stream/: get: tags: @@ -934,6 +978,10 @@ [stream](https://nginx.org/en/docs/stream/ngx_stream_core_module.html#stream) not configured (*StreamNotConfigured*) schema: $ref: '#/definitions/NginxError' + '405': + description: Method disabled (*MethodDisabled*) + schema: + $ref: '#/definitions/NginxError' /stream/upstreams/: get: tags: @@ -1023,6 +1071,10 @@ [stream](https://nginx.org/en/docs/stream/ngx_stream_core_module.html#stream) not configured (*StreamNotConfigured*) schema: $ref: '#/definitions/NginxError' + '405': + description: Method disabled (*MethodDisabled*) + schema: + $ref: '#/definitions/NginxError' '/stream/upstreams/{streamUpstreamName}/servers/': parameters: - name: streamUpstreamName @@ -1108,6 +1160,10 @@ [stream](https://nginx.org/en/docs/stream/ngx_stream_core_module.html#stream) not configured (*StreamNotConfigured*) schema: $ref: '#/definitions/NginxError' + '405': + description: Method disabled (*MethodDisabled*) + schema: + $ref: '#/definitions/NginxError' '415': description: JSON error (*JsonError*) schema: @@ -1205,6 +1261,10 @@ [stream](https://nginx.org/en/docs/stream/ngx_stream_core_module.html#stream) not configured (*StreamNotConfigured*) schema: $ref: '#/definitions/NginxError' + '405': + description: Method disabled (*MethodDisabled*) + schema: + $ref: '#/definitions/NginxError' '415': description: JSON error (*JsonError*) schema: @@ -1237,6 +1297,10 @@ [stream](https://nginx.org/en/docs/stream/ngx_stream_core_module.html#stream) not configured (*StreamNotConfigured*) schema: $ref: '#/definitions/NginxError' + '405': + description: Method disabled (*MethodDisabled*) + schema: + $ref: '#/definitions/NginxError' ### ###DEFINITIONS ###