Registry / web-framework / springfox-spring-webmvc

springfox-spring-webmvc

JSON →
library3.0.0javamavenunverified

Springfox Spring WebMvc generates JSON API documentation for Spring MVC based applications using Swagger.

<dependency> <groupId>io.springfox</groupId> <artifactId>springfox-spring-webmvc</artifactId> <version>3.0.0</version> </dependency>
INSTALL
IMPORT
SIG · SPRINGFOX-SPRING-W
S
springfox-spring-webmvc
web-frameworkjavav3.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Docket
springfox.documentation.spring.web.plugins.Docket

Minimal usage of Springfox Docket for Swagger documentation.

import springfox.documentation.spring.web.plugins.Docket; import springfox.documentation.builders.RequestHandlerSelectors; public class Example { public static void main(String[] args) { Docket docket = new Docket(DocumentationType.SWAGGER_2) .select() .apis(RequestHandlerSelectors.any()) .build(); System.out.println(docket); } }
Debug
Known issues
breakingSpringfox 3.0.0 has compatibility issues with Spring Boot 2.6+ due to path matching changes.
fix
Use Springfox 3.0.0 with Spring Boot 2.5.x or upgrade to springdoc-openapi.
affects: 3.0.0
Upgrade
Version history
3.0.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
6
Amazon
1
Resources
springfox-spring-webmvc — mvn dependency:get springfox-spring-webmvc · libregistry