diff --git a/src/client/assets/redoc.html b/src/client/assets/redoc.html new file mode 100644 index 0000000000..9803464cb1 --- /dev/null +++ b/src/client/assets/redoc.html @@ -0,0 +1,24 @@ + + + + Misskey API + + + + + + + + + + + + + diff --git a/src/server/api/openapi/description.ts b/src/server/api/openapi/description.ts index 9006dfbfa4..a4b79d9502 100644 --- a/src/server/api/openapi/description.ts +++ b/src/server/api/openapi/description.ts @@ -16,7 +16,7 @@ export function kinds() { endpoints: [], descs: fromEntries( Object.keys(locale) - .map(l => [l, locale[l].common.permissions[k] as string] as [string, string]) + .map(l => [l, locale[l]._permissions[k] as string] as [string, string]) ) as { [x: string]: string; } }] as [ string, IKindInfo ]) ) as { [x: string]: IKindInfo; };