本文整理汇总了Java中springfox.documentation.builders.ApiInfoBuilder类的典型用法代码示例。如果您正苦于以下问题:Java ApiInfoBuilder类的具体用法?Java ApiInfoBuilder怎么用?Java ApiInfoBuilder使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ApiInfoBuilder类属于springfox.documentation.builders包,在下文中一共展示了ApiInfoBuilder类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: apiInfo
import springfox.documentation.builders.ApiInfoBuilder; //导入依赖的package包/类
private ApiInfo apiInfo() {
Contact contact = new Contact("sdcuike", "https://github.com/sdcuike", "[email protected]");
return new ApiInfoBuilder()
.title("spring boot practice API")
.description("练习spring-boot")
.termsOfServiceUrl("https://github.com/sdcuike/spring-boot-practice")
.contact(contact)
.license("Apache License Version 2.0")
.licenseUrl("https://www.apache.org/licenses/LICENSE-2.0")
.version("1.0.0")
.build();
}
示例2: apiInfo
import springfox.documentation.builders.ApiInfoBuilder; //导入依赖的package包/类
private ApiInfo apiInfo() {
return new ApiInfoBuilder()
.title("API")
.description("Some description")
.version("1.0")
.build();
}
示例3: apiInfo
import springfox.documentation.builders.ApiInfoBuilder; //导入依赖的package包/类
private ApiInfo apiInfo() {
return new ApiInfoBuilder()
.title(title)
.description(description)
.license(LICENSE_TEXT)
.version(SWAGGER_API_VERSION)
.build();
}
示例4: apiInfo
import springfox.documentation.builders.ApiInfoBuilder; //导入依赖的package包/类
private ApiInfo apiInfo() {
return new ApiInfoBuilder()
.title("Spring Boot中使用Swagger2构建RESTful APIs")
.description("详细描述参照源码 https://github.com/514840279/danyuan-application")
.termsOfServiceUrl("http://danyuan.wang")
.contact("")
.version("1.0")
.build();
}
示例5: apiInfo
import springfox.documentation.builders.ApiInfoBuilder; //导入依赖的package包/类
ApiInfo apiInfo() {
return new ApiInfoBuilder()
.title("Swaggy Jenkins")
.description("Jenkins API clients generated from Swagger / Open API specification")
.license("")
.licenseUrl("http://unlicense.org")
.termsOfServiceUrl("http://github.com/cliffano/swaggy-jenkins")
.version("0.1.0")
.contact(new Contact("","", "[email protected]"))
.build();
}
示例6: apiInfo
import springfox.documentation.builders.ApiInfoBuilder; //导入依赖的package包/类
private ApiInfo apiInfo() {
return new ApiInfoBuilder()
.title("Web QQ API")
.description("Web QQ API Swagger")
.contact("[email protected]")
.version("1.0.0")
.build();
}
示例7: apiInfo
import springfox.documentation.builders.ApiInfoBuilder; //导入依赖的package包/类
private ApiInfo apiInfo() {
Contact contact=new Contact("Binux",
"http://git.oschina.net/binu/xbin-store","[email protected]");
return new ApiInfoBuilder()
.title(title + " RESTful APIs")
.description(title + " RESTful API详情!")
.contact(contact)
.version("1.0")
.build();
}
示例8: apiInfo
import springfox.documentation.builders.ApiInfoBuilder; //导入依赖的package包/类
private ApiInfo apiInfo() {
return new ApiInfoBuilder()
.title("CISCore REST Interface API Doc.")
.description("This is the CISCore REST Interface API Documentation made with Swagger.")
.contact("Thomas Obritzhauser")
.version("1.0")
.build();
}
示例9: apiInfo
import springfox.documentation.builders.ApiInfoBuilder; //导入依赖的package包/类
private ApiInfo apiInfo() {
return new ApiInfoBuilder()
.title("Spring Boot 中使用 Swagger2 构建 RESTful APIs ")
.description("")
.termsOfServiceUrl("http://ekozhan.com/kbase-doc/")
.contact(new Contact("ekozhan", "http://ekozhan.com/", "[email protected]"))
.version("1.0")
.build();
}
示例10: apiInfo
import springfox.documentation.builders.ApiInfoBuilder; //导入依赖的package包/类
private ApiInfo apiInfo() {
return new ApiInfoBuilder()
.title("LushX's RESTful APIs")
.description("apply for HH")
.version("1.0")
.build();
}
示例11: apiInfo
import springfox.documentation.builders.ApiInfoBuilder; //导入依赖的package包/类
private ApiInfo apiInfo() {
return new ApiInfoBuilder()
.title("API接口文档")
.description("帅帅哒康师傅")
.contact("demo")
.version("1.0")
.build();
}
示例12: apiInfo
import springfox.documentation.builders.ApiInfoBuilder; //导入依赖的package包/类
private ApiInfo apiInfo() {
return new ApiInfoBuilder()
.title("Spring Boot中使用Swagger2构建RESTful APIs, Swagger2文档正在完善中...")
.description("asofdate 系统开发平台")
.termsOfServiceUrl("http://www.asofdate.com")
.contact("hzwy23")
.version("1.0")
.build();
}
示例13: apiInfo
import springfox.documentation.builders.ApiInfoBuilder; //导入依赖的package包/类
private ApiInfo apiInfo() {
return new ApiInfoBuilder()
.title("Quark BBS 接口文档")
.contact("LHR")
.version("1.0")
.build();
}
示例14: apiInfo
import springfox.documentation.builders.ApiInfoBuilder; //导入依赖的package包/类
private ApiInfo apiInfo() {
ApiInfoBuilder apiInfoBuilder = new ApiInfoBuilder();
apiInfoBuilder.title("Generic REST API");
apiInfoBuilder.description("Simple REST API Generation");
apiInfoBuilder.version("0.0.1-SNAPSHOT");
apiInfoBuilder.contact(new Contact("Ferdi Sonmezay", "https://ferdisonmezay.com", "[email protected]"));
apiInfoBuilder.license("GNU GENERAL PUBLIC LICENSE, Version 3");
apiInfoBuilder.licenseUrl("https://www.gnu.org/licenses/gpl-3.0.en.html");
return apiInfoBuilder.build();
}
示例15: getApiInfo
import springfox.documentation.builders.ApiInfoBuilder; //导入依赖的package包/类
private ApiInfo getApiInfo() {
return new ApiInfoBuilder()
.title(title)
.version(version)
.build();
}