wip~~
This commit is contained in:
parent
ac99cdce8b
commit
4f5d77391f
50 changed files with 218 additions and 171 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import type { Schema } from '@/misc/json-schema.js';
|
||||
import type { JSONSchema7 } from 'schema-type';
|
||||
import { refs } from 'misskey-js';
|
||||
|
||||
export function convertSchemaToOpenApiSchema(schema: Schema) {
|
||||
export function convertSchemaToOpenApiSchema(schema: JSONSchema7) {
|
||||
const res: any = schema;
|
||||
|
||||
if (schema.type === 'object' && schema.properties) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue