-
Notifications
You must be signed in to change notification settings - Fork 124
Open
Description
| if (operationObj.parameters) { |
getOperationFromConfig(funcName, documentationConfig) {
const operationObj = {
operationId: funcName,
};
if (documentationConfig.summary) {
operationObj.summary = documentationConfig.summary;
}
if (documentationConfig.description) {
operationObj.description = documentationConfig.description;
}
if (documentationConfig.tags) {
operationObj.tags = documentationConfig.tags;
}
if (documentationConfig.deprecated) {
operationObj.deprecated = true;
}
if (operationObj.requestBody) {
operationObj.requestBody = this.getRequestBodiesFromConfig(documentationConfig);
}
if (operationObj.parameters) {
operationObj.parameters = this.getParametersFromConfig(documentationConfig);
}
operationObj.responses = this.getResponsesFromConfig(documentationConfig);
return operationObj;
}
operationObj.requestBody and parameters always will be undefined and documentationConfig has no documented parameters variables.
documentationConfig has no parameters variable and when it changed to test the queryParams variable then it will works.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels