Refactor
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
import { Context } from 'cafy';
|
||||
import * as path from 'path';
|
||||
import * as glob from 'glob';
|
||||
import { Schema } from '../../prelude/schema';
|
||||
import { Schema } from '../../misc/schema';
|
||||
|
||||
export type Param = {
|
||||
validator: Context<any>;
|
||||
|
@ -4,7 +4,7 @@ import config from '../../../config';
|
||||
import { errors as basicErrors } from './errors';
|
||||
import { schemas } from './schemas';
|
||||
import { description } from './description';
|
||||
import { convertOpenApiSchema } from '../../../prelude/schema';
|
||||
import { convertOpenApiSchema } from '../../../misc/schema';
|
||||
|
||||
export function genOpenapiSpec(lang = 'ja-JP') {
|
||||
const spec = {
|
||||
|
Reference in New Issue
Block a user