docusaurus-plugin-openapi-docs 0.0.0-481 → 0.0.0-482
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/openapi/openapi.js +0 -1
- package/package.json +2 -2
- package/src/openapi/openapi.ts +0 -6
package/lib/openapi/openapi.js
CHANGED
|
@@ -213,7 +213,6 @@ async function readOpenapiFiles(openapiPath, options) {
|
|
|
213
213
|
if (!(0, index_1.isURL)(openapiPath)) {
|
|
214
214
|
const stat = await fs_extra_1.default.lstat(openapiPath);
|
|
215
215
|
if (stat.isDirectory()) {
|
|
216
|
-
console.warn(chalk_1.default.yellow("WARNING: Loading a directory of OpenAPI definitions is experimental and subject to unannounced breaking changes."));
|
|
217
216
|
// TODO: Add config for inlcude/ignore
|
|
218
217
|
const allFiles = await (0, utils_1.Globby)(["**/*.{json,yaml,yml}"], {
|
|
219
218
|
cwd: openapiPath,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "docusaurus-plugin-openapi-docs",
|
|
3
3
|
"description": "OpenAPI plugin for Docusaurus.",
|
|
4
|
-
"version": "0.0.0-
|
|
4
|
+
"version": "0.0.0-482",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"openapi",
|
|
@@ -68,5 +68,5 @@
|
|
|
68
68
|
"engines": {
|
|
69
69
|
"node": ">=14"
|
|
70
70
|
},
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "a977256227d1d0d0802b77a925831f643481d247"
|
|
72
72
|
}
|
package/src/openapi/openapi.ts
CHANGED
|
@@ -280,12 +280,6 @@ export async function readOpenapiFiles(
|
|
|
280
280
|
if (!isURL(openapiPath)) {
|
|
281
281
|
const stat = await fs.lstat(openapiPath);
|
|
282
282
|
if (stat.isDirectory()) {
|
|
283
|
-
console.warn(
|
|
284
|
-
chalk.yellow(
|
|
285
|
-
"WARNING: Loading a directory of OpenAPI definitions is experimental and subject to unannounced breaking changes."
|
|
286
|
-
)
|
|
287
|
-
);
|
|
288
|
-
|
|
289
283
|
// TODO: Add config for inlcude/ignore
|
|
290
284
|
const allFiles = await Globby(["**/*.{json,yaml,yml}"], {
|
|
291
285
|
cwd: openapiPath,
|