Skip to content

Commit

Permalink
fix: fix format formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ad-world committed Jun 6, 2024
1 parent 4eb0184 commit 540de97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/openapi-generator/src/openapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ function schemaToOpenAPI(
...(maxLength ? { maxLength: Number(maxLength) } : {}),
...(minLength ? { minLength: Number(minLength) } : {}),
...(pattern ? { pattern } : {}),
...(format ? { format: `<${format}>` } : {}),
...(format ? { format } : {}),
};
return defaultOpenAPIObject;
}
Expand Down

0 comments on commit 540de97

Please sign in to comment.