elsci-mocks.swagger-context.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:mvc="http://www.springframework.org/schema/mvc" xmlns:context="http://www.springframework.org/schema/context" xsi:schemaLocation="http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/mvc https://www.springframework.org/schema/mvc/spring-mvc.xsd http://www.springframework.org/schema/context https://www.springframework.org/schema/context/spring-context.xsd" default-autowire="constructor"> <!-- 1. Some configuration is in Java config, so need to enable annotation-config 2. There's also a configuration in web-app-context.xml that is generic to SpringMVC, but SpringDoc depends on it --> <context:annotation-config /> <bean class="io.elsci.springutils.SpringDocContext" /> <mvc:resources mapping="/swagger-ui/**" location="classpath:/META-INF/resources/webjars/swagger-ui/5.2.0/"> <mvc:resource-chain resource-cache="false"> <mvc:transformers> <bean class="io.elsci.springutils.SwaggerHtmlTransformer"/> </mvc:transformers> </mvc:resource-chain> </mvc:resources> <bean class="org.springdoc.webmvc.api.OpenApiWebMvcResource"/> <bean class="org.springdoc.core.properties.SpringDocConfigProperties"/> <bean class="org.springdoc.webmvc.core.service.RequestService"/> <bean class="org.springdoc.core.service.GenericParameterService"/> <bean class="org.springdoc.core.service.RequestBodyService"/> <bean class="org.springdoc.core.service.SecurityService"/> <bean class="org.springdoc.core.service.OperationService"/> <bean class="org.springdoc.core.discoverer.SpringDocParameterNameDiscoverer"/> <bean class="org.springdoc.core.service.GenericResponseService"/> <bean class="org.springdoc.core.customizers.SpringDocCustomizers"/> <bean class="org.springdoc.core.service.OpenAPIService"/> <bean class="org.springdoc.webmvc.core.providers.SpringWebMvcProvider"/> <bean class="org.springdoc.core.providers.SpringDocProviders"/> <bean class="org.springdoc.core.utils.PropertyResolverUtils"/> </beans>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy