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.
2 parents 9ad82c5 + 2b9d4e8 commit 3bc6cd4Copy full SHA for 3bc6cd4
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