Forum Discussion

Leandro's avatar
Leandro
New Contributor
6 years ago

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
    6 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