feat: translate comments and logs to English for better accessibility
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* Resumen de un endpoint para mostrar en la pantalla de selección interactiva.
|
||||
* Summary of a single endpoint for display on the interactive selection screen.
|
||||
*/
|
||||
export interface OperationSummary {
|
||||
nickname: string;
|
||||
@@ -9,7 +9,7 @@ export interface OperationSummary {
|
||||
}
|
||||
|
||||
/**
|
||||
* Tag con sus endpoints resumidos, para la pantalla de selección interactiva.
|
||||
* Tag with its summarised endpoints, used on the interactive selection screen.
|
||||
*/
|
||||
export interface TagSummary {
|
||||
tag: string;
|
||||
@@ -17,13 +17,13 @@ export interface TagSummary {
|
||||
}
|
||||
|
||||
/**
|
||||
* Mapa de filtro de selección: tag → array de nicknames de operaciones seleccionadas.
|
||||
* Selection filter map: tag → array of selected operation nicknames.
|
||||
*/
|
||||
export type SelectionFilter = Record<string, string[]>;
|
||||
|
||||
/**
|
||||
* Representación simplificada de un schema de componente OpenAPI.
|
||||
* Se utiliza para generar modelos (entidades) y mappers.
|
||||
* Simplified representation of an OpenAPI component schema.
|
||||
* Used to generate domain models (entities) and mappers.
|
||||
*/
|
||||
export interface OpenApiSchema {
|
||||
properties?: Record<
|
||||
@@ -40,8 +40,8 @@ export interface OpenApiSchema {
|
||||
}
|
||||
|
||||
/**
|
||||
* Representación de una operación OpenAPI (GET, POST, etc.) dentro de un path.
|
||||
* Contiene la información necesaria para generar repositorios y casos de uso.
|
||||
* Representation of an OpenAPI operation (GET, POST, etc.) within a path.
|
||||
* Contains the information needed to generate repositories and use cases.
|
||||
*/
|
||||
export interface OpenApiOperation {
|
||||
tags?: string[];
|
||||
@@ -85,8 +85,7 @@ export interface OpenApiOperation {
|
||||
}
|
||||
|
||||
/**
|
||||
* Operación normalizada y lista para ser consumida por los templates Mustache.
|
||||
* Cada instancia representa un endpoint agrupado bajo un tag del API.
|
||||
* A single parameter of a normalised API operation, ready for Mustache template consumption.
|
||||
*/
|
||||
export interface TagOperationParam {
|
||||
paramName: string;
|
||||
@@ -96,6 +95,10 @@ export interface TagOperationParam {
|
||||
'-last': boolean;
|
||||
}
|
||||
|
||||
/**
|
||||
* Normalised operation ready to be consumed by Mustache templates.
|
||||
* Each instance represents an endpoint grouped under an API tag.
|
||||
*/
|
||||
export interface TagOperation {
|
||||
nickname: string;
|
||||
summary: string;
|
||||
|
||||
Reference in New Issue
Block a user