lint
This commit is contained in:
@@ -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)]),
|
||||
),
|
||||
};
|
||||
|
Reference in New Issue
Block a user