FS#66197 - [python-connexion] Should have "swagger-ui-bundle" as optdepend for "Swagger UI" to work
Attached to Project:
Community Packages
Opened by Manuel Reimer (M-Reimer) - Friday, 10 April 2020, 09:47 GMT
Last edited by Filipe Laíns (FFY00) - Friday, 10 April 2020, 16:04 GMT
Opened by Manuel Reimer (M-Reimer) - Friday, 10 April 2020, 09:47 GMT
Last edited by Filipe Laíns (FFY00) - Friday, 10 April 2020, 16:04 GMT
|
Details
Description:
Since a few versions the connexion team decided to "split off" the "Swagger UI" which is useful and often needed to test the API and the server while development. This would have to be a new package called "python-swagger-ui-bundle" and "python-connexion" should have this as "optdepend". Additional info: * package version(s) 2.6.0 Steps to reproduce: - Try to launch any connexion example. You'll get: The swagger_ui directory could not be found. Please install connexion with extra install: pip install connexion[swagger-ui] or provide the path to your local installation by passing swagger_path=<your path> |
This task depends upon
Closed by Filipe Laíns (FFY00)
Friday, 10 April 2020, 16:04 GMT
Reason for closing: Implemented
Additional comments about closing: python-connexion 2.6.0-2
Friday, 10 April 2020, 16:04 GMT
Reason for closing: Implemented
Additional comments about closing: python-connexion 2.6.0-2
https://aur.archlinux.org/packages/python-swagger_ui_bundle/
This does work to "unlock" the "Swagger UI". Once installed the message is gone and the UI works.
Either way, I am fine maintaining the package and I agree it would be a good addition so I will move it. But for future reference, please be aware this is not standard procedure.
But in the end it's up to you what you do. I've reported the "lack of features" and even prepared the package. Maybe a more appropriate answer could have been "Thank you"...