Schema generator support for string patterns and formats #54
Labels
Module: Schemas
Issues pertaining to the @mcsb/schemas package.
Priority: Low
Issues which aren't critical, security-related, or significantly beneficial to users.
Type: Enhancement
Issues that are about a way in which the application can be improved.
I'd like the schema generator to parse, and maybe even infer string value patterns. For example,
purchaserUuid
should have a UUID regex pattern, but if it doesn't, it should add it. Or, if it has a pattern but doesn't match, it should print an error for the merger to correct.The
gen-json-schema
package supports inferring string formats, but it's currently disabled due to some false positives. Maybe it supports more fine-grain control?The text was updated successfully, but these errors were encountered: