当前位置: 首页>>代码示例>>Java>>正文


Java SpringSwaggerConfig类代码示例

本文整理汇总了Java中com.mangofactory.swagger.configuration.SpringSwaggerConfig的典型用法代码示例。如果您正苦于以下问题:Java SpringSwaggerConfig类的具体用法?Java SpringSwaggerConfig怎么用?Java SpringSwaggerConfig使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


SpringSwaggerConfig类属于com.mangofactory.swagger.configuration包,在下文中一共展示了SpringSwaggerConfig类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: testCustomSpringMvnPlugin

import com.mangofactory.swagger.configuration.SpringSwaggerConfig; //导入依赖的package包/类
@Test
public void testCustomSpringMvnPlugin() throws Exception {
	// Given
	SpringSwaggerConfig springSwaggerConfig = new SpringSwaggerConfig();

	// When
	CustomSwaggerSpringMvcPlugin unit = new CustomSwaggerSpringMvcPlugin(springSwaggerConfig);

	// Then
	assertNotNull(unit);
}
 
开发者ID:ifnul,项目名称:ums-backend,代码行数:12,代码来源:CustomSwaggerSpringMvcPluginTest.java

示例2: swaggerSpringMvcPlugin

import com.mangofactory.swagger.configuration.SpringSwaggerConfig; //导入依赖的package包/类
/**
 * Swagger Spring MVC configuration
 */
@Bean
public SwaggerSpringMvcPlugin swaggerSpringMvcPlugin(SpringSwaggerConfig springSwaggerConfig) {
    return new SwaggerSpringMvcPlugin(springSwaggerConfig)
            .apiInfo(apiInfo())
            .genericModelSubstitutes(ResponseEntity.class)
            .includePatterns(DEFAULT_INCLUDE_PATTERN);
}
 
开发者ID:stryng,项目名称:JQuaternion,代码行数:11,代码来源:SwaggerConfiguration.java

示例3: setSpringSwaggerConfig

import com.mangofactory.swagger.configuration.SpringSwaggerConfig; //导入依赖的package包/类
/**
 * Required to autowire SpringSwaggerConfig
 */
@Autowired
public void setSpringSwaggerConfig(SpringSwaggerConfig springSwaggerConfig) {
	this.springSwaggerConfig = springSwaggerConfig;
}
 
开发者ID:funtl,项目名称:framework,代码行数:8,代码来源:SwaggerConfig.java

示例4: setSpringSwaggerConfig

import com.mangofactory.swagger.configuration.SpringSwaggerConfig; //导入依赖的package包/类
@Autowired
public void setSpringSwaggerConfig(SpringSwaggerConfig springSwaggerConfig) {
    this.springSwaggerConfig = springSwaggerConfig;
}
 
开发者ID:dovier,项目名称:coj-web,代码行数:5,代码来源:SwaggerSpringMvcConfig.java

示例5: setSpringSwaggerConfig

import com.mangofactory.swagger.configuration.SpringSwaggerConfig; //导入依赖的package包/类
@Autowired
public void setSpringSwaggerConfig(SpringSwaggerConfig springSwaggerConfig) {
   this.springSwaggerConfig = springSwaggerConfig;
}
 
开发者ID:alex-bretet,项目名称:cloudstreetmarket.com,代码行数:5,代码来源:AnnotationConfig.java

示例6: CustomSwaggerSpringMvcPlugin

import com.mangofactory.swagger.configuration.SpringSwaggerConfig; //导入依赖的package包/类
/**
 * Default constructor.
 * @param springSwaggerConfig springSwaggerConfig.
 */
public CustomSwaggerSpringMvcPlugin(final SpringSwaggerConfig springSwaggerConfig) {
	super(springSwaggerConfig);
	directModelSubstitute(XMLGregorianCalendar.class, Date.class);
}
 
开发者ID:ifnul,项目名称:ums-backend,代码行数:9,代码来源:CustomSwaggerSpringMvcPlugin.java

示例7: setSpringSwaggerConfig

import com.mangofactory.swagger.configuration.SpringSwaggerConfig; //导入依赖的package包/类
/**
 * Required to autowire SpringSwaggerConfig
 */
