api-docs: Move ignored params example to IgnoredParametersSuccess.

This commit is contained in:
Lauryn Menard 2023-09-05 17:26:14 +02:00 committed by Tim Abbott
parent f0fe86d5e3
commit c0a4ecd5aa
1 changed files with 7 additions and 7 deletions

View File

@ -19004,6 +19004,13 @@ components:
A typical successful JSON response with ignored parameters may look like:
[ignored_params]: /api/rest-error-handling#ignored-parameters
example:
{
"ignored_parameters_unsupported":
["invalid_param_1", "invalid_param_2"],
"msg": "",
"result": "success",
}
IgnoredParametersBase:
allOf:
- $ref: "#/components/schemas/JsonResponseBase"
@ -19018,13 +19025,6 @@ components:
type: string
ignored_parameters_unsupported:
$ref: "#/components/schemas/IgnoredParametersUnsupported"
example:
{
"ignored_parameters_unsupported":
["invalid_param_1", "invalid_param_2"],
"msg": "",
"result": "success",
}
JsonError:
allOf:
- $ref: "#/components/schemas/JsonErrorBase"