All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.mosip.credentialstore.api.config.CredentialStoreConfig Maven / Gradle / Ivy

package io.mosip.credentialstore.api.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import springfox.documentation.builders.PathSelectors;
import springfox.documentation.builders.RequestHandlerSelectors;
import springfox.documentation.spi.DocumentationType;
import springfox.documentation.spring.web.plugins.Docket;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@Configuration
@EnableSwagger2
public class CredentialStoreConfig {

	@Bean
	public Docket dataShareapiBean() {
		return new Docket(DocumentationType.SWAGGER_2).groupName("Credential Store").select()
				.apis(RequestHandlerSelectors.basePackage("io.mosip.credentialstore.controller"))
				.paths(PathSelectors.regex("(?!/(error|actuator).*).*")).build();

	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy