[wp-trac] [WordPress Trac] #53079: Rest API Json Schema is invalid

WordPress Trac noreply at wordpress.org
Mon Feb 20 18:56:22 UTC 2023


#53079: Rest API Json Schema is invalid
---------------------------+-----------------------------------------------
 Reporter:  bukowa         |       Owner:  rachelbaker
     Type:  defect (bug)   |      Status:  assigned
 Priority:  low            |   Milestone:  Awaiting Review
Component:  REST API       |     Version:  5.7.1
 Severity:  trivial        |  Resolution:
 Keywords:  reporter-      |     Focuses:  docs, rest-api, coding-standards
  feedback close           |
---------------------------+-----------------------------------------------
Changes (by rachelbaker):

 * keywords:  needs-patch dev-feedback needs-testing needs-docs => reporter-
     feedback close
 * owner:  (none) => rachelbaker
 * status:  new => assigned
 * severity:  critical => trivial
 * priority:  normal => low


Comment:

 The WordPress REST API schema follows the [https://json-
 schema.org/specification.html JSON-schema draft 6 specification]. I tested
 a few endpoint schemas with some online validators and they passed.

 In addition to the OPTIONS request, you can view a site's schema and
 endpoint documentation via the `/wp-json` url path for any WordPress site
 and find the links to other registered endpoint schemas.

 It is unclear the form of support you are seeking in this ticket. Can you
 share what was flagged as invalid and what error/validation output you
 receive?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53079#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list