yo plugin-wp:endpoint <include-name>
Creates a skeleton WP-API endpoint class for your plugin, refer here for more info on how to build out your endpoint.
yo plugin-wp:endpoint <include-name>
Creates a skeleton WP-API endpoint class for your plugin, refer here for more info on how to build out your endpoint.