docusaurus-plugin-openapi-docs 0.0.0-732 → 0.0.0-733

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.
@@ -12,14 +12,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.getTagDisplayName = exports.processOpenapiFile = exports.processOpenapiFiles = exports.readOpenapiFiles = void 0;
13
13
  const path_1 = __importDefault(require("path"));
14
14
  const utils_1 = require("@docusaurus/utils");
15
- const openapi_to_postmanv2_1 = __importDefault(require("@paloaltonetworks/openapi-to-postmanv2"));
16
- const postman_collection_1 = __importDefault(require("@paloaltonetworks/postman-collection"));
17
15
  const chalk_1 = __importDefault(require("chalk"));
18
16
  const fs_extra_1 = __importDefault(require("fs-extra"));
19
17
  const cloneDeep_1 = __importDefault(require("lodash/cloneDeep"));
20
18
  const kebabCase_1 = __importDefault(require("lodash/kebabCase"));
21
19
  const unionBy_1 = __importDefault(require("lodash/unionBy"));
22
20
  const uniq_1 = __importDefault(require("lodash/uniq"));
21
+ const openapi_to_postmanv2_1 = __importDefault(require("openapi-to-postmanv2"));
22
+ const postman_collection_1 = __importDefault(require("postman-collection"));
23
23
  const createRequestExample_1 = require("./createRequestExample");
24
24
  const loadAndResolveSpec_1 = require("./utils/loadAndResolveSpec");
25
25
  const index_1 = require("../index");
package/lib/types.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type Request from "@paloaltonetworks/postman-collection";
1
+ import type Request from "postman-collection";
2
2
  import { InfoObject, OperationObject, SchemaObject, SecuritySchemeObject, TagObject } from "./openapi/types";
3
3
  export type { PropSidebarItemCategory, SidebarItemLink, PropSidebar, PropSidebarItem, } from "@docusaurus/plugin-content-docs-types";
4
4
  export interface PluginOptions {
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-732",
4
+ "version": "0.0.0-733",
5
5
  "license": "MIT",
6
6
  "keywords": [
7
7
  "openapi",
@@ -40,8 +40,6 @@
40
40
  "@docusaurus/plugin-content-docs": ">=2.4.1 <=2.4.3",
41
41
  "@docusaurus/utils": ">=2.4.1 <=2.4.3",
42
42
  "@docusaurus/utils-validation": ">=2.4.1 <=2.4.3",
43
- "@paloaltonetworks/openapi-to-postmanv2": "3.1.0-hotfix.1",
44
- "@paloaltonetworks/postman-collection": "^4.1.0",
45
43
  "@redocly/openapi-core": "^1.10.5",
46
44
  "chalk": "^4.1.2",
47
45
  "clsx": "^1.1.1",
@@ -50,6 +48,8 @@
50
48
  "json-schema-merge-allof": "^0.8.1",
51
49
  "lodash": "^4.17.20",
52
50
  "mustache": "^4.2.0",
51
+ "openapi-to-postmanv2": "^4.21.0",
52
+ "postman-collection": "^4.4.0",
53
53
  "slugify": "^1.6.5",
54
54
  "swagger2openapi": "^7.0.8",
55
55
  "xml-formatter": "^2.6.1"
@@ -60,5 +60,5 @@
60
60
  "engines": {
61
61
  "node": ">=14"
62
62
  },
63
- "gitHead": "64996d73bd1090d1d28399f20e332cd7b236c4c6"
63
+ "gitHead": "df9ca2a519f0b1ad22acc12dfe2b085ac4797b1d"
64
64
  }
@@ -8,15 +8,15 @@
8
8
  import path from "path";
9
9
 
10
10
  import { Globby, GlobExcludeDefault, posixPath } from "@docusaurus/utils";
11
- import Converter from "@paloaltonetworks/openapi-to-postmanv2";
12
- import sdk from "@paloaltonetworks/postman-collection";
13
- import Collection from "@paloaltonetworks/postman-collection";
14
11
  import chalk from "chalk";
15
12
  import fs from "fs-extra";
16
13
  import cloneDeep from "lodash/cloneDeep";
17
14
  import kebabCase from "lodash/kebabCase";
18
15
  import unionBy from "lodash/unionBy";
19
16
  import uniq from "lodash/uniq";
17
+ import Converter from "openapi-to-postmanv2";
18
+ import Collection from "postman-collection";
19
+ import sdk from "postman-collection";
20
20
 
21
21
  import { sampleRequestFromSchema } from "./createRequestExample";
22
22
  import { OpenApiObject, TagGroupObject, TagObject } from "./types";
@@ -5,6 +5,6 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  * ========================================================================== */
7
7
 
8
- declare module "@paloaltonetworks/openapi-to-postmanv2" {
8
+ declare module "openapi-to-postmanv2" {
9
9
  export default any;
10
10
  }
@@ -5,6 +5,6 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  * ========================================================================== */
7
7
 
8
- declare module "@paloaltonetworks/postman-collection" {
8
+ declare module "postman-collection" {
9
9
  export default any;
10
10
  }
package/src/types.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  * ========================================================================== */
7
7
 
8
- import type Request from "@paloaltonetworks/postman-collection";
8
+ import type Request from "postman-collection";
9
9
 
10
10
  import {
11
11
  InfoObject,