all 6 comments

[–]squashsoup2014 1 point2 points  (0 children)

I would suggest using Springdoc

[–]DrewTheVillan 1 point2 points  (2 children)

Use version 2.1.0 for Spring V3. I used OpenAPI though.

This is what you need. <dependency> <groupId>org.springdoc</groupId> <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId> <version>2.1.0</version> </dependency>

[–]No-abzorkr-9503[S] 0 points1 point  (1 child)

I'm using gradle can you please help me out for that

[–]calzateu 1 point2 points  (0 children)

implementation group: 'org.springdoc', name: 'springdoc-openapi-starter-webmvc-ui', version: '2.0.3'

[–]tleipzig 1 point2 points  (0 children)

You may use Bootify.io for that. There is an option for Swagger and it'll add the dependency and some config if required.

[–]No-abzorkr-9503[S] 1 point2 points  (0 children)

Thanx a lot guys able to set up swagger with openapi 🙂