Skip to content

Commit 540de97

Browse files
committed
fix: fix format formatting
DX-455
1 parent 4eb0184 commit 540de97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/openapi-generator/src/openapi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ function schemaToOpenAPI(
152152
...(maxLength ? { maxLength: Number(maxLength) } : {}),
153153
...(minLength ? { minLength: Number(minLength) } : {}),
154154
...(pattern ? { pattern } : {}),
155-
...(format ? { format: `<${format}>` } : {}),
155+
...(format ? { format } : {}),
156156
};
157157
return defaultOpenAPIObject;
158158
}

0 commit comments

Comments
 (0)