A good starting point in creating a custom default controller is the DefaultController which is an entry point for all the requests that come into your api. The table below contains the name of the methods and the corresponding media types served by them:
| Name | Media type served |
|---|---|
respondWithHtml |
text/html |
respondWithGeoJson |
appilcation/geo+json |
respondWithOther |
application/json, text/turtle, application/rdf+xml and text/csv |
respondWithCsvm |
application/csvm+json |
If you want to remove the support for any media type you can simply
remove it from the produces value or remove the entire request mapping.