Skip to content

Commit 183d1a9

Browse files
committed
fixing errors
1 parent 85efe35 commit 183d1a9

26 files changed

Lines changed: 49 additions & 49 deletions

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/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/createEndpoint.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 { ApiPageMetadata } from "../types";
98
import { create } from "./utils";
9+
import { ApiPageMetadata } from "../types";
1010

1111
type Method = Pick<ApiPageMetadata, "api">["api"]["method"];
1212
type Path = Pick<ApiPageMetadata, "api">["api"]["path"];

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 { create } from "./utils";
89
import { ApiItem } from "../types";
910
// import { createDetails } from "./createDetails";
1011
// import { createDetailsSummary } from "./createDetailsSummary";
11-
import { create } from "./utils";
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,10 +5,10 @@
55
* LICENSE file in the root directory of this source tree.
66
* ========================================================================== */
77

8-
import { MediaTypeObject, SchemaObject } from "../openapi/types";
98
import { createDescription } from "./createDescription";
109
import { createNodes } from "./createSchema";
1110
import { create } from "./utils";
11+
import { MediaTypeObject, SchemaObject } from "../openapi/types";
1212

1313
interface Props {
1414
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";
@@ -17,6 +16,7 @@ import { getRequestBody as getResponseBody } from "./createRequestSchema";
1716
// createResponseExamples,
1817
// } from "./createStatusCodes";
1918
import { create } from "./utils";
19+
import { MediaTypeObject } from "../openapi/types";
2020

2121
interface Props {
2222
style?: any;

packages/docusaurus-plugin-openapi-docs/src/markdown/createSchema.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 { SchemaObject } from "../openapi/types";
98
import { createDescription } from "./createDescription";
109
import { getQualifierMessage, getSchemaName } from "./schema";
1110
import { create } from "./utils";
11+
import { SchemaObject } from "../openapi/types";
1212

1313
const jsonSchemaMergeAllOf = require("json-schema-merge-allof");
1414

0 commit comments

Comments
 (0)