After defining your API, you can generate the corresponding documentation via the command line.
GENERATOR_AUTHOR={Your Name}
in the .env
file.After generation, visit http://localhost/apidoc
to view the documentation.
If the generated result is incorrect, check whether the API configuration is properly defined.
markdown
file. Run the following command:After generation, go to storage/app/public/apidoc
to view the generated documentation files.