0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-27 21:39:16 -05:00

chore(core): add well-known api doc descriptions (#5018)

This commit is contained in:
Xiao Yijun 2023-12-01 16:40:36 +08:00 committed by GitHub
parent 88285ba7b6
commit fd105ac99f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,50 @@
{
"tags": [
{
"name": "Well-Known",
"description": "Well-Known routes provide information and resources that can be discovered by clients without the need for authentication."
}
],
"paths": {
"/api/.well-known/endpoints/{tenantId}": {
"get": {
"summary": "Get tenant endpoint",
"description": "Get the endpoint for the specified tenant.",
"responses": {
"200": {
"description": "The tenant endpoint."
}
}
}
},
"/api/.well-known/sign-in-exp": {
"get": {
"summary": "Get full sign-in experience",
"description": "Get the full sign-in experience configuration.",
"responses": {
"200": {
"description": "The full sign-in experience configuration."
}
}
}
},
"/api/.well-known/phrases": {
"get": {
"summary": "Get localized phrases",
"description": "Get localized phrases based on the specified language.",
"parameters": [
{
"name": "lng",
"in": "query",
"description": "The language tag for localization."
}
],
"responses": {
"200": {
"description": "Localized phrases for the specified language."
}
}
}
}
}
}