lint
This commit is contained in:
parent
1ed06e490c
commit
567c550120
13 changed files with 28 additions and 31 deletions
|
|
@ -1,4 +1,5 @@
|
|||
import { refs, Schema } from '@/misc/schema.js';
|
||||
import type { Schema } from '@/misc/schema.js';
|
||||
import { refs } from '@/misc/schema.js';
|
||||
|
||||
export function convertSchemaToOpenApiSchema(schema: Schema) {
|
||||
const res: any = schema;
|
||||
|
|
@ -55,6 +56,6 @@ export const schemas = {
|
|||
},
|
||||
|
||||
...Object.fromEntries(
|
||||
Object.entries(refs).map(([key, schema]) => [key, convertSchemaToOpenApiSchema(schema)])
|
||||
Object.entries(refs).map(([key, schema]) => [key, convertSchemaToOpenApiSchema(schema)]),
|
||||
),
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue