本文整理匯總了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();
}