mirror of https://github.com/zulip/zulip.git
api-docs: Move ignored params example to IgnoredParametersSuccess.
This commit is contained in:
parent
f0fe86d5e3
commit
c0a4ecd5aa
|
@ -19004,6 +19004,13 @@ components:
|
||||||
A typical successful JSON response with ignored parameters may look like:
|
A typical successful JSON response with ignored parameters may look like:
|
||||||
|
|
||||||
[ignored_params]: /api/rest-error-handling#ignored-parameters
|
[ignored_params]: /api/rest-error-handling#ignored-parameters
|
||||||
|
example:
|
||||||
|
{
|
||||||
|
"ignored_parameters_unsupported":
|
||||||
|
["invalid_param_1", "invalid_param_2"],
|
||||||
|
"msg": "",
|
||||||
|
"result": "success",
|
||||||
|
}
|
||||||
IgnoredParametersBase:
|
IgnoredParametersBase:
|
||||||
allOf:
|
allOf:
|
||||||
- $ref: "#/components/schemas/JsonResponseBase"
|
- $ref: "#/components/schemas/JsonResponseBase"
|
||||||
|
@ -19018,13 +19025,6 @@ components:
|
||||||
type: string
|
type: string
|
||||||
ignored_parameters_unsupported:
|
ignored_parameters_unsupported:
|
||||||
$ref: "#/components/schemas/IgnoredParametersUnsupported"
|
$ref: "#/components/schemas/IgnoredParametersUnsupported"
|
||||||
example:
|
|
||||||
{
|
|
||||||
"ignored_parameters_unsupported":
|
|
||||||
["invalid_param_1", "invalid_param_2"],
|
|
||||||
"msg": "",
|
|
||||||
"result": "success",
|
|
||||||
}
|
|
||||||
JsonError:
|
JsonError:
|
||||||
allOf:
|
allOf:
|
||||||
- $ref: "#/components/schemas/JsonErrorBase"
|
- $ref: "#/components/schemas/JsonErrorBase"
|
||||||
|
|
Loading…
Reference in New Issue