diff --git a/packages/core/src/routes/authn.openapi.json b/packages/core/src/routes/authn.openapi.json index 0719e88245f..41bbd4e86c4 100644 --- a/packages/core/src/routes/authn.openapi.json +++ b/packages/core/src/routes/authn.openapi.json @@ -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." } } diff --git a/packages/core/src/routes/hooks.openapi.json b/packages/core/src/routes/hooks.openapi.json index 52d3e6c2a40..931a12b5086 100644 --- a/packages/core/src/routes/hooks.openapi.json +++ b/packages/core/src/routes/hooks.openapi.json @@ -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."