From Swagger 1 to 3
Hello, I'm working on a legacy project which was done on Wordnik library.
<!-- Swagger API listing resource -->
<bean id="swaggerResourceJSON" class="com.wordnik.swagger.jaxrs.listing.ApiListingResourceJSON"/>
<!-- Swagger writers -->
<bean id="resourceWriter" class="com.wordnik.swagger.jaxrs.listing.ResourceListingProvider"/>
<bean id="apiWriter" class="com.wordnik.swagger.jaxrs.listing.ApiDeclarationProvider"/>
<jaxrs:server address="/swagger" id="swagger">
<jaxrs:serviceBeans>
<ref bean="swaggerResourceJSON"/>
</jaxrs:serviceBeans>
<jaxrs:providers>
<ref bean="resourceWriter"/>
<ref bean="apiWriter"/>
</jaxrs:providers>
</jaxrs:server>
<bean id="swaggerConfig" class="com.wordnik.swagger.jaxrs.config.BeanConfig">
<property name="resourcePackage" value="com.foo.service"/>
<property name="basePath" value="/foo/V1/"/>
<property name="title" value="Foo Integration - Foo Services"/>
<property name="scan" value="true"/>
</bean>
This was setup via XML.
So my question is are there classes that can directly replace "swaggerConfig", "apiWriter", "swaggerResourceJSON" and "resourceWriter" in this case. Becase all other files work, talking about index.jsp/hmtl and so on.
Thank you