feat: enhance TagOperation interface with detailed parameter structure and update return type handling in generator
This commit is contained in:
@@ -65,13 +65,21 @@ 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.
|
||||
*/
|
||||
export interface TagOperationParam {
|
||||
paramName: string;
|
||||
dataType: string;
|
||||
description: string;
|
||||
required: boolean;
|
||||
'-last': boolean;
|
||||
}
|
||||
|
||||
export interface TagOperation {
|
||||
nickname: string;
|
||||
summary: string;
|
||||
notes: string;
|
||||
httpMethod: string;
|
||||
path: string;
|
||||
allParams: unknown[];
|
||||
allParams: TagOperationParam[];
|
||||
hasQueryParams: boolean;
|
||||
queryParams: unknown[];
|
||||
hasBodyParam: boolean;
|
||||
|
||||
Reference in New Issue
Block a user