mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
chore(core): remove redundant types in openapi json (#5044)
This commit is contained in:
parent
f539b0851d
commit
f589fed383
2 changed files with 3 additions and 20 deletions
|
@ -31,14 +31,11 @@
|
|||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"SAMLResponse": {
|
||||
"type": "string",
|
||||
"description": "The SAML assertion response from the identity provider (IdP)."
|
||||
},
|
||||
"RelayState": {
|
||||
"type": "string",
|
||||
"description": "SAML standard parameter that will be transmitted between the identity provider and the service provider. It will be used as the session ID (jti) of the user's Logto authentication session. This API will use this session ID to retrieve the SSO connector authentication session from the database."
|
||||
}
|
||||
}
|
||||
|
|
|
@ -32,15 +32,10 @@
|
|||
"schema": {
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "The name of the hook."
|
||||
},
|
||||
"events": {
|
||||
"type": "array",
|
||||
"description": "An array of hook events.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
"description": "An array of hook events."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -80,15 +75,10 @@
|
|||
"schema": {
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "The updated name of the hook."
|
||||
},
|
||||
"events": {
|
||||
"type": "array",
|
||||
"description": "An array of updated hook events.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
"description": "An array of updated hook events."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -139,11 +129,7 @@
|
|||
"schema": {
|
||||
"properties": {
|
||||
"events": {
|
||||
"type": "array",
|
||||
"description": "An array of hook events for testing.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
"description": "An array of hook events for testing."
|
||||
},
|
||||
"config": {
|
||||
"description": "The hook configuration for testing."
|
||||
|
|
Loading…
Reference in a new issue