I am trying to make the Restful API documentation in PHP swagger, what i did before is that i changed the json to work out, now i know we can make the json by making PHP files and using swagger notation. I did check the Pet.php example and i get the code but i don't know how to execute the file to get the json api documentation which i can link with my Swagger UI. I read the documentation but it is so confusing and i dont know how to get through this problem can anyone help please. Here are the link i study but to no worth.
http://zircote.com/swagger-php/using_swagger.html
Swagger-PHP for generating JSON file for Swagger-UI
can anyone tell me step by step how to generate the api documentation in json. I be very thankful to him thanks