Skip to content

Commit 5c049b5

Browse files
committed
refactor(getType): move from openapi3 to core/utils
Signed-off-by: J3m5 <5523410+J3m5@users.noreply.github.com>
1 parent 9d32422 commit 5c049b5

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed
Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
import inflection from "inflection";
22
import type { FieldType } from "../Field.js";
33

4-
export default function getType(
5-
openApiType: string,
6-
format?: string,
7-
): FieldType {
4+
export function getType(openApiType: string, format?: string): FieldType {
85
if (format) {
96
switch (format) {
107
case "int32":

0 commit comments

Comments
 (0)