mirror of
https://github.com/dadosfera/maestro.git
synced 2026-10-11 15:59:08 +00:00
FEAT: add logic to native documentation with AI
This commit is contained in:
+137
@@ -42,6 +42,33 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"/auth/sign-out": {
|
||||
"post": {
|
||||
"operationId": "AuthController_signOut",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "dadosfera-lang",
|
||||
"in": "header",
|
||||
"required": false,
|
||||
"schema": {
|
||||
"enum": [
|
||||
"pt-br",
|
||||
"en-us"
|
||||
],
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"204": {
|
||||
"description": ""
|
||||
}
|
||||
},
|
||||
"tags": [
|
||||
"Auth"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/auth/refresh-access-token": {
|
||||
"post": {
|
||||
"operationId": "AuthController_refreshAccessToken",
|
||||
@@ -5135,6 +5162,116 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"/catalog/data-asset/{nimbus_id}/docs/ai": {
|
||||
"post": {
|
||||
"operationId": "CatalogController_saveDocumentation",
|
||||
"summary": "Save documentation for data asset",
|
||||
"description": "Saves documentation content for a data asset",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "dadosfera-lang",
|
||||
"in": "header",
|
||||
"required": false,
|
||||
"schema": {
|
||||
"enum": [
|
||||
"pt-br",
|
||||
"en-us"
|
||||
],
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "nimbus_id",
|
||||
"required": true,
|
||||
"in": "path",
|
||||
"description": "Nimbus ID of the data asset",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"201": {
|
||||
"description": "Documentation saved successfully"
|
||||
}
|
||||
},
|
||||
"tags": [
|
||||
"Catalog"
|
||||
],
|
||||
"security": [
|
||||
{
|
||||
"access-token": []
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"/catalog/data-asset/{nimbus_id}/docs/generate-ai": {
|
||||
"post": {
|
||||
"operationId": "CatalogController_generateAiDocumentation",
|
||||
"summary": "Generate AI documentation for data asset",
|
||||
"description": "Generates comprehensive documentation for a data asset using AI (Autodrive)",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "dadosfera-lang",
|
||||
"in": "header",
|
||||
"required": false,
|
||||
"schema": {
|
||||
"enum": [
|
||||
"pt-br",
|
||||
"en-us"
|
||||
],
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "nimbus_id",
|
||||
"required": true,
|
||||
"in": "path",
|
||||
"description": "Nimbus ID of the data asset",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"201": {
|
||||
"description": "AI documentation generated successfully",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"message": {
|
||||
"type": "string"
|
||||
},
|
||||
"documentation": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
"description": "Bad request - invalid nimbus_id or missing data"
|
||||
},
|
||||
"404": {
|
||||
"description": "Data asset not found"
|
||||
},
|
||||
"500": {
|
||||
"description": "Internal server error during AI generation"
|
||||
}
|
||||
},
|
||||
"tags": [
|
||||
"Catalog"
|
||||
],
|
||||
"security": [
|
||||
{
|
||||
"access-token": []
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"/customers/{id}/mfa": {
|
||||
"post": {
|
||||
"operationId": "CustomersController_enableMfaEnforce",
|
||||
|
||||
Reference in New Issue
Block a user