title: how to make multiple parameters optional in path param in rest api jersey
body: <p>i want path url like api/entity/{entity}/file/{file}/tag/{tagId} in which want to keep entity, file optional. i have referred <a href="https://stackoverflow.com/questions/32765804/optional-params-in-rest-api-request-using-jersey-2-21/32778643">Optional params in REST API request using Jersey 2.21</a>. but this only working for api/{entity}/{file}/tag/{tagId}. but i want url api/entity/{entity}/file/{file}/tag/{tagId}. can someone help me in this.</p>