composer require api
Add @ApiResource() annotation to an entity that is a resource of the API
http://localhost:8000/api
When opened in the browser, shows swagger like documentation.
Restrict Operations
Serialization Groups
ApiSubresource
Displaying subresources