Issues/21881 document resource type

Add documentation for resource_type rest endpoint.

This fixes up YARD to display classes and adds static files from api_docs.