0
Fork 0
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:
Gao Sun 2023-12-04 08:42:00 +08:00 committed by GitHub
parent f539b0851d
commit f589fed383
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 20 deletions

View file

@ -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."
}
}

View file

@ -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."