mirror of
https://github.com/logto-io/logto.git
synced 2025-02-17 22:04:19 -05:00
chore(core): mark event
and retries
as deprecated for hooks api doc (#5048)
This commit is contained in:
parent
3e92a20320
commit
aa5bfdd0b3
1 changed files with 35 additions and 1 deletions
|
@ -34,8 +34,20 @@
|
|||
"name": {
|
||||
"description": "The name of the hook."
|
||||
},
|
||||
"event": {
|
||||
"deprecated": true,
|
||||
"description": "Use `events` instead."
|
||||
},
|
||||
"events": {
|
||||
"description": "An array of hook events."
|
||||
},
|
||||
"config": {
|
||||
"properties": {
|
||||
"retries": {
|
||||
"deprecated": true,
|
||||
"description": "Now the retry times is fixed to 3. Keep for backward compatibility."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -77,8 +89,20 @@
|
|||
"name": {
|
||||
"description": "The updated name of the hook."
|
||||
},
|
||||
"event": {
|
||||
"deprecated": true,
|
||||
"description": "Use `events` instead."
|
||||
},
|
||||
"events": {
|
||||
"description": "An array of updated hook events."
|
||||
},
|
||||
"config": {
|
||||
"properties": {
|
||||
"retries": {
|
||||
"deprecated": true,
|
||||
"description": "Now the retry times is fixed to 3. Keep for backward compatibility."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -128,11 +152,21 @@
|
|||
"application/json": {
|
||||
"schema": {
|
||||
"properties": {
|
||||
"event": {
|
||||
"deprecated": true,
|
||||
"description": "Use `events` instead."
|
||||
},
|
||||
"events": {
|
||||
"description": "An array of hook events for testing."
|
||||
},
|
||||
"config": {
|
||||
"description": "The hook configuration for testing."
|
||||
"description": "The hook configuration for testing.",
|
||||
"properties": {
|
||||
"retries": {
|
||||
"deprecated": true,
|
||||
"description": "Now the retry times is fixed to 3. Keep for backward compatibility."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue