本文整理了Java中springfox.documentation.builders.ApiInfoBuilder
类的一些代码示例,展示了ApiInfoBuilder
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ApiInfoBuilder
类的具体详情如下:
包路径:springfox.documentation.builders.ApiInfoBuilder
类名称:ApiInfoBuilder
ApiInfoBuilder介绍
暂无
代码示例
代码示例来源:origin: macrozheng/mall
private ApiInfo apiInfo() {
return new ApiInfoBuilder()
.title("mall前台系统")
.description("mall前台系统")
.contact("macro")
.version("1.0")
.build();
}
}
代码示例来源:origin: flyleft/xmarket-server
private ApiInfoBuilder infoBuilder(){
return new ApiInfoBuilder().title("xmarket-server")
.version("0.1.0")
.license("MIT")
.termsOfServiceUrl("http://115.28.18.158/")
.contact(new Contact("jcala","https://github.com/jcalaz","jcalaz@163.com"));
}
private ApiKey apiKey() {
代码示例来源:origin: zhangxd1989/springboot-dubbox
/**
* api info
*
* @return ApiInfo
*/
private ApiInfo apiInfo() {
return new ApiInfoBuilder()
.title("平台 API 文档")
.build();
}
代码示例来源:origin: macrozheng/mall
private ApiInfo apiInfo() {
return new ApiInfoBuilder()
.title("mall后台系统")
.description("mall后台模块")
.contact("macro")
.version("1.0")
.build();
}
}
代码示例来源:origin: macrozheng/mall
private ApiInfo apiInfo() {
return new ApiInfoBuilder()
.title("SwaggerUI演示")
.description("Demo模块")
.contact("macro")
.version("1.0")
.build();
}
}
代码示例来源:origin: macrozheng/mall
private ApiInfo apiInfo() {
return new ApiInfoBuilder()
.title("mall搜索系统")
.description("mall搜索模块")
.contact("macro")
.version("1.0")
.build();
}
}
代码示例来源:origin: crossoverJie/cim
private ApiInfo apiInfo() {
return new ApiInfoBuilder()
.title("netty-action-zk api")
.description("netty-action-zk api")
.termsOfServiceUrl("https://crossoverJie.top")
.contact("crossoverJie")
.version("1.0.0")
.build();
}
代码示例来源:origin: crossoverJie/cim
private ApiInfo apiInfo() {
return new ApiInfoBuilder()
.title("cim-forward-route")
.description("cim-forward-route api")
.termsOfServiceUrl("http://crossoverJie.top")
.contact("crossoverJie")
.version("1.0.0")
.build();
}
代码示例来源:origin: crossoverJie/cim
private ApiInfo apiInfo() {
return new ApiInfoBuilder()
.title("sbc order api")
.description("sbc order api")
.termsOfServiceUrl("http://crossoverJie.top")
.contact("crossoverJie")
.version("1.0.0")
.build();
}
代码示例来源:origin: crossoverJie/cim
private ApiInfo apiInfo() {
return new ApiInfoBuilder()
.title("sbc order api")
.description("sbc order api")
.termsOfServiceUrl("http://crossoverJie.top")
.contact("crossoverJie")
.version("1.0.0")
.build();
}
代码示例来源:origin: stylefeng/Guns
private ApiInfo apiInfo() {
return new ApiInfoBuilder()
.title("Guns Doc")
.description("Guns Api文档")
.termsOfServiceUrl("https://gitee.com/stylefeng/guns")
.contact("stylefeng")
.version("2.0")
.build();
}
代码示例来源:origin: yu199195/hmily
private ApiInfo apiInfo() {
return new ApiInfoBuilder()
.title("Swagger API")
.description("hmily-admin 平台接口测试")
.license("Apache 2.0")
.licenseUrl("http://www.apache.org/licenses/LICENSE-2.0.html")
.termsOfServiceUrl("")
.version(VERSION)
.contact(new Contact("xiaoyu", "", "549477611@qq.com"))
.build();
}
代码示例来源:origin: forezp/SpringBootLearning
private ApiInfo apiInfo() {
return new ApiInfoBuilder()
.title("springboot利用swagger构建api文档")
.description("简单优雅的restfun风格,http://blog.csdn.net/forezp")
.termsOfServiceUrl("http://blog.csdn.net/forezp")
.version("1.0")
.build();
}
}
代码示例来源:origin: cachecats/coderiver
private ApiInfo apiInfo() {
return new ApiInfoBuilder()
.title("Coderiver 接口文档")
.description("接口文档")
.termsOfServiceUrl("https://blog.csdn.net/solocoder")
.version("1.0")
.build();
}
代码示例来源:origin: 527515025/springBoot
/**
* 创建该API的基本信息(这些基本信息会展现在文档页面中)
* 访问地址:http://项目实际地址/swagger-ui.html
* @return
*/
private ApiInfo apiInfo() {
return new ApiInfoBuilder()
.title("Spring Boot中使用Swagger2构建RESTful APIs")
.description("更多请关注https://blog.csdn.net/u012373815")
.termsOfServiceUrl("https://blog.csdn.net/u012373815")
.contact("abel")
.version("1.0")
.build();
}
}
代码示例来源:origin: yu199195/hmily
ApiInfo apiInfo() {
return new ApiInfoBuilder()
.title("Swagger API")
.description("Springcloud分布式事务解决方案之Hmily测试体验")
.license("Apache 2.0")
.licenseUrl("http://www.apache.org/licenses/LICENSE-2.0.html")
.termsOfServiceUrl("")
.version(VERSION)
.contact(new Contact("xiaoyu", "", "549477611@qq.com"))
.build();
}
代码示例来源:origin: yu199195/myth
private ApiInfo apiInfo() {
return new ApiInfoBuilder()
.title("Swagger API")
.description("myth-admin 平台接口测试")
.license("Apache 2.0")
.licenseUrl("http://www.apache.org/licenses/LICENSE-2.0.html")
.termsOfServiceUrl("")
.version(VERSION)
.contact(new Contact("xiaoyu", "", "549477611@qq.com"))
.build();
}
代码示例来源:origin: yu199195/Raincat
ApiInfo apiInfo() {
return new ApiInfoBuilder()
.title("Swagger API")
.description("transaction-admin 平台接口测试")
.license("Apache 2.0")
.licenseUrl("http://www.apache.org/licenses/LICENSE-2.0.html")
.termsOfServiceUrl("")
.version(VERSION)
.contact(new Contact("xiaoyu", "", "549477611@qq.com"))
.build();
}
代码示例来源:origin: Exrick/xpay
private ApiInfo apiInfo() {
return new ApiInfoBuilder()
.title("XPay Api Documentation")
.description("XPay个人支付收款系统API接口文档")
.termsOfServiceUrl("http://xpay.exrick.cn/")
.contact(new Contact("Exrick", "http://blog.exrick.cn", "1012139570@qq.com"))
.version("1.0.0")
.build();
}
}
代码示例来源:origin: roncoo/spring-boot-demo
private ApiInfo apiInfo() {
return new ApiInfoBuilder()//
.title("龙果学院")// 标题
.description("spring boot 全集")// 描述
.termsOfServiceUrl("http://www.roncoo.com")//
.contact(new Contact("wujing", "http://www.roncoo.com", "297115770@qq.com"))// 联系
//.license("Apache License Version 2.0")// 开源协议
//.licenseUrl("https://github.com/springfox/springfox/blob/master/LICENSE")// 地址
.version("1.0")// 版本
.build();
}
}