Hi,
I need to enable Swagger for my work and I tried searching in my "Find integrations" as an Admin. I couldn't find Swagger there. How can I add and what is the URL to install a new add-on.
Thanks,
Sruthi
Hi Sruthi,
For Swagger, you'll have to add it to your project. Adding the dependency in your pom.xml and then creating a SwaggerConfig.java in which you specify which controller it will use as its base.
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger2</artifactId> <version>2.6.1</version> </dependency>
<dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger-ui</artifactId> <version>2.6.1</version> </dependency>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.