Registry / web-framework / springfox-boot-starter

springfox-boot-starter

JSON →
library3.0.0javamavenunverified

JSON API documentation for Spring-based applications using Swagger.

<dependency> <groupId>io.springfox</groupId> <artifactId>springfox-boot-starter</artifactId> <version>3.0.0</version> </dependency>
INSTALL
IMPORT
SIG · SPRINGFOX-BOOT-STA
S
springfox-boot-starter
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 Docket bean.

import springfox.documentation.spring.web.plugins.Docket; import springfox.documentation.builders.RequestHandlerSelectors; import springfox.documentation.spi.DocumentationType; public class Config { public Docket api() { return new Docket(DocumentationType.SWAGGER_2) .select() .apis(RequestHandlerSelectors.any()) .build(); } }
Debug
Known issues
breakingSpringfox is in maintenance mode; consider using SpringDoc OpenAPI.
fix
Replace with org.springdoc:springdoc-openapi-starter-webmvc-ui.
affects: >=3.0.0
Upgrade
Version history
3.0.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
12
Resources
springfox-boot-starter — mvn dependency:get springfox-boot-starter · libregistry