springfox.documentation.spring.web.DescriptionResolver Java Examples

The following examples show how to use springfox.documentation.spring.web.DescriptionResolver. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ParametersReader.java    From Resource with GNU General Public License v3.0 5 votes vote down vote up
@Autowired
public ParametersReader(DescriptionResolver descriptions, TypeNameExtractor nameExtractor, TypeResolver resolver)
{
    this.nameExtractor = nameExtractor;
    this.resolver = resolver;
    this.descriptions = descriptions;
}
 
Example #2
Source File: ApiParamReader.java    From swagger-more with Apache License 2.0 4 votes vote down vote up
@Autowired
public ApiParamReader(DescriptionResolver resolver) {
    this.resolver = resolver;
}
 
Example #3
Source File: ApiMethodReader.java    From swagger-more with Apache License 2.0 4 votes vote down vote up
@Autowired
public ApiMethodReader(DescriptionResolver resolver, TypeNameExtractor typeNameExtractor) {
    this.resolver = resolver;
    this.typeNameExtractor = typeNameExtractor;
}
 
Example #4
Source File: SpringfoxSupportConfiguration.java    From swagger-more with Apache License 2.0 4 votes vote down vote up
@Bean
public DescriptionResolver descriptionResolver(Environment environment) {
    return new DescriptionResolver(environment);
}
 
Example #5
Source File: SwaggerConfiguration.java    From ci-droid with Apache License 2.0 4 votes vote down vote up
@Autowired
public ModelEnhancement(DescriptionResolver descriptions) {
    this.descriptions = descriptions;
}
 
Example #6
Source File: DefaultParamPlugin.java    From BlogManagePlatform with Apache License 2.0 4 votes vote down vote up
@Autowired
public DefaultParamPlugin(DescriptionResolver descriptions, EnumTypeDeterminer enumTypeDeterminer, SwaggerProperties properties) {
	this.descriptions = descriptions;
	this.useCustomerizedPluggins = properties.getUseCustomerizedPluggins();
}
 
Example #7
Source File: DefaultEndPointPlugin.java    From BlogManagePlatform with Apache License 2.0 4 votes vote down vote up
@Autowired
public DefaultEndPointPlugin(DescriptionResolver descriptions, SwaggerProperties properties) {
	this.descriptions = descriptions;
	this.useCustomerizedPluggins = properties.getUseCustomerizedPluggins();
}
 
Example #8
Source File: SecurityRolesReader.java    From yes-cart with Apache License 2.0 4 votes vote down vote up
@Autowired
public SecurityRolesReader(final DescriptionResolver descriptions) {
    this.descriptions = descriptions;
}
 
Example #9
Source File: Swagger2.java    From yes-cart with Apache License 2.0 4 votes vote down vote up
@Bean
public OperationBuilderPlugin securityScanner(final DescriptionResolver descriptionResolver) {
    return new SecurityRolesReader(descriptionResolver);
}