[fix] api-action "member/register": output schema
This commit is contained in:
parent
aeda24c6fb
commit
0ed5457e3e
1 changed files with 26 additions and 1 deletions
|
@ -57,7 +57,32 @@ namespace _espe.api
|
||||||
]
|
]
|
||||||
}),
|
}),
|
||||||
"output_schema": () => ({
|
"output_schema": () => ({
|
||||||
"nullable": true,
|
"nullable": false,
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"nullable": false,
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"incident": {
|
||||||
|
"nullable": false,
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"details": {
|
||||||
|
"nullable": false,
|
||||||
|
"type": "object",
|
||||||
|
"properties": {},
|
||||||
|
"additionalProperties": {
|
||||||
|
"nullable": true
|
||||||
|
},
|
||||||
|
"required": []
|
||||||
|
},
|
||||||
|
},
|
||||||
|
"additionalProperties": false,
|
||||||
|
"required": [
|
||||||
|
"incident",
|
||||||
|
"details",
|
||||||
|
]
|
||||||
|
}
|
||||||
}),
|
}),
|
||||||
"query_parameters": [
|
"query_parameters": [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue