-
-
Notifications
You must be signed in to change notification settings - Fork 390
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
L5-swagger config doesn't support swagger-php option to add multiple servers / base URLs #601
Comments
@vibonacci Would you like to submit PR for this? |
I'll give it a shot 🙂 |
Specify for all routes:
or specify server for a single route
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description:
OpenApi 3.x, swagger-php and swagger-ui support multiple servers / base URLs to be defined.
However, l5-swagger.php config file will not accept an array - or anything else for that matter - to have multiple servers end up in the servers array in the open-api-docs.json.
I've tried in l5-swagger.php:
Both do not result in the proper structure:
Could support for this be added? It is quite useful.
Or this there another way to hook into the open-api-docs.json generation to add it manually in the meantime?
The text was updated successfully, but these errors were encountered: