Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc9350d commit c7baf17Copy full SHA for c7baf17
server/node-service/src/plugins/openApi/parse.ts
@@ -264,7 +264,7 @@ export async function parseOpenApi(
264
return;
265
}
266
267
- const { tags } = operation;
+ const { tags = ["other"] } = operation;
268
if (tags) {
269
appendCategories(
270
categories,
@@ -288,7 +288,7 @@ export async function parseOpenApi(
288
);
289
290
const action: ActionConfig = {
291
- category: operation.tags || "",
+ category: tags || "",
292
actionName: operationId,
293
label: actionLabel(httpMethod, path, operation),
294
description: actionDescription(httpMethod, path, operation),
0 commit comments