Skip to content

Commit 506cc4b

Browse files
authored
Upgrade dependencies (#741)
* upgrade deps * address linter errors
1 parent 88a8640 commit 506cc4b

25 files changed

+3631
-2978
lines changed

packages/docusaurus-plugin-openapi-docs/src/markdown/createAuthentication.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
* LICENSE file in the root directory of this source tree.
66
* ========================================================================== */
77

8-
import { OAuthFlowObject, SecuritySchemeObject } from "../openapi/types";
98
import { createDescription } from "./createDescription";
109
import { create, guard } from "./utils";
10+
import { OAuthFlowObject, SecuritySchemeObject } from "../openapi/types";
1111

1212
export function createAuthentication(securitySchemes: SecuritySchemeObject) {
1313
if (!securitySchemes || !Object.keys(securitySchemes).length) return "";

packages/docusaurus-plugin-openapi-docs/src/markdown/createCallbacks.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
* LICENSE file in the root directory of this source tree.
66
* ========================================================================== */
77

8-
import { MediaTypeObject } from "../openapi/types";
9-
import { ApiItem } from "../types";
108
import { createDescription } from "./createDescription";
119
import { createMethodEndpoint } from "./createMethodEndpoint";
1210
import { createRequestBodyDetails } from "./createRequestBodyDetails";
1311
import { createStatusCodes } from "./createStatusCodes";
1412
import { create } from "./utils";
13+
import { MediaTypeObject } from "../openapi/types";
14+
import { ApiItem } from "../types";
1515

1616
interface Props {
1717
callbacks: ApiItem["callbacks"];

packages/docusaurus-plugin-openapi-docs/src/markdown/createContactInfo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
* LICENSE file in the root directory of this source tree.
66
* ========================================================================== */
77

8-
import { ContactObject } from "../openapi/types";
98
import { create, guard } from "./utils";
9+
import { ContactObject } from "../openapi/types";
1010

1111
export function createContactInfo(contact: ContactObject) {
1212
if (!contact || !Object.keys(contact).length) return "";

packages/docusaurus-plugin-openapi-docs/src/markdown/createLicense.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
* LICENSE file in the root directory of this source tree.
66
* ========================================================================== */
77

8-
import { LicenseObject } from "../openapi/types";
98
import { create, guard } from "./utils";
9+
import { LicenseObject } from "../openapi/types";
1010

1111
export function createLicense(license: LicenseObject) {
1212
if (!license || !Object.keys(license).length) return "";

packages/docusaurus-plugin-openapi-docs/src/markdown/createLogo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
* LICENSE file in the root directory of this source tree.
66
* ========================================================================== */
77

8-
import { LogoObject } from "../openapi/types";
98
import { create, guard } from "./utils";
9+
import { LogoObject } from "../openapi/types";
1010

1111
export function createLogo(
1212
logo: LogoObject | undefined,

packages/docusaurus-plugin-openapi-docs/src/markdown/createParamsDetails.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
* LICENSE file in the root directory of this source tree.
66
* ========================================================================== */
77

8-
import { ApiItem } from "../types";
98
import { createDetails } from "./createDetails";
109
import { createDetailsSummary } from "./createDetailsSummary";
1110
import { create } from "./utils";
11+
import { ApiItem } from "../types";
1212

1313
interface Props {
1414
parameters: ApiItem["parameters"];

packages/docusaurus-plugin-openapi-docs/src/markdown/createRequestBodyDetails.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
* LICENSE file in the root directory of this source tree.
66
* ========================================================================== */
77

8-
import { MediaTypeObject } from "../openapi/types";
98
import { createRequestSchema } from "./createRequestSchema";
9+
import { MediaTypeObject } from "../openapi/types";
1010

1111
interface Props {
1212
title: string;

packages/docusaurus-plugin-openapi-docs/src/markdown/createRequestSchema.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
* LICENSE file in the root directory of this source tree.
66
* ========================================================================== */
77

8-
import { MediaTypeObject } from "../openapi/types";
98
import { createDescription } from "./createDescription";
109
import { createDetails } from "./createDetails";
1110
import { createDetailsSummary } from "./createDetailsSummary";
1211
import { createNodes } from "./createSchema";
1312
import { create, guard } from "./utils";
13+
import { MediaTypeObject } from "../openapi/types";
1414

1515
interface Props {
1616
style?: any;

packages/docusaurus-plugin-openapi-docs/src/markdown/createResponseSchema.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
* LICENSE file in the root directory of this source tree.
66
* ========================================================================== */
77

8-
import { MediaTypeObject } from "../openapi/types";
98
import { createDescription } from "./createDescription";
109
import { createDetails } from "./createDetails";
1110
import { createDetailsSummary } from "./createDetailsSummary";
@@ -16,6 +15,7 @@ import {
1615
createResponseExamples,
1716
} from "./createStatusCodes";
1817
import { create, guard } from "./utils";
18+
import { MediaTypeObject } from "../openapi/types";
1919

2020
interface Props {
2121
style?: any;

packages/docusaurus-plugin-openapi-docs/src/markdown/createSchema.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77

88
import * as prettier from "prettier";
99

10-
import { SchemaObject } from "../openapi/types";
1110
import { createNodes } from "./createSchema";
11+
import { SchemaObject } from "../openapi/types";
1212

1313
describe("createNodes", () => {
1414
it("should create readable MODs for oneOf primitive properties", () => {

0 commit comments

Comments
 (0)