File tree 7 files changed +7
-7
lines changed
packages/docusaurus-plugin-openapi-docs/src/openapi
7 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ import sdk from "postman-collection";
20
20
21
21
import { sampleRequestFromSchema } from "./createRequestExample" ;
22
22
import { OpenApiObject , TagGroupObject , TagObject } from "./types" ;
23
- import { loadAndResolveSpec } from "./utils/loadAndResolveSpec" ;
24
23
import { isURL } from "../index" ;
25
24
import {
26
25
ApiMetadata ,
@@ -31,6 +30,7 @@ import {
31
30
SidebarOptions ,
32
31
TagPageMetadata ,
33
32
} from "../types" ;
33
+ import { loadAndResolveSpec } from "./utils/loadAndResolveSpec" ;
34
34
35
35
/**
36
36
* Convenience function for converting raw JSON to a Postman Collection object.
Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ import chalk from "chalk";
13
13
// @ts -ignore
14
14
import { convertObj } from "swagger2openapi" ;
15
15
16
- import { OpenAPIParser } from "./services/OpenAPIParser" ;
17
16
import { OpenApiObject } from "../types" ;
17
+ import { OpenAPIParser } from "./services/OpenAPIParser" ;
18
18
19
19
function serializer ( replacer : any , cycleReplacer : any ) {
20
20
var stack : any = [ ] ,
Original file line number Diff line number Diff line change 6
6
* LICENSE file in the root directory of this source tree.
7
7
* ========================================================================== */
8
8
9
+ import pkg from "../lerna.json" ;
9
10
import { getOutput } from "./utils/get-output" ;
10
11
import { printBanner , printSpacer } from "./utils/print-utils" ;
11
- import pkg from "../lerna.json" ;
12
12
13
13
const ORG = "PaloAltoNetworks" ;
14
14
const REPO = "docusaurus-openapi-docs" ;
Original file line number Diff line number Diff line change 6
6
* LICENSE file in the root directory of this source tree.
7
7
* ========================================================================== */
8
8
9
+ import pkg from "../lerna.json" ;
9
10
import { getOutput } from "./utils/get-output" ;
10
11
import { printBanner , printSpacer } from "./utils/print-utils" ;
11
- import pkg from "../lerna.json" ;
12
12
13
13
const ORG = "PaloAltoNetworks" ;
14
14
const REPO = "docusaurus-openapi-docs" ;
Original file line number Diff line number Diff line change 6
6
* LICENSE file in the root directory of this source tree.
7
7
* ========================================================================== */
8
8
9
- import { getOutput } from "./utils/get-output" ;
10
9
import { version } from "../lerna.json" ;
10
+ import { getOutput } from "./utils/get-output" ;
11
11
12
12
// Makes the script crash on unhandled rejections instead of silently
13
13
// ignoring them. In the future, promise rejections that are not handled will
Original file line number Diff line number Diff line change @@ -10,10 +10,10 @@ import { execSync } from "child_process";
10
10
import fs from "fs" ;
11
11
import path from "path" ;
12
12
13
+ import { version } from "../lerna.json" ;
13
14
import { createDryRun } from "./utils/dry-run" ;
14
15
import { getOutput } from "./utils/get-output" ;
15
16
import { printBanner } from "./utils/print-utils" ;
16
- import { version } from "../lerna.json" ;
17
17
18
18
const ORG = "PaloAltoNetworks" ;
19
19
const REPO = "docusaurus-openapi-docs" ;
Original file line number Diff line number Diff line change @@ -10,10 +10,10 @@ import { execSync } from "child_process";
10
10
import fs from "fs" ;
11
11
import path from "path" ;
12
12
13
+ import { version } from "../lerna.json" ;
13
14
import { createDryRun } from "./utils/dry-run" ;
14
15
import { getOutput } from "./utils/get-output" ;
15
16
import { printBanner } from "./utils/print-utils" ;
16
- import { version } from "../lerna.json" ;
17
17
18
18
const ORG = "PaloAltoNetworks" ;
19
19
const REPO = "docusaurus-openapi-docs" ;
You can’t perform that action at this time.
0 commit comments