chore: update to openapi v3 by change dep (#37316)

Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com>
Co-authored-by: Stephen Zhou <hi@hyoban.cc>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
authored and GitHub committed 2026-06-12 07:52:19 +00:00
1 parent 9c25fa1c96
commit 6c0cce4b7f
67 files changed
+7054 -8673

No files matched your search

+7 -1
View File
@@ -36,6 +36,12 @@ export type ImportAppResult = {
readonly leakedDependencies: readonly PluginDependency[]
}
type PluginDependencyLabelInput = {
readonly current_identifier?: string | null
readonly type?: PluginDependency['type']
readonly value?: unknown
}
export async function runImportApp(opts: ImportAppOptions, deps: ImportAppDeps): Promise<ImportAppResult> {
const env = deps.envLookup ?? getEnv
const io = deps.io ?? nullStreams()
@@ -124,7 +130,7 @@ export async function runImportApp(opts: ImportAppOptions, deps: ImportAppDeps):
// `value` is a loosely-typed wire object (Github | Marketplace | Package); narrow it here to
// surface a human-readable identifier without depending on which variant the server returned.
export function pluginDependencyLabel(dep: PluginDependency): string {
export function pluginDependencyLabel(dep: PluginDependencyLabelInput): string {
const value = dep.value
if (typeof value === 'object' && value !== null) {
const fields = value as Record<string, unknown>