feat(admin)!: move the admin api to rest and fix its defects (#2515)

This commit is contained in:
Hampus
2026-09-06 15:36:41 +02:00
committed by GitHub
parent a70924d4b0
commit 7f8f09ee51
143 changed files with 15238 additions and 12790 deletions
@@ -80,6 +80,13 @@ const COMMON_PATH_PARAMETERS: Record<string, OpenAPIParameter> = {
schema: SnowflakeTypeRef,
description: 'The ID of the OAuth2 application',
},
key_id: {
name: 'key_id',
in: 'path',
required: true,
schema: SnowflakeTypeRef,
description: 'The ID of the key',
},
};
export function extractPathParameters(path: string): Array<OpenAPIParameter> {
const paramRegex = /:(\w+)/g;