[wp-trac] [WordPress Trac] #50300: Multi type on args properties returning invalid error message when not validated
WordPress Trac
noreply at wordpress.org
Sun Jun 7 21:51:00 UTC 2020
#50300: Multi type on args properties returning invalid error message when not
validated
-------------------------------------------------+-------------------------
Reporter: pentatonicfunk | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.5
Component: REST API | Version: 5.3
Severity: normal | Resolution:
Keywords: json-schema needs-patch needs-unit- | Focuses: rest-api
tests |
-------------------------------------------------+-------------------------
Comment (by TimothyBlynJacobs):
@pentatonicfunk Definitely. I'd like to introduce a class like
`WP_REST_Schema_Validator`. Something that could also support the
recommended [https://json-schema.org/draft/2019-09/json-schema-
core.html#rfc.section.10 JSON Schema Output Formats].
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50300#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list