Forum Discussion

Leandro's avatar
Leandro
New Contributor
5 years ago
Solved

Required parameter in function comments don't throw exception ?

/** * @SWG\Get( * path="/chargeability/{entity_type}/{id}/{weekStart}/{weekEnd}", * summary="Get chargeability data for a team", * tags={"Chargeability"}, * @SWG\Parameter(name="ent...
  • Leandro's avatar
    Leandro
    5 years ago

    Hello

     

    Yes I am using php-swagger.
    One of my coleague explained to me that it was just to generate a documentation and it does no validation.

    So required parameter in function comments don't throw an exception

     

    Have a nice day