The generated API client matches the API

This commit is contained in:
Roberto Treviño
2026-11-29 21:15:12 -06:00
parent ca887c29ab
commit 786b199203
3 changed files with 191 additions and 9 deletions
+189 -7
View File
@@ -422,6 +422,7 @@
},
"default": {},
"description": "Dato \u2192 columna, sin leer el texto.",
"keys": "field",
"title": "Datos tomados de columnas",
"type": "object"
},
@@ -455,13 +456,70 @@
"eeg"
],
"title": "Estudio",
"type": "string"
"type": "string",
"widget": {
"formlyConfig": {
"props": {
"options": [
{
"label": "Identidad de la persona",
"value": "identity"
},
{
"label": "Citolog\u00eda cervical",
"value": "cervical_cytology"
},
{
"label": "Biopsia cervical",
"value": "cervical_biopsy"
},
{
"label": "Mastograf\u00eda",
"value": "mammography"
},
{
"label": "Biopsia de mama",
"value": "breast_biopsy"
},
{
"label": "Tratamiento de c\u00e1ncer de mama",
"value": "breast_treatment"
},
{
"label": "Recurrencia de c\u00e1ncer de mama",
"value": "breast_recurrence"
},
{
"label": "Nota m\u00e9dica",
"value": "clinical_note"
},
{
"label": "Defunci\u00f3n",
"value": "death"
},
{
"label": "M-CHAT-R/F",
"value": "mchat"
},
{
"label": "ADOS-2",
"value": "ados2"
},
{
"label": "Electroencefalograma",
"value": "eeg"
}
]
}
}
}
},
"formats": {
"additionalProperties": {
"type": "string"
},
"default": {},
"keys": "field",
"title": "Formatos de fecha",
"type": "object"
},
@@ -535,6 +593,7 @@
},
"default": {},
"description": "Dato \u2192 expresi\u00f3n con un grupo ( ).",
"keys": "field",
"title": "Patrones",
"type": "object"
},
@@ -595,7 +654,63 @@
"eeg"
],
"title": "Estudio",
"type": "string"
"type": "string",
"widget": {
"formlyConfig": {
"props": {
"options": [
{
"label": "Identidad de la persona",
"value": "identity"
},
{
"label": "Citolog\u00eda cervical",
"value": "cervical_cytology"
},
{
"label": "Biopsia cervical",
"value": "cervical_biopsy"
},
{
"label": "Mastograf\u00eda",
"value": "mammography"
},
{
"label": "Biopsia de mama",
"value": "breast_biopsy"
},
{
"label": "Tratamiento de c\u00e1ncer de mama",
"value": "breast_treatment"
},
{
"label": "Recurrencia de c\u00e1ncer de mama",
"value": "breast_recurrence"
},
{
"label": "Nota m\u00e9dica",
"value": "clinical_note"
},
{
"label": "Defunci\u00f3n",
"value": "death"
},
{
"label": "M-CHAT-R/F",
"value": "mchat"
},
{
"label": "ADOS-2",
"value": "ados2"
},
{
"label": "Electroencefalograma",
"value": "eeg"
}
]
}
}
}
},
"id": {
"maxLength": 40,
@@ -705,7 +820,8 @@
"url",
"oauth",
"table",
"format"
"format",
"columns"
],
"title": "Type",
"type": "string"
@@ -828,7 +944,7 @@
"type": "string"
},
"on": {
"description": "Pares [columna izquierda, derecha].",
"description": "Columna de la primera entrada = columna de la segunda.",
"items": {
"maxItems": 2,
"minItems": 2,
@@ -1003,6 +1119,7 @@
"type": "string"
},
"description": "Dato de la plataforma \u2192 columna del sitio.",
"keys": "field",
"title": "Campos",
"type": "object"
},
@@ -1012,6 +1129,7 @@
},
"default": {},
"description": "Por ejemplo %d/%m/%Y.",
"keys": "field",
"title": "Formatos de fecha",
"type": "object"
},
@@ -1059,6 +1177,7 @@
},
"default": {},
"description": "Un dato igual para todas las filas.",
"keys": "field",
"title": "Valores fijos",
"type": "object"
}
@@ -1710,12 +1829,14 @@
"properties": {
"args": {
"additionalProperties": true,
"advanced": true,
"default": {},
"description": "Los de la fuente dlt.",
"title": "Argumentos (JSON)",
"title": "Argumentos",
"type": "object"
},
"guided": {
"advanced": true,
"anyOf": [
{
"$ref": "#/components/schemas/Guided"
@@ -1723,7 +1844,8 @@
{
"type": "null"
}
]
],
"title": "Asistente"
},
"id": {
"maxLength": 40,
@@ -1764,6 +1886,7 @@
]
},
"primary_key": {
"advanced": true,
"default": [],
"description": "Columnas que identifican una fila.",
"items": {
@@ -1773,6 +1896,7 @@
"type": "array"
},
"resource": {
"advanced": true,
"anyOf": [
{
"type": "string"
@@ -1785,12 +1909,14 @@
"title": "Recurso"
},
"source": {
"advanced": true,
"description": "M\u00f3dulo:funci\u00f3n de la fuente dlt.",
"pattern": "^[A-Za-z_][\\w.]*:[A-Za-z_]\\w*$",
"title": "Fuente dlt",
"type": "string"
},
"then": {
"advanced": true,
"anyOf": [
{
"pattern": "^[A-Za-z_][\\w.]*:[A-Za-z_]\\w*$",
@@ -2004,7 +2130,63 @@
"eeg"
],
"title": "Estudio",
"type": "string"
"type": "string",
"widget": {
"formlyConfig": {
"props": {
"options": [
{
"label": "Identidad de la persona",
"value": "identity"
},
{
"label": "Citolog\u00eda cervical",
"value": "cervical_cytology"
},
{
"label": "Biopsia cervical",
"value": "cervical_biopsy"
},
{
"label": "Mastograf\u00eda",
"value": "mammography"
},
{
"label": "Biopsia de mama",
"value": "breast_biopsy"
},
{
"label": "Tratamiento de c\u00e1ncer de mama",
"value": "breast_treatment"
},
{
"label": "Recurrencia de c\u00e1ncer de mama",
"value": "breast_recurrence"
},
{
"label": "Nota m\u00e9dica",
"value": "clinical_note"
},
{
"label": "Defunci\u00f3n",
"value": "death"
},
{
"label": "M-CHAT-R/F",
"value": "mchat"
},
{
"label": "ADOS-2",
"value": "ados2"
},
{
"label": "Electroencefalograma",
"value": "eeg"
}
]
}
}
}
},
"id": {
"maxLength": 40,