Should separate controllers be used to render HTML and JSON results for same entity types?

mix phx.gen.json with --web option.