@Autowired
public void setSpringSwaggerConfig(SpringSwaggerConfig springSwaggerConfig)
{
    this.springSwaggerConfig = springSwaggerConfig;
}
 
开发者ID:toulezu,项目名称:play,代码行数:9,代码来源:MySwaggerConfig.java

示例8: setSpringSwaggerConfig

import com.mangofactory.swagger.configuration.SpringSwaggerConfig; //导入依赖的package包/类
@Autowired
public void setSpringSwaggerConfig(SpringSwaggerConfig springSwaggerConfig) {
	this.springSwaggerConfig = springSwaggerConfig;
}
 
开发者ID:janloeffler,项目名称:aws-utilization-monitor,代码行数:5,代码来源:SwaggerConfig.java

示例9: setSpringSwaggerConfig

import com.mangofactory.swagger.configuration.SpringSwaggerConfig; //导入依赖的package包/类
@Autowired
public void setSpringSwaggerConfig(SpringSwaggerConfig springSwaggerConfig) {

    this.springSwaggerConfig = springSwaggerConfig;
}
 
开发者ID:Contargo,项目名称:iris,代码行数:6,代码来源:SwaggerConfig.java

示例10: setSpringSwaggerConfig

import com.mangofactory.swagger.configuration.SpringSwaggerConfig; //导入依赖的package包/类
@Autowired
public void setSpringSwaggerConfig(SpringSwaggerConfig springSwaggerConfig) {
    this.springSwaggerConfig = springSwaggerConfig;        
}
 
开发者ID:rohitghatol,项目名称:springboot-docker-swagger,代码行数:5,代码来源:SwaggerConfig.java

示例11: setSpringSwaggerConfig

import com.mangofactory.swagger.configuration.SpringSwaggerConfig; //导入依赖的package包/类
/**
 * Required to autowire SpringSwaggerConfig.
 */
@Autowired
public void setSpringSwaggerConfig(SpringSwaggerConfig springSwaggerConfig) {
    this.springSwaggerConfig = springSwaggerConfig;
}
 
开发者ID:asdf2014,项目名称:yuzhouwan,代码行数:8,代码来源:MySwaggerConfig.java

示例12: setSpringSwaggerConfig

import com.mangofactory.swagger.configuration.SpringSwaggerConfig; //导入依赖的package包/类
@Autowired
public void setSpringSwaggerConfig( SpringSwaggerConfig springSwaggerConfig )
{
	this.springSwaggerConfig = springSwaggerConfig;
}
 
开发者ID:wimdeblauwe,项目名称:springboot-swagger-test,代码行数:6,代码来源:SwaggerConfiguration.java

示例13: setSpringSwaggerConfig

import com.mangofactory.swagger.configuration.SpringSwaggerConfig; //导入依赖的package包/类
@Autowired
   public void setSpringSwaggerConfig(SpringSwaggerConfig springSwaggerConfig) {
this.springSwaggerConfig = springSwaggerConfig;
   }
 
开发者ID:AnujaK,项目名称:restfiddle,代码行数:5,代码来源:SwaggerConfig.java

示例14: setSpringSwaggerConfig

import com.mangofactory.swagger.configuration.SpringSwaggerConfig; //导入依赖的package包/类
/**
 * Required to autowire SpringSwaggerConfig
 */
@Autowired
public void setSpringSwaggerConfig(SpringSwaggerConfig springSwaggerConfig) {
    this.springSwaggerConfig = springSwaggerConfig;
}
 
开发者ID:stephenzr,项目名称:swagger-integration-examples,代码行数:8,代码来源:RecordShopSwaggerConfig.java

示例15: setSwaggerConfig

import com.mangofactory.swagger.configuration.SpringSwaggerConfig; //导入依赖的package包/类
@Autowired
public void setSwaggerConfig(SpringSwaggerConfig springSwaggerConfig) {
    this.springSwaggerConfig = springSwaggerConfig;
}
 
开发者ID:CarloMicieli,项目名称:trenako-v2,代码行数:5,代码来源:SwaggerConfig.java


注:本文中的com.mangofactory.swagger.configuration.SpringSwaggerConfig类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。