Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 784951d

Browse files
snowe2010FalkWolsky
authored and
FalkWolsky
committed
Optimize the runOpenApi plugin
allow passing in an already dereferenced OpenAPI Document for plugins that have large openapi specs like github. This takes the runtime for Github from over 10s to ~1s on an M1 Max. Adjust the github plugin to use this new capability by dereferencing on plugin initialization, passing the derefed document to the runOpenApi function.
1 parent 3bf3ebf commit 784951d

File tree

1 file changed

+0
-1
lines changed
  • server/node-service/src/plugins/openApi

1 file changed

+0
-1
lines changed

‎server/node-service/src/plugins/openApi/index.ts‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ export async function runOpenApi(
9999
id: "",
100100
}]
101101
}
102-
103102
const { actionName, ...otherActionData } = actionData;
104103
const { serverURL } = dataSourceConfig;
105104

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /