Package com.bytedesk.starter.config
Class Knife4jConfig
java.lang.Object
com.bytedesk.starter.config.Knife4jConfig
http://127.0.0.1:9003/doc.html#/home
https://doc.xiaominfo.com/docs/quick-start
https://github.com/xiaoymin/knife4j?tab=readme-ov-file
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.swagger.v3.oas.models.OpenAPI
根据@Tag 上的排序,写入x-order
-
Field Details
-
version
-
port
-
-
Constructor Details
-
Knife4jConfig
public Knife4jConfig()
-
-
Method Details
-
customOpenApi
@Bean @Primary public io.swagger.v3.oas.models.OpenAPI customOpenApi()根据@Tag 上的排序,写入x-order- Returns:
- the global open api customizer
-