This repository was archived by the owner on Sep 24, 2018. It is now read-only.

Description
Taxonomies use show_in_rest to determine whether the taxonomy is accessible from /wp/v2/taxonomies
Types use public to determine whether the post type is accessible from /wp/v2/types.
I'd think we should use show_in_rest to determine whether a type is exposed. public was introduced in fb4f59b
Discovered in #1894