Java – import swagger into an existing project in Android studio
•
Android
Hello, I want to add the zip generated by swagger to the gradle driven Android project of Android studio. Whenever the swagger file changes, which method is the best for continuous import?
Now I'm doing it
mvn package
In the unpacked directory of the swagger UI generator, then I copied the jar generated by MVN to LIBS in the Android project. I also copied the dependencies from the generated gradle file
I'm sure someone knows how to handle the swagger in Android studio in a more elegant way
Thanks for your help.
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码