update bundling config (#36)

* update bundling config

* fix generation
This commit is contained in:
Kurt Hutten
2022-12-12 15:20:04 +11:00
committed by GitHub
parent d5a71d01fe
commit e9e2f1058a
5 changed files with 15 additions and 15 deletions

View File

@ -1,7 +1,8 @@
import fsp from 'node:fs/promises';
import { OpenAPIV3 } from 'openapi-types';
import { observe, generate } from 'fast-json-patch';
import { format } from 'prettier';
import pkg from 'fast-json-patch';
const { observe, generate } = pkg;
export default async function apiGen(lookup: any) {
const spec: OpenAPIV3.Document = JSON.parse(