mark endpoint and template params as required