æ°è¦ããã¸ã§ã¯ãã®Laravel製APIã«Swaggerã試ãã¦ã¿ãã®ã§ã¡ã¢ã§ã swagger.io swagger-phpãcomposerã§è¿½å $ composer require zircote/swagger-php å®è£ ã¡ã¢ github.com www.marcoraddatz.com ãã¡ãçãåèã«ããã¦ããã ããªãããã£ã¦ã¿ã¾ã åºæ¬æ å ±ã®ä½æ app/swagger.phpãä½æ <?php /** * @SWG\Swagger( * host="192.168.33.41/", * schemes={"http", "https"}, * @SWG\Info( * version="0.9.0", * title="api documentã®ãã¹ã", * ), * ) * @SWG\Tag( * name="user", * description="ã¦ã¼ã¶ã¼ã«
{{#tags}}- {{label}}
{{/tags}}