wp-cli / restful

Unlocking the potential of the WP REST API at the command line

Home Page:https://wp-cli.org/restful/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Inject schema details into the YAML doc as comments

danielbachhuber opened this issue · comments

Editing a post looks like this:

image

YAML supports comments, so it would be cool if we injected comments from the schema about the resource into the document. For instance, any enum like status could indicate accepted values. And, of course, we can list the property description.

From #51