-
-
Notifications
You must be signed in to change notification settings - Fork 934
feat: deactivate NelmioApiDocBundle by default #623
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
feat: deactivate NelmioApiDocBundle by default #623
Conversation
Simperfit
commented
Jul 14, 2016
Q | A |
---|---|
Bug fix? | no |
New feature? | no |
BC breaks? | yes |
Deprecations? | yes |
Tests pass? | yes |
Fixed tickets | #538 |
License | MIT |
Doc PR | update doc |
a323fe3
to
4d45672
Compare
I'm -1 to drop the NelmioApiDoc bridge. It works, is stable and easy to maintain. A lot of work has been done on it. I prefer to keep it. Does this composer trick work on Windows? When installing the lib as a dependency of another project? |
I'm +1 on dropping the bridge or make it disabled by default. But I tested to remove and download it, but it will be too much work for windows too. I prefer to keep it inside too. edit: Exactly, I have worked a long time on that too, let make it false by default and drop it when there will be no support anymore. |
587e2b0
to
693cf81
Compare
693cf81
to
09b9e39
Compare
The bridge is already disabled by default since api-platform/api-platform#113 was merged. |
+1
But it is embed inside api-platform's source code? |
You mean the route is not there by default... Anyway, if we have no interest in maintaining it anymore, we should just remove it altogether. My 2c... |
The Swagger UI integration is pretty recent and not as tested as the NelmioApiDoc integration. I propose to keep it but disabled by default and to deprecate it at the same time than NelmioApiDoc. |
I'd keep NelmioApiDoc too. Still, it bother's me a lot having swagger-ui sources inside api-platform's source code. |
It's just the dist. What we can do is to add a script to download automatically the last version when we do a |
That's the only way I see to get the latest tag:
Won't it be best to let the user install swagger-ui instead if he wants to? Maybe you want it inside api-platform/api-platform but IMO it's not necessary in the core. |
+1 to have it in the standard edition but not in the core. |
Thank you @Simperfit |
…o-api-doc-bundle feat: deactivate NelmioApiDocBundle by default