/** * @SWG\Post(path="/createbetsnap/get_all_game_data", * tags={"Create Betsnaps Section"}, * summary="This function used to get selected tournament schedule date and other master data like size, prize structure and entry fee", * description="", * operationId="get_all_game_data", * produces={"application/json"}, * consumes={"application/json"}, * @SWG\Parameter( * name="Login_Session_Key", * in="header", * description="The Login Session Key of logged in user.", * required=true, * type="string" * ), * @SWG\Parameter( * name="game_tournament", * in="formData", * description="The game tournament id array field.", * required=true, * type="array", * @SWG\Items(type="string") * ), * @SWG\Response(response=200, description="success message with data array"), * @SWG\Response(response=500, description="Invalid username/password supplied") * ) */
{"game_tournament":["18","8"]}
game_tournament:8,18Hi Girish,
It looks like you’re looking to describe a body parameter and not a formData one, with an object as a payload.
You can take a look at the online petstore to see samples.
--
You received this message because you are subscribed to the Google Groups "Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email to swagger-swaggers...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.