Implement workaround for swagger-autogen edgecase and expose folders, secret imports API

This commit is contained in:
Tuan Dang
2023-09-13 09:28:29 +01:00
parent d221bf8ae9
commit 4f69257595
28 changed files with 4294 additions and 2353 deletions
+2 -1
View File
@@ -223,7 +223,8 @@ const generateOpenAPISpec = async () => {
const endpointsFiles = ["../src/index.ts"];
const spec = await swaggerAutogen(outputJSONFile, endpointsFiles, doc);
await fs.writeFile(outputYAMLFile, yaml.dump(spec.data));
}
generateOpenAPISpec();
generateOpenAPISpec();