Registry / web-framework / springfox-spring-web

springfox-spring-web

JSON →
library3.0.0javamavenunverified

JSON API documentation for Spring-based applications using Swagger.

<dependency> <groupId>io.springfox</groupId> <artifactId>springfox-spring-web</artifactId> <version>3.0.0</version> </dependency>
INSTALL
IMPORT
SIG · SPRINGFOX-SPRING-W
S
springfox-spring-web
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

Configures a Swagger 2 Docket bean for API documentation.

import springfox.documentation.spring.web.plugins.Docket; import springfox.documentation.builders.RequestHandlerSelectors; import springfox.documentation.spi.DocumentationType; public class Example { public Docket api() { return new Docket(DocumentationType.SWAGGER_2) .select() .apis(RequestHandlerSelectors.any()) .build(); } }
Debug
Known issues
gotchaSpringfox 3.0.0 is the last major release; consider migrating to SpringDoc for newer Spring Boot versions.
fix
Use SpringDoc OpenAPI for Spring Boot 3.x and above.
affects: >=3.0.0
Upgrade
Version history
3.0.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Resources
springfox-spring-web — mvn dependency:get springfox-spring-web · libregistry