•  
      request #11363 Method arguments should map the @url definition
    Infos
    #11363
    Nicolas Terray (nterray)
    2018-04-26 16:07
    2018-04-05 15:06
    11684
    Details
    Method arguments should map the @url definition
    If in a REST resource you declare a route with a parameter, for example @url OPTIONS {id}, then the signature of the method should also have $id parameter. If this is not the case, then a warning is displayed, polluting the generation of the swagger.json and forcing developers to refresh the Tuleap page that is using REST API.

    This does not occurs on production since in this case display_errors is off.
    API
    All
    Empty
    • [ ] enhancement
    • [x] internal improvement
    Empty
    Stage
    Empty
    Closed
    2018-04-06
    Attachments
    Empty
    References

    Follow-ups