feat: add tag/endpoint selection mechanism

This commit is contained in:
2026-03-24 19:51:48 +01:00
parent a90f7ba078
commit b8d2fd8582
5 changed files with 144 additions and 6 deletions

View File

@@ -1,3 +1,26 @@
/**
* Resumen de un endpoint para mostrar en la pantalla de selección interactiva.
*/
export interface OperationSummary {
nickname: string;
method: string;
path: string;
summary: string;
}
/**
* Tag con sus endpoints resumidos, para la pantalla de selección interactiva.
*/
export interface TagSummary {
tag: string;
operations: OperationSummary[];
}
/**
* Mapa de filtro de selección: tag → array de nicknames de operaciones seleccionadas.
*/
export type SelectionFilter = Record<string, string[]>;
/**
* Representación simplificada de un schema de componente OpenAPI.
* Se utiliza para generar modelos (entidades) y mappers.