Skip to content

Commit e22ad60

Browse files
committed
feat: json schema type as a separate library
1 parent bd3c498 commit e22ad60

File tree

4 files changed

+3
-111
lines changed

4 files changed

+3
-111
lines changed

src/components.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import type { PathItemObject } from "./paths";
55
import type { ReferenceObject } from "./reference";
66
import type { RequestBodyObject } from "./request-body";
77
import type { ResponseObject } from "./response";
8-
import type { SchemaObject } from "./schema";
98
import type { SecuritySchemeObject } from "./security-scheme";
9+
import type { SchemaObject } from "@omer-x/json-schema-types";
1010

1111
type HeaderObject = unknown;
1212
type CallbackObject = unknown;

src/media-type.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* eslint-disable @typescript-eslint/no-explicit-any */
22
import type { ExampleObject } from "./example";
33
import type { ReferenceObject } from "./reference";
4-
import type { SchemaObject } from "./schema";
4+
import type { SchemaObject } from "@omer-x/json-schema-types";
55

66
/**
77
* Each Media Type Object provides schema and examples for the media type identified by its key.

src/parameter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* eslint-disable @typescript-eslint/no-explicit-any */
22
import type { ExampleObject } from "./example";
33
import type { ReferenceObject } from "./reference";
4-
import type { SchemaObject } from "./schema";
4+
import type { SchemaObject } from "@omer-x/json-schema-types";
55

66
/**
77
* Describes a single operation parameter. A unique parameter is defined by a combination of a name and location.

src/schema.ts

Lines changed: 0 additions & 108 deletions
This file was deleted.

0 commit comments

Comments
 (0)