Skip to content

Commit

Permalink
chore(core): remove redundant types in openapi json (#5044)
Browse files Browse the repository at this point in the history
  • Loading branch information
gao-sun authored Dec 4, 2023
1 parent f539b08 commit f589fed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 20 deletions.
3 changes: 0 additions & 3 deletions packages/core/src/routes/authn.openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -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."
}
}
Expand Down
20 changes: 3 additions & 17 deletions packages/core/src/routes/hooks.openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -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."
}
}
}
Expand Down Expand Up @@ -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."
}
}
}
Expand Down Expand Up @@ -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."
Expand Down

0 comments on commit f589fed

Please sign in to comment.