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
Taxonomies use
show_in_restto determine whether the taxonomy is accessible from/wp/v2/taxonomiesTypes use
publicto determine whether the post type is accessible from/wp/v2/types.I'd think we should use
show_in_restto determine whether a type is exposed.publicwas introduced in fb4f59bDiscovered in #1894