mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-07 19:22:14 +09:00
feat(admin)!: move the admin api to rest and fix its defects (#2515)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user