You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Encountered the following when navigating to swagger page.
[InvalidArgumentException] Invalid yml: `/config/swagger.yml`. yml must exist on the file system.
An attempt was made to create `{omitted}/config/swagger.yml`, but permission was denied or the
file path is bad. Either fix the file system permissions, create the file and/or both. Generally this
value should be placed in your projects webroot directory.
To Reproduce
Steps to reproduce the behavior:
Load up swagger page with non-writable permissions to config/swagger.yml
Expected behavior
Swagger page loads
Error message is incorrect, file should actually exist in config/
Version and Platform (please complete the following information):
OS/Platform: Linux
CakePHP: ^5.0
SwaggerBake Version: ^3.0
Additional context
Work around to this is giving write permissions to /config/swagger.yml. Fix will be adjusting the logic to not care about write permissions.
The text was updated successfully, but these errors were encountered:
Describe the bug
Encountered the following when navigating to swagger page.
To Reproduce
Steps to reproduce the behavior:
config/swagger.yml
Expected behavior
config/
Version and Platform (please complete the following information):
^5.0
^3.0
Additional context
Work around to this is giving write permissions to
/config/swagger.yml
. Fix will be adjusting the logic to not care about write permissions.The text was updated successfully, but these errors were encountered: