-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Permalink leads to a 404 #3
Comments
Yep sorry it should be /index.php/wp-json/apigenerate/swagger |
@JoelStickney I haven't tested multisite - please let me know how that goes if you can? |
Perfect. :) It also works (mostly) with multisite, unless it's a subdirectory install. Then the subdirectory of the sub-site should be placed in the 'basePath' rather than the 'host' section of the swagger file (like it is now). Adjusting that manually works perfectly - but it's something to consider for automating. |
example.com/index.php/apigenerate/swagger
translates to
example.com/apigenerate/swagger
and then 404s.
Attempted to generate the file on a single site install, and multisite. Same issue on both.
The text was updated successfully, but these errors were encountered: