How to add SWAGGER add-on in my Bitbucket account?

Sruthi Vegesna January 25, 2018

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

1 answer

0 votes
edwin
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 25, 2018

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>
Sruthi Vegesna January 26, 2018

Will try this, thanks, Edwin.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events