Commit Graph

21 Commits

Author SHA1 Message Date
5075982cd3 Rename validateArray to validateSchemaArray and specify the format in doc comment
[MAILPOET-4700]
2022-10-26 12:51:16 +02:00
c8565b1197 Add validateArray method
[MAILPOET-4700]
2022-10-26 12:51:16 +02:00
75906820e5 Reset recent changes in Validator
[MAILPOET-4700]
2022-10-26 12:51:16 +02:00
8af01c3bcb Use Rest API error codes and map them to error messages
[MAILPOET-4700]
2022-10-26 12:51:16 +02:00
5754302154 Add all errors from WordPress to the \ValidationException
[MAILPOET-4700]
2022-10-26 12:51:16 +02:00
218de96024 Fix WordPress.WP.I18n.MissingTranslatorsComment errors
[MAILPOET-4524]
2022-08-09 13:23:16 +02:00
2668af08b7 Validate regex in string pattern and object patternProperties
[MAILPOET-4195]
2022-03-30 11:29:58 +02:00
1611bbae99 Add arbitrary other fields to schema
[MAILPOET-4195]
2022-03-30 11:29:58 +02:00
065282504a Add title, description, and default fields to schema
[MAILPOET-4195]
2022-03-30 11:29:58 +02:00
6293809b1e Add strict validator service (wrapping WP REST validator)
[MAILPOET-4195]
2022-03-30 11:29:58 +02:00
28116ed14c Add schema builder helper
[MAILPOET-4195]
2022-03-30 11:29:58 +02:00
acb3378e7b Add factory for any-of WP JSON schema
[MAILPOET-4195]
2022-03-30 11:29:58 +02:00
14d2b52713 Add factory for one-of WP JSON schema
[MAILPOET-4195]
2022-03-30 11:29:58 +02:00
e6ddfb66ef Add factory for object WP JSON schema
[MAILPOET-4195]
2022-03-30 11:29:58 +02:00
acd74d3e4b Add factory for array WP JSON schema
[MAILPOET-4195]
2022-03-30 11:29:58 +02:00
e8241466da Add factory for null WP JSON schema
[MAILPOET-4195]
2022-03-30 11:29:58 +02:00
e5823dc747 Add factory for boolean WP JSON schema
[MAILPOET-4195]
2022-03-30 11:29:58 +02:00
636fd8c4dc Add factory for integer WP JSON schema
[MAILPOET-4195]
2022-03-30 11:29:58 +02:00
4d1f089be5 Add factory for number WP JSON schema
[MAILPOET-4195]
2022-03-30 11:29:58 +02:00
550a74388a Add factory for string WP JSON schema
[MAILPOET-4195]
2022-03-30 11:29:58 +02:00
1ab1f66454 Add abstract base for WP JSON schema definition
[MAILPOET-4195]
2022-03-30 11:29:58 +02:00